Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Reference/share a map definition while overriding settings #357

Open
Jnosh opened this issue Mar 18, 2023 · 0 comments
Open
Assignees
Labels
Type: Feature New features or options.

Comments

@Jnosh
Copy link

Jnosh commented Mar 18, 2023

When using the same map in multiple places or notes, the full map definition needs to be provided each time.

It would be convenient to be able to define the base map settings (e.g. image, bounds, ...) only once and then reference that definition while overriding settings for additional occurrences of the map.

For example, there could be a main definition of a world map that configures the id, image map link and bounds as well as min & max zoom and sets the default zoom to show the whole map by default.
On a note for e.g. a nation one might then want to use the same world map but show the local area of the nation instead by referencing the existing world map definition and overriding width, height, long, lat, and defaultZoom to adjust the default area shown without having to duplicate the entire map definition.

@sigrunixia sigrunixia added Type: Feature New features or options. and removed wip labels Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New features or options.
Projects
None yet
Development

No branches or pull requests

3 participants