[mapguide-users] clear selection of one layer
stoff
mail at effing.org
Sat Jan 17 07:24:51 EST 2009
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
> mapguide-users at lists.osgeo.org
> 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.
More information about the mapguide-users
mailing list