Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 2714 → Rev 2715

/trunk/widget/modules/saisie/squelettes/sauvages/js/WidgetSaisieSauvages.js
355,14 → 355,15
};
 
WidgetSaisieSauvages.prototype.tenterGeolocalisation = function() {
var lthis = this;
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(position) {
var latitude = position.coords.latitude,
longitude = position.coords.longitude,
nouvellePosition = new google.maps.LatLng(latitude, longitude);
this.initialiserMarkerDeb();
this.deplacerMarkerDeb(nouvellePosition);
this.map.setZoom(16);
lthis.initialiserMarkerDeb();
lthis.deplacerMarkerDeb(nouvellePosition);
lthis.map.setZoom(16);
});
}
};