Skip to content
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

Settle on a GeoJSON styling standard #5

Open
icetan opened this issue Feb 19, 2013 · 0 comments
Open

Settle on a GeoJSON styling standard #5

icetan opened this issue Feb 19, 2013 · 0 comments

Comments

@icetan
Copy link
Member

icetan commented Feb 19, 2013

At the moment styles for GeoJSON is defined in the properties attribute of a GeoJSON feature as a dictionary called style. The keys under style are the same as the HTML5 canvas API for styling shapes.

I have had a look at GeoJSON CSS and simplestyle and think something like GeoJSON CSS would be a good standard.

Preferably placing the styles dictionary directly under the feature so not to collide with user defined keys under properties.

Also style inheritance might be something to consider, defining a style property in the parent FeatureCollection would set a default style for it's Feature elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant