finds.dev

TangSY/echarts-map-demo

适用于echarts、QGIS等地图geoJson行政区划边界数据的实时获取与应用,json格式数据,全国省市区县多级联动下钻,真正意义的下钻至县级【附最新全国省市区县乡镇三级或四级城市geoJson文件下载,另可下载四级联动或五级(村级)行政编码对应关系】

View on GitHubHomepage ↗

★ 2,118Vueupdated Jun 2026

// the take

A Vue demo that fetches live GeoJSON administrative boundary data (province/city/district/county/township) for use with ECharts maps, with drill-down to county and township level. It also bundles downloadable GeoJSON files for all of China's administrative divisions. Aimed at Chinese developers building data visualization dashboards who need up-to-date boundary data without maintaining static files.

The live API fetch approach solves a real pain point — static GeoJSON files for China's administrative divisions go stale as boundaries change. Drill-down reaches township (乡镇) level, which most similar projects stop at city or county. The downloadable ZIP with pre-built GeoJSON at multiple levels (3-, 4-, 5-tier) is genuinely useful for offline or self-hosted setups. Active maintenance with a push as recently as June 2026 suggests the boundary data stays current.

The demo is a thin Vue 2 wrapper around an external API at hxkj.vip — if that third-party service goes down, the whole thing stops working, and there's no fallback or self-hosting guide. No documentation on the API schema, rate limits, or terms of use for the boundary data endpoint. The codebase is effectively a single-file demo with no abstraction, so integrating it into a real project means untangling ad/donation dialogs from the actual map logic. The bundled ZIP file committed directly to the repo is an antipattern that will balloon clone size over time.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
2,118
Forks
353
Language
Vue
Last commit
19 Jun 2026

// nearby

If echarts-map-demo isn't quite it.

All repos →