libre-charge-map/js/lcm_config.js

76 lines
1.9 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,
2025-04-19 23:46:37 +02:00
hide_osmose_markers_if_close_to_existing_charging_stations_distance: 10, // meters
2025-04-28 10:08:31 +02:00
osmoseIssuesList: [],
2025-04-20 00:32:45 +02:00
filter_max_output: true,
filter_max_output_min: 0,
filter_max_output_max: 499,
2025-04-20 00:32:45 +02:00
filter_max_output_default_value: 1,
filter_unknown_output: true,
max_possible_station_output: 499,
2025-04-27 21:24:25 +02:00
// Filtres pour les prises
filterCableAttached: false,
filterCCS: false,
filterType2: false,
filterQuality: false,
2025-04-27 21:47:38 +02:00
filterDomestic: false,
filterChademo: false,
filterType1: false,
filterType3: false,
2025-04-27 21:24:25 +02:00
// Configuration des filtres
filterConfigs: {
2025-04-27 21:47:38 +02:00
'filterUnknownOutput': true,
'filterCableAttached': true,
2025-04-27 22:24:09 +02:00
'filterCCS': true,
2025-04-27 21:47:38 +02:00
'filterType2': true,
'filterQuality': true,
'filterDomestic': true,
'filterChademo': true,
'filterType1': true,
'filterType3': true
2025-04-27 21:24:25 +02:00
},
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',
2025-04-27 22:31:26 +02:00
'access',
2024-12-28 17:00:21 +01:00
'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