Hi all,
I think I found a bug, but I prefer to ensure I'm not doing something wrong.
In the "select feature multilayer" example [1], calling removeLayer on
the vector layers behaves weirdly.
Trying the following :
{{{
var layer = map.layers[1];
map.removeLayer(layer);
}}}
the layer is effectively removed from the list of layers, however, the
features are still displayed.
Actually, it looks like the <g> tag corresponding to this layer in the
RootContainer <svg> tag is not removed.
Am I missing something ?
Regards,
Pierre
[1] http://dev.openlayers.org/nightly/examples/select-feature-multilayer.html
--
Pierre GIRAUD
Géomaticien, Analyste
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 93
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev