I’m not sure if this is the proper location for this question so if it isn’t please point me to where it should go.
I’m adding maps to my vault using the Leaflet plugin and while most things are working great, I’ve been trying to add custom map markers using Frontmatter and failing.
If I use a predefined marker like such:
---
location: [667.6701, 808.0892]
mapmarker: Business
---
Everything works as expected and I see the marker on my map. However, when I try to create a custom marker using this code from the documentation:
---
location: [709.618, 901.0364]
mapmarker:
icon: user # Font Awesome icon name.
color: 00ff00 # Hex color string. Optional.
layer: false # Whether or not to layer. Optional.
---
A default marker appears and the mapmarker details are ignored.
While I could create a new definition for every marker I want, sometimes I just need a different color or a one time marker which means that this would be very useful.
Does this functionality still exist in Leaflet and if so, what am I doing wrong?
Thanks