-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support "nested" styles #4000
Comments
An alternative option would be to add a separate API to add points, lines and polygons. These could be internally persisted by GL JS automatically via an implicit source. GL native already supports this for feature parity with Mapkit. |
@lucaswoj Could these style-layers be added dynamically? That would be very helpful. In our product we have a base "meta-layer", typically something like "streets-v9", containing multiple "mapbox layers" and on top of that we load our own dynamically generated "meta-layers" (containing tile sources and "mapbox layers") and GeoJSON layers for rendering of selection, drawing etc. This combined with inline base64 encoded icons would be awesome ... |
Hi all, exist some developments on this feature? |
Hi, any updates on this??? |
Is this essentially a duplicate of #4225? |
We support style imports now. |
Your link goes to an internal repository. Is this the feature you’re referring to? |
migrated from mapbox/DEPRECATED-mapbox-gl#25 by @lucaswoj
Injecting custom layers into Mapbox core styles is a common use case and confusing to our users, especially when the user wants to swap out the core style and keep the custom layers.
Have we considered supporting "nested styles"? These would help our users build a solid mental model of their stylesheet, encapsulate core style implementation details, allow new kinds of style modularity, and fit nicely into Studio.
The text was updated successfully, but these errors were encountered: