# echarts-china-cities-js
[![Build Status](https://travis-ci.org/echarts-maps/echarts-china-cities-js.svg?branch=master)](https://travis-ci.org/echarts-maps/echarts-china-cities-js) [![npm version](https://badge.fury.io/js/echarts-china-cities-js.svg)](https://badge.fury.io/js/echarts-china-cities-js)
It collects all geo-jsons in javascript of all 370 provincial cities
in 28 provinces and acts as a static asset to jupyter-echarts or your
echarts collection.
## Installation
```
npm i echarts-china-cities-js
```
## echarts usage
```
<html>
<head>
<meta charset="utf-8" />
<style>
.citymap{
width: 100%;
height: 100%;
}
</style>
<script src="https://echarts-maps.github.io/jupyter-echarts/echarts/echarts.min.js"></script>
<script src="https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/jiang1_xi1_nan2_chang1.js"></script>
</head>
<body>
<div id='nan2_chang1' class='citymap'></div>
<script src='https://echarts-maps.github.io/echarts-china-cities-js/demo.js'></script>
<script>
make_city('南昌', 'nan2_chang1');
</script>
</body>
</html>
```
![Usage with echarts](https://echarts-maps.github.io/echarts-china-cities-js/nanchang.png)
## pyecharts usage
![Usage with pyecharts](https://user-images.githubusercontent.com/4280312/29755070-9bc9ae70-8b89-11e7-9bf2-bec09cb5f1a1.png)
## Featuring Cities(or for Single Download)
Cities:
1. **安徽**:
[安庆](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_an1_qing4.js), [蚌埠](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_bang4_bu4.js), [亳州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_bo2_zhou1.js), [池州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_chi2_zhou1.js), [滁州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_chu2_zhou1.js), [阜阳](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_fu4_yang2.js), [合肥](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_he2_fei2.js), [淮北](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_huai2_bei3.js), [淮南](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_huai2_nan2.js), [黄山](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_huang2_shan1.js), [六安](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_liu4_an1.js), [马鞍山](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_ma3_an1_shan1.js), [宿州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_su4_zhou1.js), [铜陵](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_tong2_ling2.js), [芜湖](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_wu2_hu2.js), [宣城](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/an1_hui1_xuan1_cheng2.js)
2. **福建**:
[福州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/fu2_jian4_fu2_zhou1.js), [龙岩](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/fu2_jian4_long2_yan2.js), [南平](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/fu2_jian4_nan2_ping2.js), [宁德](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/fu2_jian4_ning2_de2.js), [莆田](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/fu2_jian4_pu3_tian2.js), [泉州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/fu2_jian4_quan2_zhou1.js), [三明](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/fu2_jian4_san1_ming2.js), [厦门](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/fu2_jian4_sha4_men2.js), [漳州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/fu2_jian4_zhang1_zhou1.js)
3. **甘肃**:
[白银](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_bai2_yin2.js), [定西](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_ding4_xi1.js), [甘南藏族自治州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_gan1_nan2_cang2_zu2_zi4_zhi4_zhou1.js), [嘉峪关](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_jia1_yu4_guan1.js), [金昌](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_jin1_chang1.js), [酒泉](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_jiu3_quan2.js), [兰州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_lan2_zhou1.js), [临夏回族自治州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_lin2_xia4_hui2_zu2_zi4_zhi4_zhou1.js), [陇南](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_long3_nan2.js), [平凉](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_ping2_liang2.js), [庆阳](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_qing4_yang2.js), [天水](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_tian1_shui3.js), [武威](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_wu3_wei1.js), [张掖](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/gan1_su4_zhang1_ye4.js)
4. **广东**:
[潮州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_chao2_zhou1.js), [东莞](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_dong1_guan1.js), [东沙群岛](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_dong1_sha1_qun2_dao3.js), [佛山](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_fo2_shan1.js), [广州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_guang3_zhou1.js), [河源](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_he2_yuan2.js), [惠州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_hui4_zhou1.js), [江门](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_jiang1_men2.js), [揭阳](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_jie1_yang2.js), [茂名](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_mao4_ming2.js), [梅州](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_mei2_zhou1.js), [清远](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_qing1_yuan3.js), [汕头](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_shan4_tou2.js), [汕尾](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_shan4_wei3.js), [韶关](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_shao2_guan1.js), [深圳](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_shen1_zhen4.js), [阳江](https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/guang3_dong1_yang2_jiang1.js), [云浮](https://