Skip to content

Commit

Permalink
✨ update fiji from natural earth data
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Nov 25, 2024
1 parent 9b78e3a commit 911551f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ Cities:
1. [福克兰群岛](https://echarts-maps.github.io/echarts-countries-js/preview.html#福克兰群岛) ([Falkland Islands](https://raw.githubusercontent.com/echarts-maps/echarts-countries-js/refs/heads/master/echarts-countries-js/Falkland_Islands.js))
1. [法罗群岛](https://echarts-maps.github.io/echarts-countries-js/preview.html#法罗群岛) ([Faroe Islands](https://raw.githubusercontent.com/echarts-maps/echarts-countries-js/refs/heads/master/echarts-countries-js/Faroe_Islands.js))
1. [密克罗尼西亚联邦](https://echarts-maps.github.io/echarts-countries-js/preview.html#密克罗尼西亚联邦) ([Federated States of Micronesia](https://raw.githubusercontent.com/echarts-maps/echarts-countries-js/refs/heads/master/echarts-countries-js/Federated_States_of_Micronesia.js))
1. [斐济](https://echarts-maps.github.io/echarts-countries-js/preview.html#斐济) ([Fiji](https://raw.githubusercontent.com/echarts-maps/echarts-countries-js/refs/heads/master/echarts-countries-js/Fiji.js))
1. [芬兰](https://echarts-maps.github.io/echarts-countries-js/preview.html#芬兰) ([Finland](https://raw.githubusercontent.com/echarts-maps/echarts-countries-js/refs/heads/master/echarts-countries-js/Finland.js))
1. [法国](https://echarts-maps.github.io/echarts-countries-js/preview.html#法国) ([France](https://raw.githubusercontent.com/echarts-maps/echarts-countries-js/refs/heads/master/echarts-countries-js/France.js))
1. [加蓬](https://echarts-maps.github.io/echarts-countries-js/preview.html#加蓬) ([Gabon](https://raw.githubusercontent.com/echarts-maps/echarts-countries-js/refs/heads/master/echarts-countries-js/Gabon.js))
Expand Down Expand Up @@ -258,6 +257,7 @@ Cities:
1. [坦桑尼亚](https://echarts-maps.github.io/echarts-countries-js/preview.html#坦桑尼亚) ([Tanzania](https://raw.githubusercontent.com/echarts-maps/echarts-countries-js/refs/heads/master/echarts-countries-js/Tanzania.js))
1. [瑞士](https://echarts-maps.github.io/echarts-countries-js/preview.html#瑞士) ([Switzerland](https://raw.githubusercontent.com/echarts-maps/echarts-countries-js/refs/heads/master/echarts-countries-js/Switzerland.js))
1. [瑙鲁](https://echarts-maps.github.io/echarts-countries-js/preview.html#瑙鲁) ([Nauru](https://raw.githubusercontent.com/echarts-maps/echarts-countries-js/refs/heads/master/echarts-countries-js/Nauru.js))
1. [斐济](https://echarts-maps.github.io/echarts-countries-js/preview.html#斐济) ([Fiji](https://raw.githubusercontent.com/echarts-maps/echarts-countries-js/refs/heads/master/echarts-countries-js/Fiji.js))

## Development

Expand All @@ -269,7 +269,7 @@ $ gulp

## Credit and geojson source

Italy, Tanzania, Colombia, Nauru, Switzerland map comes from [natural earth data](https://www.naturalearthdata.com/downloads/10m-cultural-vectors/)
Italy, Tanzania, Colombia, Nauru, Fiji, Switzerland map comes from [natural earth data](https://www.naturalearthdata.com/downloads/10m-cultural-vectors/)

Other maps come from [pissang](https://github.com/pissang) and his [starbucks](https://github.com/pissang/starbucks) project.

Expand Down
2 changes: 1 addition & 1 deletion echarts-countries-js/Fiji.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions geojson/shape-with-internal-borders/fiji.geojson

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ NATURAL_EARTH = [
"country": "nauru",
"label": "Nauru",
"zhong_wen": "瑙鲁"
},
{
"country": "fiji",
"label": "Fiji",
"zhong_wen": "斐济"
}
];

Expand Down Expand Up @@ -104,7 +109,6 @@ NAMES = {
"Falkland Islands": "福克兰群岛",
"Faroe Islands": "法罗群岛",
"Federated States of Micronesia": "密克罗尼西亚联邦",
"Fiji": "斐济",
"Finland": "芬兰",
"France": "法国",
"Gabon": "加蓬",
Expand Down
4 changes: 2 additions & 2 deletions preview.html

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"福克兰群岛": "Falkland_Islands",
"法罗群岛": "Faroe_Islands",
"密克罗尼西亚联邦": "Federated_States_of_Micronesia",
"斐济": "Fiji",
"芬兰": "Finland",
"法国": "France",
"加蓬": "Gabon",
Expand Down Expand Up @@ -213,7 +212,8 @@
"哥伦比亚": "Colombia",
"坦桑尼亚": "Tanzania",
"瑞士": "Switzerland",
"瑙鲁": "Nauru"
"瑙鲁": "Nauru",
"斐济": "Fiji"
},
"FILE_MAP": {
"Afghanistan": "Afghanistan",
Expand Down Expand Up @@ -280,7 +280,6 @@
"Falkland_Islands": "Falkland_Islands",
"Faroe_Islands": "Faroe_Islands",
"Federated_States_of_Micronesia": "Federated_States_of_Micronesia",
"Fiji": "Fiji",
"Finland": "Finland",
"France": "France",
"Gabon": "Gabon",
Expand Down
2 changes: 1 addition & 1 deletion templates/README.mdt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $ gulp

## Credit and geojson source

Italy, Tanzania, Colombia, Nauru, Switzerland map comes from [natural earth data](https://www.naturalearthdata.com/downloads/10m-cultural-vectors/)
Italy, Tanzania, Colombia, Nauru, Fiji, Switzerland map comes from [natural earth data](https://www.naturalearthdata.com/downloads/10m-cultural-vectors/)

Other maps come from [pissang](https://github.com/pissang) and his [starbucks](https://github.com/pissang/starbucks) project.

Expand Down

0 comments on commit 911551f

Please sign in to comment.