[mapserver-users] remove points that were added with addfeatu re

Puneet Kishor pkishor@GeoAnalytics.com
Tue, 30 Apr 2002 15:08:17 -0500


well, you can't really clear the features unless you redraw the map. And if
you are redrawing, just simply don't add those features again.

Every object has a destructor method like so "obj->free()";

hth.

> -----Original Message-----
> From: Debbie Pagurek [mailto:pagurekd@em.agr.ca]
> Sent: Tuesday, April 30, 2002 1:45 PM
> To: mapserver-users@lists.gis.umn.edu
> Subject: [mapserver-users] remove points that were added with 
> addfeature
> 
> 
> Hi all,
> I have created an application that adds points to a map 
> "on-the-fly" from an oracle database of lat long coords.  I 
> used the mapscript "addfeature" to a "dummy layer" that was 
> set up in my map file.  Hoever, I need to know how to then 
> clear these added points from the layer, or make the layer 
> void or something like that.
> 
> Any ideas?
> 
> Thanks,
> D. Pagurek
>