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]: Creating Markers from frontmatter for map with multiple layers #386

Open
zoccer5555 opened this issue May 6, 2023 · 4 comments
Labels
Type: Feature New features or options.

Comments

@zoccer5555
Copy link

Summary

Creating Markers from frontmatter for map with multiple layers

Detailed Description

When creating a leaflet map, it is possible to use a markerTag, markerFolder or markerFile to create markers via the frontmatter of other notes. But when the map consists of multiple layers, there is no way to define in the frontmatter on which layer the corresponding marker should appear.

Context and Use Case

I want to make my maps "immutable" in a sense that if i move my map or my linked notes around in my vault, it still works without me changing anything. Thats why i use a tag for every big map i make.
I guess, if someone uses the option markerTag or markerFolder, it could happen that they also want to use multiple layers.

Possible Implementation(s)

I suggest giving an optional key like "layer: layer2" or an optional way to integrate it in the "location" key like "location: [5.4, -2.6, layer2]" or "location: [[5.4, -2.6] layer2]" or something like this. And this should create the same key-value pair which is created if one creates a marker on the layer by hand.
I think it still should default to the first layer if no layer is given, because thats most often the biggest map.

Argue against Yourself

I guess if until now no one had an issue with that, maybe i'm the only one and its not that important. Most of the time i could just create multiple maps instead of one with multiple layers

Are you willing to personally help out on this project, such as design, documentation, coding, project management, etc? (Bold One)

I can't say how much overhead it is to get the environment started to code and test everything. I guess/hope this would be just the addition of one key? If i can help somehow, i would do it.

@stale
Copy link

stale bot commented Jun 20, 2023

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.

@stale stale bot added the stale label Jun 20, 2023
@zoccer5555
Copy link
Author

Marking this as still wanted.

@stale stale bot removed the stale label Jun 20, 2023
@stale
Copy link

stale bot commented Aug 4, 2023

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.

@stale stale bot added the stale label Aug 4, 2023
@sigrunixia sigrunixia added Type: Feature New features or options. and removed stale labels Aug 11, 2023
@MrYod
Copy link

MrYod commented Aug 31, 2023

I found the same issue: with mutable markers you can choose the layer, but not with immutable ones... =(

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