[mapguide-users] Re: Add Mapguide layer to OpenLayers

Jackie Ng jumpinjackie at gmail.com
Wed Sep 28 22:51:37 EDT 2011


That is because the Create()'d runtime map was Save()'d with a custom map
name generated by PHP's uniqid(). The map name is inferred from the name of
the resource id used to store the runtime map state.

http://trac.osgeo.org/fusion/browser/trunk/layers/MapGuide/php/LoadMap.php#L57

You just have to ensure whatever name you save your created runtime map as,
is the same name you pass pack to OpenLayers, along with the other map
parameters.

- Jackie

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Add-Mapguide-layer-to-OpenLayers-tp6841213p6842555.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list