javalent / obsidian-leaflet

Adds interactive maps to Obsidian.md using Leaflet.js
481 stars 29 forks source link

[Feature Request] Custom backgrounds for markers #354

Closed Jnosh closed 1 year ago

Jnosh commented 1 year ago

When defining markers with custom icons and "Layer Icon" disabled, the markers can be hard to see depending on the marker icon, color and the local map colors.

It would be useful to be able to have a background color onto which the icon is placed to help the marker icons stand out clearly from the map itself.

The background shape might be fixed or maybe a selection between a circle or rounded rectangle. The background color should probably be configurable separately from the marker color or at least use a good high contrast default color.

More complex versions of this feature might:

valentine195 commented 1 year ago

5.5.2 improves marker visibility... can you let me know if this helps you?

Jnosh commented 1 year ago

Yes, that works great. Thanks!