diff --git a/README.md b/README.md index 87293cb3..e6e75b73 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,10 @@ Here is a list of map extensions from pyecharts dev team: 1. [World countries include China map and World map](https://echarts-maps.github.io/echarts-countries-js/): [echarts-countries-pypkg](https://github.com/pyecharts/echarts-countries-pypkg) (1.9MB) 2. [Chinese provinces and regions](https://echarts-maps.github.io/echarts-china-provinces-js/): [echarts-china-provinces-pypkg](https://github.com/pyecharts/echarts-china-provinces-pypkg) (730KB) 3. [Chinese cities](https://echarts-maps.github.io/echarts-china-cities-js/): [echarts-china-cities-pypkg](https://github.com/pyecharts/echarts-china-cities-pypkg) (3.8MB) -3. [Custom Chinese regions](https://echarts-maps.github.io/echarts-china-misc-js/): [echarts-china-cities-pypkg](https://github.com/pyecharts/echarts-china-misc-pypkg) (148KB) -3. [United Kingdom map](https://echarts-maps.github.io/echarts-united-kingdom-js/): [echarts-china-cities-pypkg](https://github.com/pyecharts/echarts-united-kingdom-pypkg) (1MB) +4. [Chinese counties](https://echarts-maps.github.io/echarts-china-counties-js/): [echarts-china-counties-pypkg](https://github.com/pyecharts/echarts-china-counties-pypkg) (4.1MB) +5. [Custom Chinese regions](https://echarts-maps.github.io/echarts-china-misc-js/): [echarts-china-misc-pypkg](https://github.com/pyecharts/echarts-china-misc-pypkg) (148KB) +6. [United Kingdom map](https://echarts-maps.github.io/echarts-united-kingdom-js/): [echarts-united-kingdom-pypkg](https://github.com/pyecharts/echarts-united-kingdom-pypkg) (1MB) + In order to install them, you can try one of them or all: @@ -51,6 +53,7 @@ In order to install them, you can try one of them or all: $ pip install echarts-countries-pypkg $ pip install echarts-china-provinces-pypkg $ pip install echarts-china-cities-pypkg +$ pip install echarts-china-counties-pypkg $ pip install echarts-china-misc-pypkg $ pip install echarts-united-kingdom-pypkg ``` diff --git a/docs/zh-cn/customize_map.md b/docs/zh-cn/customize_map.md index 90e5a29d..a4499b12 100644 --- a/docs/zh-cn/customize_map.md +++ b/docs/zh-cn/customize_map.md @@ -9,17 +9,19 @@ 1. [全球国家地图](https://echarts-maps.github.io/echarts-countries-js/): [echarts-countries-pypkg](https://github.com/pyecharts/echarts-countries-pypkg) (1.9MB): 世界地图和 213 个国家,包括中国地图 2. [中国省级地图](https://echarts-maps.github.io/echarts-china-provinces-js/): [echarts-china-provinces-pypkg](https://github.com/pyecharts/echarts-china-provinces-pypkg) (730KB):23 个省,5 个自治区 3. [中国市级地图](https://echarts-maps.github.io/echarts-china-cities-js/): [echarts-china-cities-pypkg](https://github.com/pyecharts/echarts-china-cities-pypkg) (3.8MB):370 个中国城市 +4. [中国县区级地图](https://echarts-maps.github.io/echarts-china-cities-js/): [echarts-china-cities-pypkg](https://github.com/pyecharts/echarts-china-cities-pypkg) (4.1MB):2882 个中国县·区 +5. [中国区域地图](https://echarts-maps.github.io/echarts-china-cities-js/): [echarts-china-cities-pypkg](https://github.com/pyecharts/echarts-china-cities-pypkg) (148KB):11 个中国区域地图,比如华南、华北。 -需要这些地图的朋友,可以装 pip 命令行: +特别注明,中国地图在 echarts-countries-pypkg 里。需要这些地图的朋友,可以装 pip 命令行: ``` pip install echarts-countries-pypkg pip install echarts-china-provinces-pypkg pip install echarts-china-cities-pypkg +pip install echarts-china-counties-pypkg ``` -特别注明,中国地图在 echarts-countries-pypkg 里。 - +除此之外,[英国2016选区图](https://echarts-maps.github.io/echarts-united-kingdom-js/): [echarts-united-kingdom-pypkg](https://github.com/pyecharts/echarts-united-kingdom-pypkg) (1MB): 英国选区图可以用来画与政治经济相关的数据。 ## 如何制作自己的地图扩展 diff --git a/docs/zh-cn/faq.md b/docs/zh-cn/faq.md index 582a6008..3e727e3e 100644 --- a/docs/zh-cn/faq.md +++ b/docs/zh-cn/faq.md @@ -97,4 +97,9 @@ A:目前 pyecharts 暂时未开放这部分的API,没有考虑到打包后的 ![](https://user-images.githubusercontent.com/4280312/37690316-08ef46e0-2ca2-11e8-9f2c-78c41a84bf57.png) -A: 因为 china.js 没有加载成功。请检查 echarts-countries-pypkg 是不是已经装了,安装方法参考 [README](https://github.com/pyecharts/pyecharts/blob/master/README.md)。如果是 jupyter 的环境的话, 请检查能否正确访问 http://localhost:8888/nbextensions/echarts-countries-js/china.js \ No newline at end of file +A: 因为 china.js 没有加载成功。请检查 echarts-countries-pypkg 是不是已经装了,安装方法参考 [README](https://github.com/pyecharts/pyecharts/blob/master/README.md)。如果是 jupyter 的环境的话, 请检查能否正确访问 http://localhost:8888/nbextensions/echarts-countries-js/china.js + + +如果你把地图全部装了的画,在你开新的 notebook 的时候, jupyter 的 javascript console 会有这个显示: + +![](https://user-images.githubusercontent.com/4280312/37921785-a472a2b8-3122-11e8-8ee3-cc80a3901d9d.png)