[mapguide-users] Error while zooming in fusion layout

Wilson Herrera wherrera at pccadpanama.com
Mon Oct 8 14:15:21 PDT 2012


hi everyone.

i am trying to implement a button which is a call to the current coordinates
of the device; this button is just  an implementation of a invokescript
button.

i am able to catch the x,y, and precision for the point, but when i try to
use this info to zoom i get an error:

ReferenceError: ZoomToView is not defined
http://localhost/mapserver2013/fusion/lib/fusionSF-compressed.js/eval/seq/77
Line 7

i use the following script:

var x = getlong;
var y = getlat;
var scale = 2000;

ZoomToView(x,y, 2000,true);

i am currently using the fusion layout.

do you guys know how to solve this problem? thanks for your help.

Best Regards,

Wilson H




--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Error-while-zooming-in-fusion-layout-tp5007257.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list