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

Improve handling of gradients argument in addHeatmap #146

Merged
merged 4 commits into from
Apr 2, 2024

Conversation

jwolfson
Copy link
Contributor

@jwolfson jwolfson commented Jun 4, 2018

This minor change proposes two improvements:

  1. Allows user to specify a gradient of semi-transparent colors which will be incorporated in colorNumeric (by adding alpha = TRUE argument).
  2. Fixes bug which prevented users from specifying a colorNumeric function as the gradient argument.

This minor change proposes two improvements:
1) Allows user to specify a gradient of semi-transparent colors which will be incorporated in `colorNumeric` (by adding `alpha = TRUE` argument).
2) Fixes bug which prevented users from specifying a `colorNumeric` function as the `gradient` argument.
Improve handling of gradients in addHeatmap
@bhaskarvk
Copy link
Contributor

I'll be resuming development of leaflet.extras in Dec and will tackle this in that round. Thanks!

@trafficonese trafficonese merged commit a3f7a9c into trafficonese:master Apr 2, 2024
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.

3 participants