-
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
serialized styles output #16
Comments
ol-mapbox-style generates style functions, not a style descriptor that can be serialized (because OpenLayers does not support such a style descriptor). It would be possible to generate the JavaScript code for a style function, but that would make debugging a nightmare. |
But it would make maps more efficient, and cut out any call to mapbox. |
There are no calls to mapbox if you don't request any mapbox resources. |
That's good news, and makes sense even at this point on a Friday! |
It would be nice to be able to generate a regular OL Style descriptor as a string. Could then just be copied into the code and wouldn´t make it necessary to deliver your lib in production (at least for static styles).
Do you think that would make sense?
The text was updated successfully, but these errors were encountered: