Closed
Description
The use case is probably the same as most people’s, if not all, use case for the embedded codeblock, which is to display the current note’s locations.
I am generating a note of my locations automatically from a tracking app. Most of the time a Zoomlevel of 13-15 works fine if I’m not travelling. If I’m travelling or flying there is no way to know the proper zoom level apriori without a lot of guess-work and programming on my end. Wondering if there is an easy “Auto” or “Fit” setting for the “mapZoom” key, as this is already a feature in the plug-in for the right-pane map.
If not, maybe you can give me the algorithm to determine zoom from the range in lat and lon?