finds.dev← search

// the find

TangSY/echarts-map-demo

★ 2,118 · Vue · updated Jun 2026

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

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.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →