Both approaches work and both have been informative.  Thanks to all.

Steve
________________________________________
From: Jürgen Dankoweit [[email protected]]
Sent: Friday, December 07, 2012 10:29 AM
To: Eric Lemoine
Cc: Steven Chall; [email protected]
Subject: Re: [OpenLayers-Users] updating layer name in LayerSwitcher

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 : [email protected] <mailto:[email protected]>
> http://www.camptocamp.com


--
Meine stets unfertige Homepage: www.dankoweit.de
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to