You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
ces3001
changed the title
Is there a way to have “AutoZoom” enabled for embedded codeblocks?
Is there a way to have “AutoZoom” (or “Fit”) enabled for embedded codeblocks?
Jul 2, 2023
Sounds super useful and I'd like to add this soon. However, I'm also seeing some potential for confusion and trouble here, as the "fit" setting will somehow need to work intuitively when users move and zoom the embedded map, then click 'Save'. How would you define such a case to behave -- should "fit" turn off when a user makes manual changes to the map?
My suggestion would be just that: the “Fit” option makes the view automatically fit (zoom and position) upon first draw and then turns off if the user adjusts the map. The button can be available to re-“fit” to starting zoom and position if desired but it’s now a user-initiated action, not automatic.
Thanks for considering!
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?
The text was updated successfully, but these errors were encountered: