clearing selection

Willem Schwarte willem at giskit.nl
Tue Jun 20 06:27:28 EDT 2006


Hi,

 

I need to clear the current selection on the map and then create a new
selection on the map. At this point I am calling ClearSelection in the
mapframe to clear the selection, wait till map is reloaded and then
create a new selection.

 

I create the selection using:

 

$selection = new MgSelection($map);

 

That's why I need to have it cleared, because the selection will contain
the previous selection if not cleared. But Isn't there something like
$selecion->clear(); ??? Because this takes way to much time. 

 

Thanks

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060620/db26d5fa/attachment.html


More information about the Mapguide-users mailing list