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

Dave Potts dave.potts at pinan.co.uk
Mon Mar 16 21:35:13 EDT 2009


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.
-------------- 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/20090317/5568c0ee/dave_potts.vcf


More information about the Users mailing list