Version 1 (modified by 12 years ago) ( diff ) | ,
---|
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
Note:
See TracWiki
for help on using the wiki.