fix(map): group national view by live GPS province

This commit is contained in:
lingniu
2026-08-03 21:49:42 +08:00
parent 30fef937b0
commit dc5f88cf16
6 changed files with 153 additions and 60 deletions
+3 -1
View File
@@ -30,4 +30,6 @@ python3 server.py
本服务提供:
- `GET /api/health`:进程及配置状态;
- `GET /api/dashboard`:面向前端的聚合数据,默认缓存20秒;加氢站缓存1小时。
- `GET /api/dashboard`:面向前端的聚合数据,默认缓存5秒;加氢站缓存1小时。
全国视图按车辆最新 GPS 坐标落入省级行政区,不按车牌归属地推断;没有有效实时坐标的车辆会单独计入“无实时位置”,不会伪造省份归属。页面每15秒刷新一次。