Atlas
Atlas copied to clipboard
wrong centering for maps with lines that should cross -180 longitude
Right now the map is always drawn with -180 on the left. When a line spans for example Tokyo to LA, the line is drawn the wrong way instead of crossing the -180 line.
- Pick a better center for the map
- Wrapping the map tiles around the -180 line
- Draw path lines crossing the -180 line
e.g. https://atlas.p3k.io/map/img?basemap=gray&width=800&height=240&path[]=[-122.64,45.515],[139.683,35.6833]&bezier=25