[mapguide-users] Problem with SetSelectionXml

GordonL gordon.luckett at arrowgeomatics.com
Tue May 24 07:44:05 PDT 2016


Don't forget to save the map prior to showing the XML

$map->Save();

What are you doing with the XML?  

Perhaps you need to use fusion (JavaScript) to manually select and zoom?

 var Fusion = parent.Fusion;
 var mapWidget = Fusion.getWidgetById('Map');
 if (mapWidget && mapWidget.isMapLoaded()) {
        mapWidget.setSelection(*selectionXml*, true);
 }



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-with-SetSelectionXml-tp5266912p5267999.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list