javalent / obsidian-leaflet

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

Saving multiple tile sets globally #301

Closed kepano closed 1 year ago

kepano commented 2 years ago

I love the feature of being able to have multiple tile sets available for a map.

Since I pretty much always use the same sets of tiles across all of my maps, it would be useful to be able to define these globally in the plugin settings

valentine195 commented 2 years ago

You can specify the default tile server in settings, unless I misunderstood your request

kepano commented 2 years ago

Currently you can specify one default for light and one for dark. But I am suggesting saving multiple tile sets globally, e.g.

You can do this by adding the tile sets in the query, which gives you a nice picker menu on the map (screenshot below). The limitation is that you can't add these at the global level, so it requires adding that preference to every query.

Screen Shot 2022-05-01 at 12 11 47 PM
sigrunixia commented 1 year ago

@valentine195 Is this one resolved?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.