10 Oct 2011 01:50
Openlayers image layer enhancements
Hi, recently I have been fixing the Maps extension openlayers image feature to use images as maps again (the feature was broken around Maps 1.0). Besides fixing the feature for the next version of maps, I also have implemented the following features: * Additional parameters on layer pages (unit, maxScale, minScale) to better control how the map is being displayed. * Markers can have a group, each group is represented as one overlay layer and has its own marker colour (for default markers). * the display_ functions/tags using a layer: page store this in the database (didn't require any database extension!), layer: pages show which pages are using the layer and pages using a layer will be purged when the layer changes. now I am writing because I am planing on implementing some more features which I need some opinion on: -------- 1. I don't like that layer: pages only allows layer definitions but no wiki text around it. So I thought about wrapping all into one tag, Jeroen suggested something like this: <layer type="image" service="openlayers"> width=foo height=bar ... spam=baz </layer>(Continue reading)
RSS Feed