[OpenLayers-Users] updating layer name in LayerSwitcher

Eric Lemoine eric.lemoine at camptocamp.com
Thu Dec 6 21:27:06 PST 2012


Le jeudi 6 décembre 2012, Steven Chall a écrit :

> Thank you,  Jürgen, that did the trick.



Layers have a setName function. By using this function calling redraw
on the LayerSwitcher shouldn't be necessary.


-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 94
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121207/a037d5ef/attachment-0001.html>


More information about the Users mailing list