[OpenLayers-Users] Delete title in layerswitcher
tino.desjardins at arcor.de
tino.desjardins at arcor.de
Wed Jul 21 05:10:35 EDT 2010
Another solution is to use localisation and change the value for the key 'overlays'.
----- Original Nachricht ----
Von: tino.desjardins at arcor.de
An: rahn at zhaw.ch, users at openlayers.org
Datum: 21.07.2010 11:02
Betreff: Re: [OpenLayers-Users] Delete title in layerswitcher
Hey Hanno,
check the function "loadContents" in LayerSwitcher.js . There is a div "this.dataLbl = document.createElement("div");". This will be added to DOM in this function (2 X this.layersDiv.appendChild(this.dataLbl); ). Removing this line/s will solve this problem. You should create an own class which inherits from LayerSwitcher and overwrite the loadContens-function.
Regards Tino
----- Original Nachricht ----
Von: "Rahn Hanno (rahn)" <rahn at zhaw.ch>
An: users at openlayers.org
Datum: 21.07.2010 10:44
Betreff: [OpenLayers-Users] Delete title in layerswitcher
> Hello list,
>
> I have a Layerswitcher in my OpenLayers Map. But in this LayerSwicther div
> is the title "overlays". I want to show the LayerSwicther without this
> title. Is it possible? How can I delete this title?
>
>
> Greetings
> Hanno
>
>
> ------------------------------------------
> Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
> ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
> Ressourcen
> Fachstelle Geoinformatik
> Grüental, Postfach CH-8820 Wädenswil
> Tel +41 (0)58 934 5592
> Fax +41 (0)58 934 5580
> hanno.rahn at zhaw.ch
> www.iunr.zhaw.ch/geoinformatik
>
>
>
>
>
>
> --------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
--
E-Cards: Schon fertig für die ganz Eiligen oder individuell zum Selbstgestalten - für jeden Anlass gibt´s die richtige E-Card auf arcor.de.
http://www.arcor.de/rd/footer.ecard
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
--
E-Cards: Schon fertig für die ganz Eiligen oder individuell zum Selbstgestalten - für jeden Anlass gibt´s die richtige E-Card auf arcor.de.
http://www.arcor.de/rd/footer.ecard
More information about the Users
mailing list