Skip to content

Icon colours#4

Open
IvanSanchez wants to merge 2 commits intogh-pagesfrom
icon-colours
Open

Icon colours#4
IvanSanchez wants to merge 2 commits intogh-pagesfrom
icon-colours

Conversation

@IvanSanchez
Copy link
Copy Markdown
Member

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
Copy link
Copy Markdown
Member Author

@george-silva Help wanted with the missing bits

@george-silva
Copy link
Copy Markdown

george-silva commented Dec 2, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants