[mapguide-users] Script not working
Mal
mfernandes at rand.com
Tue Jul 22 14:46:00 PDT 2014
Mapguide v2.5.2.7949 on Win7/64
In my web layout I have the following script.
myMap=parent.parent.mapFrame;
var X=myMap.GetCenter().X;
var Y=myMap.GetCenter().Y;
var Scale=prompt("Enter Scale:","");
Scale=parselnt(Scale);
myMap.ZoomToView(X,Y,Scale,true);
My script runs, because I am prompted with a dialog box.
I enter the scale followed with a return, but nothing happens. My zoom scale
does not change.
what can I do to debug. How can I trace where the issue is.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Script-not-working-tp5152607.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list