phylogeography / spread

Spread visualizes how viruses and other pathogens are spreading in time and space. It creates compellable shareable, interactive and time-animated visualization.
https://spreadviz.org
MIT License
15 stars 0 forks source link

maps do not cross dateline #166

Closed KanikaNahata closed 2 years ago

KanikaNahata commented 2 years ago

Problem

Maps end at the dateline leading to blank space when scrolling left or right (as shown in the movie below). https://user-images.githubusercontent.com/29096492/151525313-45a37643-7c94-413a-ac1d-bf0fc3725d74.mov

Would it be possible to have a map like google does?

image

Similar to issues raised by SpreaD3 users:

jpmonettas commented 2 years ago

I'm not 100% sure what this is about. I see that on google maps you have this infinite panning and it wraps around. I'm not sure how that should work for animations like transitions, but pretty sure we can NOT implement it because of how we are drawing maps and animation objects using svg instead of a canvas.

amymariecampbell commented 1 year ago

I don't think infinite panning is necessary, but if the shorter/more likely journey is across the pacific (ie leaving the svg on the right and then reappearing on the left), it would be good if it could show that direction rather than a longer/ less likely route restricted by a 2D dateline-defined map