Dostum sayfanın hepsini atmadığın için kod çalışıyor mu calısmıyor mu test edemedim ama sunu dene bi
navigator.geolocation.getCurrentPosition(geoLocati onSuccess, geoLocationError, geoLocationOptions);
bu kod satırının oldugu yere su satırı ekle ve kac tane ıstıyorsan o kadar ekle alttaki satırı 3 konum alcaksan 3 tane yap yapıstır sen icinden
toLat=
toLgn=
değerlerini değiştir...
navigator.geolocation.getCurrentPosition(function (position) {
var latitude = position.coords.latitude;
var longitude = position.coords.longitude;
var url = 'http://harita.iett.gov.tr/?fromName=Bulunduğun+Yer&fromLat=' + latitude + '&fromLng=' + longitude + '&toName=ESENLER&toLat=41.0430785116747&toLng=28.8 802535645664&hatharita=';
$('#esenler').attr('href', url);
}, geoLocationError, geoLocationOptions);
bu kod u al