[OpenLayers-Users] Deleting a vectore Feature leaves Vertex dirt on layer

Dave Potts dave.potts at pinan.co.uk
Wed Mar 18 19:24:12 EDT 2009


Dave Potts wrote:

THanks to Rob and Eric,  I have a solution.

I took a copy of the developers release of the openlayers and the vertex 
dirt disappeared.

D.
>
> If I attempt to delete a feature from a layer it seems to leave behind 
> a yellow spot at every point where a line join another, ie a vertext
>
> Is there anyway of stopping this happening?
>
> I am using the onSelect call back to invoke a function that calls 
> detroyFeatures to actual do the removal
>
> ie {onSelect: foobar}
> where foobar is
>
> function foobar(feature){
>    feature.layer.destoryFeatures([feature])
>
> }
>
> Is this the correct way to do things? or do I have an active selection 
> function??
>
> Dave.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dave_potts.vcf
Type: text/x-vcard
Size: 85 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090318/24342772/dave_potts.vcf


More information about the Users mailing list