hi,
ich habe unten stehendes file (auszug) erweitert und möchte nun beim
laden der seite, dass nur ein poi-layer angezeigt wird statt mehrerer.
wer weiß es?
ach ja und ein perma-link wurde noch gewünscht... anyone?
gary68
gerhard
<script type="text/javascript">
<!--
var map;
function init(){
map = new OpenLayers.Map('map',
{ maxExtent: new
OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
numZoomLevels: 19,
maxResolution: 156543.0399,
units: 'm',
projection: new OpenLayers.Projection("EPSG:900913"),
displayProjection: new OpenLayers.Projection("EPSG:4326")
});
var layerMapnik = new OpenLayers.Layer.OSM.Mapnik("Mapnik (updated
weekly)");
var layerTah = new OpenLayers.Layer.OSM.Osmarender("[EMAIL
PROTECTED]");
map.addLayers([layerMapnik,layerTah]);
var pois = new OpenLayers.Layer.Text( "My Points", {
location:"./textfile.txt", projection: new OpenLayers.Projection("EPSG:4326")}
);
map.addLayer(pois);
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.setCenter(new OpenLayers.LonLat(11.59,48.14).transform(new
OpenLayers.Projection("EPSG:4326"), new OpenLayers.Projection("EPSG:900913")),
12);
}
// -->
</script>
_______________________________________________
Talk-de mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk-de