mirror of
https://forge.chapril.org/tykayn/libre-charge-map
synced 2025-06-20 01:34:43 +02:00
81 lines
2.1 KiB
JavaScript
81 lines
2.1 KiB
JavaScript
const lcm_config = {
|
|
osmMention: '© <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: 10, // meters
|
|
osmoseIssuesList: [],
|
|
filter_max_output: true,
|
|
filter_max_output_min: 0,
|
|
filter_max_output_max: 499,
|
|
filter_max_output_default_value: 1,
|
|
filter_unknown_output: true,
|
|
display_alert_bad_tags: false,
|
|
display_restaurants_and_cafes: false,
|
|
max_possible_station_output: 499,
|
|
// Filtres pour les prises
|
|
filterCableAttached: false,
|
|
filterCCS: false,
|
|
filterType2: false,
|
|
filterQuality: false,
|
|
filterDomestic: false,
|
|
filterChademo: false,
|
|
filterType1: false,
|
|
filterType3: false,
|
|
// Configuration des filtres
|
|
filterConfigs: {
|
|
'filterUnknownOutput': true,
|
|
'filterCableAttached': true,
|
|
'filterCCS': true,
|
|
'filterType2': true,
|
|
'filterQuality': true,
|
|
'filterDomestic': true,
|
|
'filterChademo': true,
|
|
'filterType1': true,
|
|
'filterType3': true
|
|
},
|
|
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'
|
|
},
|
|
tags_to_display_in_popup: [
|
|
'charge',
|
|
'description',
|
|
'name',
|
|
'access',
|
|
'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',
|
|
'opening_hours',
|
|
'maxstay',
|
|
'maxheight',
|
|
'ref:EU:EVSE',
|
|
'network',
|
|
'opening_hours',
|
|
'contact',
|
|
'phone',
|
|
'contact:phone',
|
|
'website',
|
|
'contact:website',
|
|
'ref',
|
|
'fee',
|
|
'payment',
|
|
'payment:contactless',
|
|
'authentication:app',
|
|
'authentication:debit_card',
|
|
]
|
|
}
|
|
|
|
export default lcm_config
|