Skip to content

Dose ModelLayer with geojson source support materialOverrides paint property? #13609

@linze99

Description

@linze99

Motivation

I have a set of models such as street lights, traffic lights,
I need to use materialOverrides paint property to render different effect, such as different light color,light status like on/off.
I'm not using ModelSource, but the model layer will fetch each glb file included in uri property for every model.
I'm thinking about 2 solutions:

  1. ModelLayer with geojson source supports materialOverrides paint property.
  2. Add "model-id" support to ModelLayer with Model Source, so that the same model file will be fetched only once.

Design Alternatives

Design

Mock-Up

Concepts

Implementation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions