feat(map): derive station regions from GPS

This commit is contained in:
lingniu
2026-08-12 12:03:09 +08:00
parent f707e6ad68
commit 4c547757a7
8 changed files with 228 additions and 38 deletions
+5
View File
@@ -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