My Geographic Extremes

These four points represent the limits of the travels in my lifetime toward the four cardinal points: north, south, east and west. For example, I have never been further north than 52.5561°N, which was the location of Terminal C in the old Tegel Airport in Berlin.

You may wonder why my westernmost point is located in east longitude. It's a fair question.
When my furthest west was in Hawaii, halfway across the Pacific, figuring out the westernmost very easy; but once I finally travelled to Asia, I went all the way across the Pacific. So far, in fact, that I crossed the 180° longitude line. This means that I was now in the Eastern Hemisphere, even though I was travelling west. So, until I finally travel all the way around the globe, my westernmost points will be places that I reach by travelling west from North America, even though they are in eastern longitudes.



The primary technical challenge in this map was getting Leaflet to center the map so that the westernmost point in the west. When provided with longitudinal boundaries of 23°E and 98°E, the Leaflet algorithm tries to center the map halfway between those two lines, or somewhere around 60°E.
The key to achieving the look I wanted was to convert that 98°E value to be relative to a western longtiude. Since the line is 81° west of the 180° line, I needed to add 81 degrees to 180 and fake out Leaflet with a longitude of 261°W.


©2023-24 Dan Stober
Map created 2022-07-24
Last Updated 2024-01-20


Back to Carto Dan page
Back to DanStober.net