{"id":25738435,"url":"https://github.com/wumortal/echarts-geojson","last_synced_at":"2026-07-22T07:32:43.289Z","repository":{"id":120948494,"uuid":"394505207","full_name":"WuMortal/echarts-GeoJSON","owner":"WuMortal","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-10T03:44:29.000Z","size":23804,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T16:28:41.982Z","etag":null,"topics":["echarts","geojson","html","json"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WuMortal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-10T02:46:58.000Z","updated_at":"2021-08-10T03:48:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ba40e06-ee2a-4aaa-8561-1b1385c22329","html_url":"https://github.com/WuMortal/echarts-GeoJSON","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WuMortal/echarts-GeoJSON","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WuMortal%2Fecharts-GeoJSON","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WuMortal%2Fecharts-GeoJSON/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WuMortal%2Fecharts-GeoJSON/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WuMortal%2Fecharts-GeoJSON/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WuMortal","download_url":"https://codeload.github.com/WuMortal/echarts-GeoJSON/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WuMortal%2Fecharts-GeoJSON/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35753456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-22T02:00:06.236Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["echarts","geojson","html","json"],"created_at":"2025-02-26T07:30:31.852Z","updated_at":"2026-07-22T07:32:43.278Z","avatar_url":"https://github.com/WuMortal.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 目录文件说明\n\n1. china.json 中国地图\n2. province 目录下为所有省份、直辖市\n3. citys 目录下为所有市\n4. county 目录下为所有区域\n5. other 中为直辖市的地图，与 province 目录下的直辖市有所不同，other 的直辖市不显示具体的区域信息\n\n## ohter 目录下的直辖市对比\n\n\u003e 可以根据自己的实际场景使用不同的 GeoJSON \n\nprovince 目录下的直辖市\n\n![image-20210810112336958](/other/images/image-20210810112336958.png)\n\n\n\nother 目录下的直辖市\n\n![image-20210810112148350](/other/images/image-20210810112148350.png)\n\n## other/index.html\n\n用于提取 `province`目录中直辖市数据，提取出  `other` 目录下直辖市所需要数据的工具。\n\n注意：index.html 直接打开无效，需要在项目的根目录运行 ` http-server.cmd -p 3002` 命令。\n\n在打开链接：[http://localhost:3002/other/index.html](http://localhost:3002/other/index.html)\n\n红框中的数据就是 `GeoJson` 中 `features.geometry.coordinates` 所需的数据。\n\n其他省份需要「不绘制具体的市的信息」也可以使用该工具，替换 `features.geometry.coordinates` 中的值，还需要将 `json` 文件中的 `features.geometry.type` 设为 `MultiPolygon`\n\n![image-20210810112914847](/other/images/image-20210810112914847.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwumortal%2Fecharts-geojson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwumortal%2Fecharts-geojson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwumortal%2Fecharts-geojson/lists"}