Hi list,

 

When OpenLayers.Control.Measure finish to draw a feature, I added to
vectorLayer to avoid to lost it if user draw another one measure. It
happens that last feature appears over the map "strong" because there
are two identical features, one drawned by measure control, and the
seccond drawned when is added to the vectorLayer. I supose that I can
call featureadded event to remove feature added from measure control and
get only the feature added to vectorLayer.

 

Is featureadded the place where to put the code? If yes, how can I
overwrite this function?

 

Thank's in advance.

 

Antoni Vidal

Unitat d'Aplicacions SIG-WEB
Ext. 3228

 

_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to