[mapguide-users] Re: Accessing Fusion commands from parent window
Wilson Herrera
wherrera at pccadpanama.com
Mon Nov 29 18:06:50 EST 2010
thanks for the advice, it has been very helpful.
i found a way to refresh the map, but its the only functionality i have
accesed so far.
GordonL gave me an idea and i was able to acesss the map widget and refresh
it.
var mapControl = window.frames.maps.Fusion.getWidgetById('Map');
mapControl.redraw();
to access the task pane or the legend pane i tried to use
mapControl.showTaskPane();
but it fails.
i have been looking inside MapguideViewerApi.js, but i couldn't find how to
marquee zoom or zoom in or zoom out, neither how to pan.
maybe there is a reference of what calls can i do and from which widget?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Accessing-Fusion-commands-from-parent-window-tp5775258p5786357.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list