Hi All, The question has been asked before but unfortunately was unanswered (http://osgeo-org.1560.n6.nabble.com/Zoom-Restriction-Google-Map-td41872 54.html), so I'll ask it again. I use MapGuide Maestro to set up my application definition. I've been going through Generic.js, which is executed when the Google Maps layer is added, to see what kind of Options (i.e. minScale, maxScale, maxExtent, and numZoomLevels) can be added to the Extension element of the Maps in the Mapgroup. I've also been going through Map.js to see out what can be added to the Extension element of the MapWidget (i.e. Scales, MaxScale, MaxExtent, and, ConstrainMapExtent). ConstrainMapExtent and numZoomLevels do work but the rest seem to haven no affect. Checking with Firebug, the values are properly processed but they seem to be overruled by something. I've also been trying to fiddle around with the resolutions but I can't seen to make that work either. So, if anybody has any idea about how to fix this, much appreciated. Kind regards, Leandros _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Restrict zoom to max extent overlay layer with Google Maps as base layer
Berg, Leandros van den [FGSBV] Mon, 27 Feb 2012 08:48:26 -0800
