Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon colours #4

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from
Open

Icon colours #4

wants to merge 2 commits into from

Conversation

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

@george-silva Help wanted with the missing bits

@george-silva
Copy link

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