You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Add API to MGLSource to discover source layers #6285
To help the developer discover the layers of a source we could add a new method on MGLSource for getting an MGLSourceLayer by identifier or a property that returns all the source layers.
Activity
jfirebaugh commentedon Sep 7, 2016
This isn't possible with current Mapbox Web APIs -- source JSON doesn't include a list of possible layers. There's only prose documentation.
jfirebaugh commentedon Sep 7, 2016
I take that back, there is
vector_layerskey -- but it isn't standardized or documented, and the core implementation doesn't parse or store it.stale commentedon Nov 24, 2018
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.