esm7 / obsidian-map-view

Interactive map view for Obsidian.md
MIT License
607 stars 32 forks source link

URL template to allow multiple replacements #283

Open t3mujin opened 2 weeks ago

t3mujin commented 2 weeks ago

Seems like the logic of parsing the URL for Custom "Open in" only is replacing the first occurrence, but it would be great to allow to replace all. An example, I was trying to set an URL for OsmAnd with a pin, so I have to set two sets of coordinates, one for the pin and other for the map itself, something like: https://osmand.net/map/?pin={x},{y}#9/{x}/{y}

But what's being sent to the browser is only the first set replaced

esm7 commented 2 weeks ago

Already done, will be in the next release.