Skip to content

Is there a way to have “AutoZoom” (or “Fit”) enabled for embedded codeblocks? #171

Closed
@ces3001

Description

@ces3001

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    p1High

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions