[mapguide-users] Zoom to selected feature point doesn't work

amorsell andy.morsell at autodesk.com
Fri Jan 31 10:49:38 PST 2014

We recently modified ZoomToSelection.js for a customer to work-around this
problem.  Here is the modified file.  The code changes start around line 75. 
Please note that this is for AIMS 2013 which is MGOS 2.4 so please be
careful when replacing the js file for whatever version you're using.  Also,
you will need to edit your Fusion template application definition index.html
to reference fusion.js instead of fusionSF-compressed.js or the widget
changes will not be picked up.  Or you can attempt to recompile
fusionSF-compressed.js using this process:

This was a quick and dirty fix with the scale factor hard-coded.  This could
fairly easily be parametrized in the ZoomToSelection widget instead so that
you can change it on a layout by layout basis instead of it being site-wide

View this message in context: http://osgeo-org.1560.x6.nabble.com/Zoom-to-selected-feature-point-doesn-t-work-tp5095926p5101280.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list