Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 2734 → Rev 2735

/branches/v2.21-plantoir/widget/modules/saisie/squelettes/sauvages/js/WidgetSaisieSauvages.js
21,6 → 21,7
WidgetSaisieSauvages.prototype.initCarto = function() {
this.initialiserGoogleMap();
this.afficherEtapeGeolocalisation(1);
this.latLng = true; // patch cracra pour éviter de surcharger trouvercommune()
 
var lthis = this;
$('#carte-recherche').autocomplete({
198,7 → 199,8
};
 
WidgetSaisieSauvages.prototype.surClickDansCarte = function(event) {
this.deplacerMarkerDeb(event.latLng);
this.latLngDeb = event.latLng;
this.deplacerMarkerDeb(this.latLngDeb);
};
 
// surcharge
266,7 → 268,8
};
 
WidgetSaisieSauvages.prototype.surDeplacementMarkerDeb = function() {
this.deplacerMarkerDeb(this.markerDeb.getPosition());
this.latLngDeb = this.markerDeb.getPosition();
this.deplacerMarkerDeb(this.latLngDeb);
};
 
WidgetSaisieSauvages.prototype.deplacerMarkerDeb = function(nouvellePosition) {