Comments (6)
Hi,
Any update.
If you are busy then kindly let me know where i can get pending countries Geo polygon data which are given in \node_modules\react-svg-worldmap\dist\countries.geo.js
from react-svg-worldmap.
Please send a PR directly if you know how to update it, that's the point of open-source :)
AFAIK, we directly downloaded the data from an open data registry (I can't remember which one). If you want to make any corrections, feel free to.
from react-svg-worldmap.
@Josh-Cena ,
Kindly add all ISO code in react-svg-worldmap given at
https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
or let me know the way to add missing ISO or countries in \node_modules\react-svg-worldmap\dist\countries.geo.js
from react-svg-worldmap.
Hey @kul1010,
Thank you for the request. Our map is an open source map from Natural Earth and does not have all of the ISO codes on Wikipedia intentionally because we did not want to make this map political in any way. We simply wanted an easy to import map component but we did not want to get into any disputes as to our data and so we chose an open source map that already exists. If you wish to add missing countries to the geo.js file, you can file a PR in which you make the changes locally and we will review whether or not they are controversial. We intentionally tried to stay away from any political conflicts that arise from this issue and we are also working on a feature to let users make their own maps but have not had the time to put that together quite yet. Thank you for your patience as it has been an incredibly busy time for me personally.
Yams
from react-svg-worldmap.
Hi, referencing #137 - can you clarify which map this pulls from, from NASA? e.g. a URL to the source. This doesn't appear to be included anywhere, in the readme or the license, so it'd be helpful regardless to document this.
(I think it's optimistic to avoid politics when it comes to country borders, but it'd be good to provide options to choose from at the very least).
from react-svg-worldmap.
Hey, I have clarified in the README
from react-svg-worldmap.
Related Issues (20)
- [BUG] no country color when all countries have the same value HOT 4
- [BUG] double click to zoom trigger the onclick event HOT 5
- [ENHANCEMENT] Export country list using ESM import HOT 3
- [BUG] Did the latest alpha break? HOT 8
- Map projection - Kamchatka Peninsula is cut out HOT 4
- How to inject HTML in tooltip HOT 4
- [BUG] Statistics map labels do not fit in boxes for RTL languages HOT 4
- Color Prop not working as expected with false-y values HOT 4
- [ENHANCEMENT] Convert your data into react-svg-worldmap supported JSON HOT 2
- [BUG] Strange tooltip behavior via using onClickFunction and tooltipTextFunction HOT 1
- [BUG] HOT 6
- [BUG] Can't use worldmap on yarn + vite + react HOT 5
- [BUG] problem with build next js app HOT 9
- [BUG] Cannot read properties of undefined (reading 'forwardRef') HOT 7
- [BUG] Ukraine does not include Crimea HOT 6
- [BUG] Failed to parse source map
- [BUG] Responsive size calculation is buggy HOT 1
- Hong Kong and Singapore are unreachable HOT 1
- Add Zoom and Pan capabilities HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-svg-worldmap.