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

Reply via email to