coryasilva / Leaflet.ExtraMarkers

Custom Markers for Leaflet JS based on Awesome Markers
MIT License
331 stars 125 forks source link

marker color #74

Closed ra-esmith closed 2 months ago

ra-esmith commented 2 years ago

the list of colors is limited. Would be great to be able to pass in an RGB value We need a level of heat map (so color changes) and can't seem to do it easily.

OPEN1004MIND commented 1 year ago

I want a list of the names of the icons. I'm guessing at the names I type with fa-icon, but I don't know what exactly is supported. It's not even the name of the actual ionicons.designerpack, so I'm looking for a list of icon names that start with fa-.

coryasilva commented 2 months ago

If svg: true you can use the markerColor property to affect the svg fill. It takes a string but the string can be hex, rgb(), rgba(), hsl(), hsla() syntax.

coryasilva commented 2 months ago

open1004mind, that is out of scope for this project. Please refer to you icon library instead. The fa- prefix is for fontawesome.