Geovation / labelgun

🏷️ reducing label clutter across mapping libraries
https://geovation.github.io/labelgun/
113 stars 10 forks source link

Fix Leaflet example when BENCHMARKING == false #15

Closed tomchadwin closed 7 years ago

tomchadwin commented 7 years ago

The benchmarking reset labels function passed a counter into addLabel(), but the non-benchmarking version did not. This adds the counter.

JamesLMilner commented 7 years ago

Thanks for the PR. I've removed benchmarking from the file so this shouldn't be a problem now. I will probably move to API only benchmarking in the future any how!