310,6 → 310,7 |
}; |
|
WidgetSaisie.prototype.initialiserGoogleMap = function() { |
var lthis = this; |
var latLng, |
zoomDefaut; |
// Carte @TODO mettre ça dans la config |
377,8 → 378,8 |
navigator.geolocation.getCurrentPosition(function(position) { |
var latitude = position.coords.latitude; |
var longitude = position.coords.longitude; |
this.latLng = new google.maps.LatLng(latitude, longitude); |
this.deplacerMarker(this.latLng); |
lthis.latLng = new google.maps.LatLng(latitude, longitude); |
lthis.deplacerMarker(this.latLng); |
}); |
} |
|