Atlas icon indicating copy to clipboard operation
Atlas copied to clipboard

wrong centering for maps with lines that should cross -180 longitude

Open aaronpk opened this issue 8 years ago • 1 comments

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

aaronpk avatar Jan 10 '17 16:01 aaronpk

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

map

aaronpk avatar Jan 10 '17 16:01 aaronpk