Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 2712 → Rev 2713

/trunk/widget/modules/saisie/squelettes/defaut/js/WidgetSaisie.js
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);
});
}