support OpenStreetMap(Humanitarian), OpenTopoMap, OPNVKarte, CyclOSM

This commit is contained in:
MaysWind
2023-06-18 16:50:23 +08:00
parent 5f2819a961
commit fe82ec6fc2
7 changed files with 99 additions and 15 deletions
+11 -2
View File
@@ -111,10 +111,19 @@ enable_register = true
enable_export = true
[map]
# Map provider, supports "openstreetmap", "googlemap", "baidumap", "amap". Leave blank if you want to disable map
# Map provider, supports the following types:
# "openstreetmap": https://www.openstreetmap.org
# "openstreetmap_humanitarian": http://map.hotosm.org
# "opentopomap": https://opentopomap.org
# "opnvkarte": https://publictransportmap.org
# "cyclosm": https://www.cyclosm.org
# "googlemap": https://map.google.com
# "baidumap": https://map.baidu.com
# "amap": https://amap.com
# Leave blank if you want to disable map
map_provider = openstreetmap
# Set to true to use the ezbookkeeping server to proxy map data requests, for "openstreetmap"
# Set to true to use the ezbookkeeping server to proxy map data requests, for "openstreetmap", "openstreetmap_humanitarian", "opentopomap", "opnvkarte" or "cyclosm"
map_data_fetch_proxy = false
# For "googlemap" only, Google map JavaScript API key, please visit https://developers.google.com/maps/get-started for more information