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) { |