-
Notifications
You must be signed in to change notification settings - Fork 74
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
extend the fillOpacity option in the function addGeoJSONChoropleth() #53
Comments
Yes it is certainly possible to do this. I will add it to my list. |
Thank you very much. |
Hi @bhaskarvk I saw that your are working again on the great leaflet.extra package. Is this issue still on your work list? |
Yup, I hope to close out most issues in next 1 to 2 month period. |
…according issue trafficonese#53 fillOpacity can now be set with a property value
@TrantorM do you have a working solution for this? |
@trafficonese sorry, I'm not working on this anymore. |
Ok, but you're fork seems to work with different fillOpacities or am I wrong? |
Hi @bhaskarvk
Thank you very much for this wonderful package. You did a great job.
The option
fillOpacity
in the functionaddGeoJSONChoropleth()
seems to work just with a constant value (e.g.fillOpacity = 0.7
). Would it be possible to extend it, that it can handle also feature properties in the same way like the valueProperty can do? In this was, one could weight the opacity of the polygons e.g. according to the significance of the data. In the example below I want to control the opacity with thedist_num
property, which is meaningless but it shows what I want to do.The text was updated successfully, but these errors were encountered: