clearing selection

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



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. 




-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Mapguide-users mailing list