[fusion-users] Calling ZoomToSelection

Marc Pfister mpfister at enplan.com
Fri Sep 26 18:49:20 EDT 2008


So how do I execute one widget from another one? I want the MapServer
search widget to zoom to the selection by calling the ZoomToSelection
widget. Is there a way to trigger a widget in Fusion similar to
activating one with activateWidget? Otherwise, what is the appropriate
JS syntax?

 

Fusion.Widget.ZoomToSelection.prototype.execute() at least gets me to
the ZoomToSelection function, but then I get an error about
this.GetMap() so I must be blowing it in the function scope.

 

n
Marc Pfister
Geospatial Data Manager
ENPLAN
mpfister at enplan.com
530/221-0440 x108
530/221-6963 Fax

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20080926/be79e23a/attachment.html


More information about the fusion-users mailing list