obsidian-map-view icon indicating copy to clipboard operation
obsidian-map-view copied to clipboard

Lucide icon support

Open whoszatarash opened this issue 3 months ago • 1 comments

Greetings!

Title, basically. I would like to be able to use icons from the Lucide package, the one that both Obsidian and most icon plugins make use of.

This is for a cohesive UI. My Vault is meant to be used by other people, so it would be easier for them for the UI/UX to be familiar. The icons I make use of in the map aren't the same as the ones I have in my notes; even though similar, they're different enough for users that aren't used to the platform.

TL;DR: Would like the plugin to match the whole iconography of the Obsidian ecosystem (i.e. the ones the software, its plugins and themes make use of).

P.S.: Found this single issue talking about Lucide. Unsure if the thought of including it already crossed your mind and / or if it was discarded already, but thought of bringing it up anyways — would love to hear what you think.

Thanks in advance. Best regards, Z.

whoszatarash avatar Sep 09 '25 02:09 whoszatarash

I haven't done this before because Map View renders markers using Leaflet.ExtraMarkers, which doesn't support Lucide. However, since making this decision a lot has changed, Map View now has tons of custom rendering code, and I believe it should be possible with relatively low effort. It will take me time to get to it, since my current focus is to release the already huge 6.0.0 version and I'm trying not to add more features to it, but it's a good candidate for 6.1 together with https://github.com/esm7/obsidian-map-view/issues/183 which requires work on the same code.

esm7 avatar Sep 09 '25 05:09 esm7