Hey Kenneth, thanks for your solution. I should better do things more pramatically ...
best regards, stoff Kenneth Skovhede, GEOGRAF A/S wrote: > > Get a hold of the selection xml (either through server code or the > javascript call GetSelectionXml()). > The xml has a structure like this (not the actual layout, but close > enough): > <Selection> > <Layer id="..."> > <Class id="..."> > <ID>...</ID> > </Class> > </Layer> > <Layer id="..."> > <Class id="..."> > <ID>...</ID> > </Class> > </Layer> > </Selection> > > Simply remove the <Layer> tag that you don't want and save back the xml > or call SetSelectionXml. > > Regards, Kenneth Skovhede, GEOGRAF A/S > > > > stoff skrev: >> Hi, >> >> how do I clear the selection of a single layer, while preserving the >> selection of the others? >> >> Best regards, >> >> stoff >> > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://n2.nabble.com/clear-selection-of-one-layer-tp2171557p2172854.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
