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

Robert Sanson SansonR at asurequality.com
Mon Mar 16 21:55:09 EDT 2009


Is this anything to do with this:
 
http://trac.openlayers.org/ticket/1627 
 
Robert Sanson

>>> Dave Potts <dave.potts at pinan.co.uk> 17/03/2009 2:35 p.m. >>>

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.
------------------------------------------------------------------
The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.
------------------------------------------------------------------


This message has been scanned for malware by SurfControl plc. www.surfcontrol.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090317/e30c6956/attachment.html


More information about the Users mailing list