obsidian-map-view icon indicating copy to clipboard operation
obsidian-map-view copied to clipboard

World Map Display Question

Open cjt3 opened this issue 1 year ago • 1 comments

Sorry for the vague title, but I'm not sure how to succinctly state what I'm asking. When plotting two points on a map -- one in Asia and one in North America -- I would like to show Asia on the left and North America on the right. However, I can only get the map to show the reverse. Is there a way for me to change a setting somewhere, or would this be a new feature request.

Map view required to show both points: Screenshot 2024-01-07 094116

Map view I would like to see, but Asia point is off map to the right: Screenshot 2024-01-07 094248

Moving the center point slightly shows the Asia point, but now the North America point is off map to the left: Screenshot 2024-01-07 094222

cjt3 avatar Jan 07 '24 15:01 cjt3

By default Leaflet (the underlying mapping infrastructure) performs "wrapping", and Map View goes along with it -- but seems like there's indeed a bug in the way markers are displayed in a wrapped map. I'm not sure if that's a Map View bug or a Leaflet bug, but I'll look into it.

esm7 avatar Jan 09 '24 11:01 esm7