[OpenLayers-Users] updating layer name in LayerSwitcher

Jürgen Dankoweit Juergen.Dankoweit at T-Online.de
Fri Dec 7 07:29:35 PST 2012


When I coded the maps for my website such a function wasn't documented
officially.

Jürgen

Am 07.12.2012 06:27, schrieb Eric Lemoine:
> 
> 
> 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 <mailto:eric.lemoine at camptocamp.com>
> http://www.camptocamp.com


-- 
Meine stets unfertige Homepage: www.dankoweit.de


More information about the Users mailing list