Subversion Repositories eFlore/Applications.cel

Rev

Rev 2721 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2721 Rev 2735
Line 19... Line 19...
19
 
19
 
20
// surcharge
20
// surcharge
21
WidgetSaisieSauvages.prototype.initCarto = function() {
21
WidgetSaisieSauvages.prototype.initCarto = function() {
22
	this.initialiserGoogleMap();
22
	this.initialiserGoogleMap();
-
 
23
	this.afficherEtapeGeolocalisation(1);
Line 23... Line 24...
23
	this.afficherEtapeGeolocalisation(1);
24
	this.latLng = true; // patch cracra pour éviter de surcharger trouvercommune()
24
 
25
 
25
	var lthis = this;
26
	var lthis = this;
26
	$('#carte-recherche').autocomplete({
27
	$('#carte-recherche').autocomplete({
Line 196... Line 197...
196
	// Création du Geocoder
197
	// Création du Geocoder
197
	this.geocoder = new google.maps.Geocoder();
198
	this.geocoder = new google.maps.Geocoder();
198
};
199
};
Line 199... Line 200...
199
 
200
 
-
 
201
WidgetSaisieSauvages.prototype.surClickDansCarte = function(event) {
200
WidgetSaisieSauvages.prototype.surClickDansCarte = function(event) {
202
	this.latLngDeb = event.latLng;
201
	this.deplacerMarkerDeb(event.latLng);
203
	this.deplacerMarkerDeb(this.latLngDeb);
Line 202... Line 204...
202
};
204
};
203
 
205
 
Line 264... Line 266...
264
		this.ligneRue.setMap(null);
266
		this.ligneRue.setMap(null);
265
	}
267
	}
266
};
268
};
Line 267... Line 269...
267
 
269
 
268
WidgetSaisieSauvages.prototype.surDeplacementMarkerDeb = function() {
270
WidgetSaisieSauvages.prototype.surDeplacementMarkerDeb = function() {
-
 
271
	this.latLngDeb = this.markerDeb.getPosition();
269
	this.deplacerMarkerDeb(this.markerDeb.getPosition());
272
	this.deplacerMarkerDeb(this.latLngDeb);
Line 270... Line 273...
270
};
273
};
271
 
274
 
272
WidgetSaisieSauvages.prototype.deplacerMarkerDeb = function(nouvellePosition) {
275
WidgetSaisieSauvages.prototype.deplacerMarkerDeb = function(nouvellePosition) {