= Styler = [[TOC]] We need a GUI to allow users to do Styling of different Layers: * Polygon Feature layers * Shapefile layers * Theme layers The Style is stored in the per-config link table with the layer, so that the same data can be styled differently for different users. It is a JSON structure: * https://github.com/flavour/eden/blob/master/modules/s3db/gis.py#L2007 == Basic == * Read current setting * Predefined palette * Updates Layer Setting * Updates All Features in realtime * http://dev.openlayers.org/docs/files/OpenLayers/Style-js.html * addRules() * applySymbolizer() * Initial applying of style to features not possible via feature.layer.style as not yet set * Save of setting occurs with rest of Map save (also provide explicit option within widget or do automatically?) == Advanced == * http://gxp.opengeo.org/master/examples/histogram.html * Add ability to select colours/opacity/etc: * http://gxp.opengeo.org/master/examples/symbolizer.html * + Colour wheel * Add ability to select number of breaks * options: Linear, Log, which can be manually adjusted We should be able to integrate [http://colorbrewer2.org ColorBrewer] for colour ramps: Sequential vs Diverging We should be able to break up the data in various ways, like QGIS can: * http://multimedia.journalism.berkeley.edu/tutorials/qgis-basics-journalists/choropleth/