Skip to content

Bug: "Tag name to denote inline geolocations" breaks map view on iOS when vault has images in it #181

Closed
@OmegaJak

Description

@OmegaJak

I've found a scenario where the map view will not populate with any locations inside the iOS mobile app, but works fine on desktop versions of Obsidian (don't have an android device to test on).

Steps to reproduce:

  1. New vault
  2. Add this plugin
  3. Add a note with an inline geolocation (note that the map view still works fine at this point)
  4. Set the value of the option "Tag name to denote inline geolocations" to something, I've been using "#locations" (map view still works fine)
  5. Insert an image attachment into this file or any other file, such that the image is added to the vault
  6. Open the map view, and observe that it is now empty

This was tested with:

  • Version 3.1.1 of this plugin
  • iOS Obsidian Mobile app v1.4.6
  • iOS version 15.6

Removing the value from the "Tag name to denote inline geolocations" option resolves the issue, but is not a suitable workaround for vaults where that tag is relied on instead of the frontmatter YAML. Removing all images from the vault also fixes the issue.

This problem does not occur in the dekstop versions of Obsidian.

I'll be investigating this a little further to see what else I can find.

Metadata

Metadata

Assignees

No one assigned

    Labels

    p0Critical

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions