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. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
