Styler
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:
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 ColorBrewer for colour ramps: Sequential vs Diverging
We should be able to break up the data in various ways, like QGIS can:
Last modified
11 years ago
Last modified on 08/09/13 13:26:58
Note:
See TracWiki
for help on using the wiki.