You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
At the moment styles for GeoJSON is defined in the
properties
attribute of a GeoJSON feature as a dictionary calledstyle
. The keys understyle
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 underproperties
.Also style inheritance might be something to consider, defining a
style
property in the parentFeatureCollection
would set a default style for it'sFeature
elements.The text was updated successfully, but these errors were encountered: