-
Notifications
You must be signed in to change notification settings - Fork 118
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
Create Vector Tile Layers Automatically #11
Comments
I think a higher level API does make sense, but I assume you'll need to pass it at least the Mapbox Style url and an ol.Map instance. I have thought about a higher level API as well (but haven't implemented it). I was envisioning this to be a separate library that depends on |
I have finished a restructuring of the library. This project is now the place for a higher level API. The basic functionality has moved into https://npmjs.com/package/mapbox-to-ol-style. |
I am now working on this. |
Done. 13fbd1f. |
For users that just want to display a Mapbox GL style JSON with
ol-mapbox-style
there could be a more convenient higher level API.Perhaps something like this. Ideally just passing the style URL.
Would this be something that would fit into this repo? Otherwise I would put it into another repo which includes
ol-mapbox-style
.In Maputnik right now I generate the vector sources dynamically (it is quite a hack though) for
ol-mapbox-style
but I would also like that users have this functionality when they use the style with OL3.This would be an additional higher level API that takes care of:
The text was updated successfully, but these errors were encountered: