javalent / obsidian-leaflet

Adds interactive maps to Obsidian.md using Leaflet.js
486 stars 30 forks source link

Can't pan #318

Closed ThatRickGuy closed 1 year ago

ThatRickGuy commented 2 years ago

Hey there, maybe I'm doing something wrong here, but I can't figure out how to pan the map. Right clicking creates a market, mouse wheel zooms in and out, left clicking does nothing. It seems like left click and drag should be a pan interaction, but I've got nothing.

Windows 11 Obsidian 0.15.9 Obsidian Leaflet 5.0.3

id: leaflet-map
image: [[Khorvaire2.jpg]]
minZoom: 1
maxZoom: 10
defaultZoom: 6
unit: meters
scale: 1
height: 100%
width:100%