[mapguide-users] Re: zoom to selected item

sklein s.klein at menden.de
Thu Feb 17 09:40:35 EST 2011


function ZoomToView(x, y, scale, refresh) {
    var Fusion = window.top.Fusion;
    var mapWidget = Fusion.getWidgetById(mapWidgetId);
    if (mapWidget && mapWidget.isMapLoaded()) {
        var extent = mapWidget.getExtentFromPoint(x, y, 1000);
        mapWidget.setExtents(extent);
    }
}
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/zoom-to-selected-item-tp6031757p6036157.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list