For anyone whose is interested, and I doubt there are many, and empty
selection object is required like this:

MgSelection sel = new MgSelection();
sel.Save(resService, mapName);
map.Save(resService, mapId);

I discovered this by looking at the server access log which showed this:

<2011-10-06T15:29:48>   8164            ::1     Anonymous
GetResourceData.1.0.0:3(Session:aba90a18-f060-11e0-8000-485b394503be_en_7F0000010AFC0AFB0AFA//Cid_Map_Flex.Selection,RuntimeData,)
Failure

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Add-Mapguide-layer-to-OpenLayers-tp6841213p6867560.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

Reply via email to