[fusion-dev] Mapguide Tiled Map Legends - redundant checkboxes
pspencer at dmsolutions.ca
pspencer at dmsolutions.ca
Fri Nov 7 08:29:08 EST 2008
Thanks Zac. As discussed elsewhere on the list, I think we need to figure out what is the best way to represent base layers vs overlays vs singleTile layers vs tiled layers. Part of the confusion here is that what I typically think of as a Map is really just a Layer in OpenLayers terms. OpenLayers has no concept of turning on and off layers within Layers, so Fusion provides this for MapGuide and MapServer OpenLayers layers. This complicates things.
1) I think the legend really needs to be redone based on hooking into OpenLayers underlying layer mechanism rather than Fusion's mechanism (I need to review this carefully).
2) I think that base layers should be grouped using radio buttons somehow, just as the OpenLayers LayerSwitcher does
3) I think that layers that are singleTile true can have controls for individual layers within the OpenLayers layer
4) I think that singleTile false layers should not be controllable.
To make things even better, I know that some people think that there should be mutually exclusive layers in a MapGuide map and those should be represented as radio buttons regardless of the overall architecture.
A complete refactoring of the legend code seems beyond the scope of what I have planned for the 2.0 release, but I'd really like to come up with a set of specs for a more complete legend that is fully functional and useful.
Comments welcome on this.
-----Original Message-----
From: "Zac Spitzer" <zac.spitzer at gmail.com>
Sent: Thursday, November 6, 2008 9:10pm
To: fusion-dev at lists.osgeo.org
Subject: [fusion-dev] Mapguide Tiled Map Legends - redundant checkboxes
Looking at 1.1 with a sheboygan sample suign the tiled map ( it's not in the sample,
you need to create one)
Individual layers are presented with check boxes which has can have no effect with a tiled layer
Also when there is only one baselayer group, it doesn't need to have a checkbox as you can't
turn off the base layer
I filed a bug [http://trac.osgeo.org/fusion/ticket/163] http://trac.osgeo.org/fusion/ticket/163
--
Zac Spitzer -
[http://zacster.blogspot.com] http://zacster.blogspot.com
[http://ennoble.dreamhosters.com/mapguide-central/] http://ennoble.dreamhosters.com/mapguide-central/
+61 405 847 168
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-dev/attachments/20081107/cb3c93d2/attachment.html
More information about the fusion-dev
mailing list