-
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
Read GeoJSON style from file as default #198
Comments
It won't be default but a function for the simple-spec will be available. See #266. |
We should also implement a way to add (See #6 (comment)) |
It would be great to have popup capability added to geojson / choropleth layers. Eager to see |
Closing this as we never found a champion to write the simple style. |
@ocefpaf Sorry I just followed the rabbit hole of issues to get to this point. Does this mean there is no implementation for popups on geojson layers? |
I plan to work on this soon, unless someone beats me to it. |
Any news on this issue? |
We have a template (geojson_style.js) for styling the GeoJSON object.
The template is filled here and that usually happens with the default values. But if the GeoJSON file has
properties
defined a simplefunction style_1(feature) {return feature.properties;}
would suffice and, in same cases, that is the expected behavior.I would like to discuss here the possibility of making "reading from properties" the default behavior instead of the default values we have and leave the
kwargs
as an override option.The text was updated successfully, but these errors were encountered: