[mapguide-users] Capture Legend events

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Tue May 27 13:54:15 EDT 2008


All the javascript code is avalible in:
C:\program 
files\autodesk\MapGuide2009\WebServerExtensions\www\viewerfiles\legendui.templ

I think you want to intercept the ChangeVisibility() function call.

Regards, Kenneth Skovhede, GEOGRAF A/S



Chris O'Leary skrev:
>
> Good day all.
>
>  
>
> I'm new to Mapguide and am trying to work something out with Mapguide 
> Enterprise and the Ajaxviewer. I have a requirement to capture the 
> event that occurs when a user clicks to select/deselect a layer in the 
> legend. My viewer resides in an iframe. Ideally this code will reside 
> on the client and only postback if needed.
>
>  
>
> Can I capture the click event? Code snippet or pointer to a url would 
> be greatly appreciated, thanks.
>
>  
>
>  
>
> --
>
> Chris
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20080527/9cabeeca/attachment.html


More information about the mapguide-users mailing list