libre-charge-map/js/lcm_config.js

48 lines
1.3 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-18 17:53:07 +02:00
max_possible_station_output: 400,
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