Comments (4)
In a perfect world, we will be able to fix this. I don't think rotating it a bit to reconcile Chukchi with the rest of Russia would break any other country. I don't have much time to work on this project these days, but PRs welcome.
from react-svg-worldmap.
By "Kamchatka Peninsula", I assume you mean "Chukchi Peninsula"?
I've been long aware of this, but we use an external geodata source, so this would be a bit hard to patch. Definitely on my wishlist, though.
from react-svg-worldmap.
Yeah, my bad, sorry, it's Chukchi Peninsula. Figured out that the package is using the Mercator projection.
from react-svg-worldmap.
Indeed, it looks like this can be fixed by applying a rotation of [11, 0] (reference)
const projection = geoMercator().rotate([-11, 0]);
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
- Kindly add all remaining countries to countries.geo.js HOT 6
- 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.