-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix choropleth hover for countries w/ have polygons that cross -180
- these countries are Russia and Fiji. - Note that other countries have polygons on either side of the antimeridian (e.g. some Aleutian island for the USA), but those don't confuse the 'contains' method.
- Loading branch information
Showing
3 changed files
with
64 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nice sleuthing! Good thing Russia doesn't also cross the prime meridian! I wonder though, is there a way we could do this at the build stage so we don't need this special handling while plotting?