<style type="text/css">.olControlAttribution { bottom: 3px!important; }</style><script src="http://www.openlayers.org/api/OpenLayers.js"></script><script src="http://www.openstreetmap.org/openlayers/OpenStreetMap.js"></script><div id="map" style="width:500px;height:400px;"></div><script type="text/javascript">var map; function showMap(){ map = new OpenLayers.Map("map"); var mapnik = new OpenLayers.Layer.OSM(); map.addLayer(mapnik); map.setCenter(new OpenLayers.LonLat(13.09726999999998,52.37804).transform(new OpenLayers.Projection("EPSG:4326"), new OpenLayers.Projection("EPSG:900913")), 14); map.addLayer(new OpenLayers.Layer.Markers()); var marker = new OpenLayers.Marker(map.getCenter()); marker.events.register("mousedown", marker, function(evt) { alert("Sporthalle SV Verkehrsbetrieb\nSchilfhof 29, Potsdam"); OpenLayers.Event.stop(evt); }); map.layers[map.layers.length-1].addMarker(marker); } showMap();</script>
Generated by KartenGenerator