186,6 → 186,15 |
$( '#coord' ).toggleClass( 'hidden', 'point' !== typeLocalisation ); |
// evenement location |
$mapEl.on( 'location' , this.locationHandler.bind( this ) ); |
|
if ( 'rue' === typeLocalisation ) { |
$( '#geoloc-label .help-button' ).on( 'click' , function () { |
let label = 'Aide : Géolocaliser une rue ou un linéaire', |
modaleContent = '<img id="modale-aide-img" src="' + URL_HELP_GEOLOC_POLYLINE + '" style="" alt="photo-aide-geoloc" />'; |
|
utils.activerModale( label, modaleContent, [] ); |
}); |
} |
} |
}; |
|