[mapguide-users] how to check off layer in legend panel automatically

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Thu Nov 12 02:55:49 EST 2009


There is nothing in MapGuide that supports that right away.

You can try to look at the legend.js file and see if there is a place 
where you can hook
into the legend UI and capture the check events.

Regards, Kenneth Skovhede, GEOGRAF A/S



NISHA P skrev:
>
>
> As you have said, i grouped  the layers..But i did not get what i 
> want..i will explain my question..
>
> I have 3 layers that are invisible at startup...when i click top layer 
> in the legend, that  layer is display in the map..
>
> after that when i click  2nd layer in the legend, that layer is 
> displayed but can't see the layer (1st layer is on top of 2nd layer)
>
> How to check off 1st layer automatically when i click 2nd layer in the 
> legend panel??
>
>
>
>
>
>
> Thanks and regards
> Nisha
>
> On Wed, Nov 11, 2009 at 6:03 PM, JamesDudden 
> <jamesdudden at blueyonder.co.uk <mailto:jamesdudden at blueyonder.co.uk>> 
> wrote:
>
>
>     You need to group the layers that you want to control together in
>     the map
>     layer control.
>
>     -----
>     http://www.software-matters.co.uk Software Matters  -
>     http://www.software-matters.co.uk/bespoke-database-design.html Bespoke
>     Database  and Software Solutions
>     --
>     View this message in context:
>     http://n2.nabble.com/how-to-check-off-layer-in-legend-panel-automatically-tp3984754p3986130.html
>     Sent from the MapGuide Users mailing list archive at Nabble.com.
>     _______________________________________________
>     mapguide-users mailing list
>     mapguide-users at lists.osgeo.org <mailto:mapguide-users at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
> -- 
> Nisha
> nisha at iiitmk.ac.in <mailto:nisha at iiitmk.ac.in>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20091112/f0592ccf/attachment.html


More information about the mapguide-users mailing list