brandonxiang / leaflet.marker.highlight

Highlight performance for L.marker
https://brandonxiang.github.io/leaflet.marker.highlight/
MIT License
64 stars 24 forks source link

Passing the highligth color in a function, option #9

Open EzequielGv83 opened 5 years ago

EzequielGv83 commented 5 years ago

This plugin is quite good, but you're limited to what the CSS file color for the glow flare is set.

What about selecting the color of the effect (radius etc...) overriding the default CSS or inhereting the color of the marker.

I use BeautifyMarker and maybe its possible to get the backgroundColor of the marker and use it for the glow and flare.

brandonxiang commented 2 years ago

great idea! Maybe it will be a feature