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:
- ModelLayer with geojson source supports materialOverrides paint property.
- 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