[mapguide-users] Select specific layer and feature by passing value to flexible layout (AIMS2014)
gordon.luckett at arrowgeomatics.com
Sun Jun 2 09:24:36 PDT 2013
LAYER, KEYNAME and KEY to a PHP page to get the selected XML, and then I
just run a setselectionxml function in fusion, which will automatically zoom
(Not for points - the Fusion API changed for points in the setselectionXML
and ignores the extents if it's a point)
The trick its to wait to call the function until the map is loaded.
I just set a timeout and check if:
var mapWidget = Fusion.getWidgetById('Map');
if (mapWidget && mapWidget.isMapLoaded())
View this message in context: http://osgeo-org.1560.x6.nabble.com/Select-specific-layer-and-feature-by-passing-value-to-flexible-layout-AIMS2014-tp5055669p5057358.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users