Subversion Repositories eFlore/Applications.cel

Rev

Rev 3848 | Rev 3902 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3848 Rev 3852
Line 184... Line 184...
184
 
184
 
185
		this.geoloc.init(complementSelecteur);
185
		this.geoloc.init(complementSelecteur);
186
		$( '#coord' ).toggleClass( 'hidden', 'point' !== typeLocalisation );
186
		$( '#coord' ).toggleClass( 'hidden', 'point' !== typeLocalisation );
187
		// evenement location
187
		// evenement location
-
 
188
		$mapEl.on( 'location' , this.locationHandler.bind( this ) );
-
 
189
 
-
 
190
		if ( 'rue' === typeLocalisation )  {
-
 
191
			$( '#geoloc-label .help-button' ).on( 'click' , function () {
-
 
192
				let label = 'Aide : Géolocaliser une rue ou un linéaire',
-
 
193
					modaleContent = '<img id="modale-aide-img" src="' + URL_HELP_GEOLOC_POLYLINE + '" style="" alt="photo-aide-geoloc" />';
-
 
194
 
-
 
195
				utils.activerModale( label, modaleContent, [] );
-
 
196
			});
188
		$mapEl.on( 'location' , this.locationHandler.bind( this ) );
197
		}
189
	}
198
	}
Line 190... Line 199...
190
};
199
};
191
 
200