[mapguide-users] Not able execute ZoomToView(pXCO, pYCO, pScale, true) in Fusion version of AIM

GordonL gordon.luckett at arrowgeomatics.com
Wed Jul 25 15:34:29 PDT 2012


function ZoomToView(x, y, scale, refresh) {
    var Fusion = top.Fusion;
    //OR var Fusion = top.iFrameMap.Fusion
    var mapWidget = Fusion.getWidgetById('Map');
    if (mapWidget && mapWidget.isMapLoaded()) {
        var extent = mapWidget.getExtentFromPoint(x, y, scale);

View this message in context: http://osgeo-org.1560.n6.nabble.com/Not-able-execute-ZoomToView-pXCO-pYCO-pScale-true-in-Fusion-version-of-AIM-tp4989597p4990899.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list