Thanks Jackie for your suggestion.
  The Fusion.getWidgetById(<>).activate() does NOT seem to work with MGE
2011.
With some trial and error the Fusion.getWidgetsByType(<>)[].activate() seems
to be working.
For eg. to Zoom Out the code will be:
   Fusion.getWidgetsByType("ZoomOnClick")[1].activate()
and Zoom In the code will be:
   Fusion.getWidgetsByType("ZoomOnClick")[0].activate()

My concern is by using the above code am I creating a potential scenario
that it could be broken in future releases of MapGuide/MGE ?!  Esp. since
this is entirely undocumented and internal to the Fusion viewer.

Any comments would be appreciated.

-Praveen


--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Invoke-AJAX-viewer-map-functions-in-Fusion-viewer-tp6221160p6221781.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

Reply via email to