[mapguide-users] Re: Using MG Viewer API in Custom Toolbar Frame Outside Viewer Frame

GordonL gordon.luckett at arrowgeomatics.com
Wed Mar 2 14:37:31 EST 2011


Sure, use the API reference:
http://www.osgeo.org/files/mapguide/docs/2.0/viewerapi.html#mainframe_executemapaction

For example, to put in pan mode in your "main" frame.

top.main.ExecuteMapAction(1);

or to clear the selection:

top.main.GetMapFrame().ClearSelection();



--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Using-MG-Viewer-API-in-Custom-Toolbar-Frame-Outside-Viewer-Frame-tp6082216p6082315.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list