feat(map): derive station regions from GPS
This commit is contained in:
@@ -5,3 +5,8 @@ OPEN_PLATFORM_APP_KEY=replace-with-32-character-app-key
|
||||
UPSTREAM_TIMEOUT_SECONDS=15
|
||||
DASHBOARD_CACHE_SECONDS=5
|
||||
STATION_CACHE_SECONDS=3600
|
||||
# 高德 Web 服务 Key;用于以 GCJ-02 坐标逆地理得到省、市、区。
|
||||
AMAP_REGEOCODE_KEY=replace-with-amap-web-service-key
|
||||
# 行政区结果按坐标落盘缓存 7 天,避免每次刷新重复调用高德。
|
||||
STATION_GEOCODE_CACHE_SECONDS=604800
|
||||
STATION_GEOCODE_CACHE_PATH=/opt/lingniu-vehicle-map/cache/station-geocode.json
|
||||
|
||||
Reference in New Issue
Block a user