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.
At the moment styles for GeoJSON is defined in the
propertiesattribute of a GeoJSON feature as a dictionary calledstyle. The keys understyleare 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
stylesdictionary directly under the feature so not to collide with user defined keys underproperties.Also style inheritance might be something to consider, defining a
styleproperty in the parentFeatureCollectionwould set a default style for it'sFeatureelements.