javalent / obsidian-leaflet

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

🐞Please delete this issue #451

Closed LeonardoCarolo closed 2 months ago

LeonardoCarolo commented 2 months ago

Check for existing bug reports before submitting.

Expected Behavior

When selecting a file to go to through the marker, if a canvas is selected, it should open the canvas file.

Current behaviour

Instead of opening a Canvas through the marker, it creates an empty note of the same name.

Reproduction

  1. Create a marker
  2. Assign the target file as a canvas
  3. Click the marker

Which Operating Systems are you using?

Obsidian Version Check

1.6.5

Plugin Version

6.0.5

Confirmation

Possible solution

No response

meisterbierkules commented 1 day ago

Just in case someone else finds this issue: As a canvas is not the typical markdown file the link needs to be "filename.canvas". Obsidian won't add the file extension even if the file was directly selected in the dialog.