Leaflet.Icon.Glyph icon indicating copy to clipboard operation
Leaflet.Icon.Glyph copied to clipboard

Icon colours

Open IvanSanchez opened this issue 9 years ago • 2 comments

This implements a canvas-based hue rotation of the default icon for this plugin. So instead of blue markers, the user can have other colours.

Things to do before merging the code:

  • [ ] Investigate the possibility of using CSS colours and calculating the HSL shift(s) needed
  • [ ] Implement white & black markers, maybe grey too
  • [ ] Write docs about L.Icon.Glyph.getColorIconUrl(color)
  • [ ] Make the demo-iconcolor.html example prettier, fix the text

IvanSanchez avatar Dec 02 '16 13:12 IvanSanchez

@george-silva Help wanted with the missing bits

IvanSanchez avatar Dec 02 '16 13:12 IvanSanchez

@IvanSanchez cool. I surely can help with the last two :+1: Give me some time to dig in and I'll try first two.

george-silva avatar Dec 02 '16 13:12 george-silva