[OpenLayers-Users] updating layer name in LayerSwitcher

Steven Chall stevec at renci.org
Fri Dec 7 07:33:10 PST 2012


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

Steve
________________________________________
From: Jürgen Dankoweit [Juergen.Dankoweit at T-Online.de]
Sent: Friday, December 07, 2012 10:29 AM
To: Eric Lemoine
Cc: Steven Chall; openlayers-users at lists.osgeo.org
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 : 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