libre-charge-map/js/lcm_config.js

60 lines
1.5 KiB
JavaScript
Raw Normal View History

const lcm_config = {
2025-04-18 17:53:07 +02:00
osmMention: '&copy; <a href="https://openstreetmap.org/copyright">OpenStreetMap</a> contributors',
showHighPower: true,
overrideQuery: true,
initialZoom: 12,
hide_osmose_markers_if_close_to_existing_charging_stations: true,
hide_osmose_markers_if_close_to_existing_charging_stations_distance: 5, // meters
max_possible_station_output: 400,
2025-04-27 21:24:25 +02:00
// Filtres pour les prises
filterCableAttached: false,
filterCCS: false,
filterType2: false,
filterQuality: false,
// Configuration des filtres
filterConfigs: {
'filterCableAttached': false,
'filterCCS': false,
'filterType2': false,
'filterQuality': false
},
2025-04-18 17:53:07 +02:00
tileServers: {
osm: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
cycle: 'https://{s}.tile.thunderforest.org/cycle/{z}/{x}/{y}.png',
cartodb: 'https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png',
stamen: 'https://a.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png',
transport: 'https://a.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png'
2024-12-28 17:00:21 +01:00
},
tags_to_display_in_popup: [
'description',
2024-12-28 17:00:21 +01:00
'name',
'capacity',
'date_start',
'charging_station:output',
'socket:type_2',
'socket:type2:output',
'socket:typee',
'socket:typee:output',
'socket:type2_combo',
'socket:type2_combo:output',
'socket:chademo',
'operator', 'ref:EU:EVSE',
'network',
'opening_hours',
'contact',
'phone',
'contact:phone',
'website',
'contact:website',
'ref',
'fee',
'payment',
'payment:contactless',
'authentication:app',
'authentication:debit_card',
]
2025-04-18 17:53:07 +02:00
}
2024-12-28 17:00:21 +01:00
export default lcm_config