689,6 → 689,7 |
WidgetsSaisiesCommun.prototype.transfererCarto = function( donnees ) { |
var typeLocalisation = donnees.typeLocalisation || 'point', |
isPoint = ( typeLocalisation === 'point' ).toString(), |
locationFilter = ( typeLocalisation === 'rue' ) ? 'linestring' : 'point', |
suffixe = ( this.valOk( donnees.suffixe ) ) ? '-' + donnees.suffixe : '', |
$cartoRemplacee = donnees.cartoRemplacee || $( '#tb-geolocation' ), |
layer = donnees.layer || 'osm', |
710,8 → 711,10 |
' polygon="false"'+ |
' show_lat_lng_elevation_inputs="' + isPoint + '"'+ |
' osm_class_filter=""'+ |
' geometry_filter="'+ locationFilter + '"'+ |
' elevation_provider="mapquest"'+ |
' map_quest_api_key="mG6oU5clZHRHrOSnAV0QboFI7ahnGg34"'+ |
' height="400px"'+ |
'>'+ |
'</tb-geolocation-element>' |
); |