[OpenLayers-Users] Deleting a feature

Jan van der Ven j.vanderven at magion.nl
Tue Mar 10 05:27:12 EDT 2009


Dave,


I had the same problem when changing the modify control from shape to size.
I fixed it like this:
modifyControl.selectControl.unselect(modifyControl.feature);

You have to get the timing right though.

Kind regards,


Jan
 

-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] On
Behalf Of Dave Potts
Sent: Tuesday, March 10, 2009 01:06
To: users at openlayers.org
Subject: [OpenLayers-Users] Deleting a feature

Hi Folks

I am trying to delate an feature object.

Thanks to previous advice,  I can create a polygon and delete, no problems,
except a yellow circle is left at every vertex of the polygon after I have
delete it.  Is there any way off get rid of these spots ?

Dave.

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.11.9/1992 - Release Date: 03/09/09
19:20:00




More information about the Users mailing list