Hi

Have you tried unselecting the feature - using
selectControl.unselect(feature) - before deleting the feature?

Cheers,

Eric

2009/3/17, Dave Potts <[email protected]>:
>
> 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.
>

-- 
Envoyé avec mon mobile
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to