Birgit Egger: geoLocation Firefox 16.0.1

Beitrag lesen

Bin ich dooof! Danke!!

Ich hätte aber noch eine Frage. Mein Code schaut jetzt so aus:

  
function showMap(coords) {  
	var googleLatAndLong = new google.maps.LatLng(coords.latitude, coords.longitude);  
  
	var mapOptions = {  
		zoom: 10,  
		center: googleLatAndLong,  
		mapTypeId: google.maps.MapTypeId.ROADMAP  
	};  
  
	var mapDiv = document.getElementById("map");  
	map = new google.maps.Map(mapDiv, mapOptions);  
}  

Also ich hab einen Marker in der Map gesetzt, ich möchte aber jetzt eine Strecke einzeichnen.
Weiß jemand wo ich ein Beispiel dazu finde?

lg
Birgit