Erez Shermer 2026-03-18 14:02:53 +02:00
parent c9edcc7124
commit 6bd754a002
2 changed files with 7 additions and 1 deletions

View file

@ -837,6 +837,12 @@ And while both plugins are about maps and use Leaflet.js as their visual engine,
## Changelog
### Unreleased
- Fix to https://github.com/esm7/obsidian-map-view/issues/385.
- Fix to GPX registration causing plugin crashes.
- Fix to https://github.com/esm7/obsidian-map-view/issues/383.
### 6.1.2
- By a very common request, Map View on mobile can now auto-add the current location to notes (e.g. your daily notes). See [here](#auto-adding-location-to-notes) for more details.

View file

@ -1242,7 +1242,7 @@ export default class MapViewPlugin extends Plugin {
utils.goToEditorLocation(editor, cursorPos, false),
);
} else {
const leaf = this.app.workspace.activeLeaf;
const leaf = this.app.workspace.getLeaf(false);
await leaf.openFile(file, { active: true });
const editor = utils.getEditor(this.app);
if (editor)