hello everyone, after a search i found a similar case which gordon had answered.
http://osgeo-org.1560.n6.nabble.com/Not-able-execute-ZoomToView-pXCO-pYCO-pScale-true-in-Fusion-version-of-AIM-td4989597.html in this case the proposed solution was to use a function, just like this one function ZoomToView(x, y, scale, refresh) { //OR var Fusion = top.iFrameMap.Fusion var mapWidget = Fusion.getWidgetById('Map'); if (mapWidget && mapWidget.isMapLoaded()) { var extent = mapWidget.getExtentFromPoint(x, y, scale); mapWidget.setExtents(extent); } } the function works, but the extents are way off the point. <http://osgeo-org.1560.n6.nabble.com/file/n5007774/Capture2.png> is there a way to ensure the extent is a valid one? thank you for your help. Best Regards, Wilson H. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Error-while-zooming-in-fusion-layout-tp5007257p5007774.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
