Arnd Wippermann wrote:
1. Set the visibility of the layer to false before adding to the map.

layers[i].setVisibility(false);
map.addLayer (layers[i]);

Thanks that works albeit I'm wondering if it isn't possible to set visiblility to false via option. I prefer to use options wherever possible, the souce code seems more readable then.

2. This example may help
http://dev.openlayers.org/releases/OpenLayers-2.10/examples/vector-formats.h
tml

That means I just have to write format kml into a variable and change it afterwards to my liking (e.g. change it to a single way).

Besides is there anywhere a sample how to remove coordinates close together? In the overview page they don't need to be so detailed.

Wyo

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to