timwis / leaflet-choropleth

Choropleth plugin for Leaflet (color scale based on value)
http://timwis.com/leaflet-choropleth/examples/basic
MIT License
182 stars 233 forks source link

Set Scale #12

Open reyemtm opened 8 years ago

reyemtm commented 8 years ago

Is it possible to set the scale/breaks manually? something like scale: ["50", "80", "100"]?

abrin commented 8 years ago

We created a pull request that does this by allowing a custom function to handle this:

https://github.com/timwis/leaflet-choropleth/pull/9

but it's not been merged back

timwis commented 8 years ago

Shoot guys I'm so sorry for letting this get buried! I'll get on this asap