[OpenLayers-Users] delete controls withiut removing drawn features

Peter pfischer at proveo.com
Wed Jan 18 05:31:11 EST 2012


Thanks this works. but my problem now is, that all the polygons i have drawn
are deleted when i destroy the control and i get an Error with:
this.rendererRoot is null

...nts.triggerEvent("beforefeaturesadded",d)===!1)return;a=d.features}for(var
d=[],...

OpenLayers.js (Zeile 795)

so i any ideas how i can solve this? 

Thans and Greetings

Peter


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Drawfeature-with-multiple-vector-layers-tp7184326p7199558.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list