Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make a world map centered on the pacific ocean? #31

Open
saishikawa opened this issue May 14, 2019 · 0 comments
Open

How to make a world map centered on the pacific ocean? #31

saishikawa opened this issue May 14, 2019 · 0 comments

Comments

@saishikawa
Copy link

Hello,

I'm trying to visualize the virus phylogeography and transmissions among South-East Asia and pacific ocean islands (fiji, french polynesia, etc...). I used /data/geoJSON_maps/world.geojson to plot our MCC tree from BEAST. The problem on the result (attached) is that the pacific ocean region is splitted by the international date line and put at both edge of the map, so that there is a lot of lines jumping from the left to right (right to left) on the map. The problem remains if I use the subregion maps, e.g. /data/geoJSON_maps/region_wb_East_Asia_and_Pacific_subunits.geojson.

I want to make a map centered on the pacific ocean. It seems that I need to modify the javascript code generated by SpreaD3, main.js to change the coordinate of the map-center but I'm not clear which points should be modified. I very appreciate if you could give me some comments on this issue.

Best,
pacific_phylogeo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant