[mapguide-users] web layout script

GordonL gordon.luckett at arrowgeomatics.com
Thu Dec 4 05:23:55 PST 2014


This works for me:

var myMap=parent.parent.mapFrame; 
var X=myMap.GetCenter().X; 
var Y=myMap.GetCenter().Y; 

var Scale=prompt("Enter Scale: ",""); 

var newScale=parseInt(Scale); 

ZoomToView(X,Y,Scale,true); 




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/web-layout-script-tp5175525p5176465.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list