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)" <[email protected]>
An: [email protected]
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
> [email protected]
> www.iunr.zhaw.ch/geoinformatik
>
>
>
>
>
>
> --------------------------------
>
> _______________________________________________
> Users mailing list
> [email protected]
> 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
[email protected]
http://openlayers.org/mailman/listinfo/users