voluntadpear / vue-choropleth

Choropleth Map component for Vue.js
MIT License
117 stars 57 forks source link

Updated vue2-leaflet, fixed beforeDestroy() hook #12

Closed justice47 closed 5 years ago

justice47 commented 5 years ago

Updated vue2-leaflet to v2.2.1 in package.json, changed this.parent.removeLayer to this.parent.removeControl in beforeDestroy() hook based on fchabouis proposal in #10 issue

voluntadpear commented 5 years ago

Thanks for your contribution! Nice fix.

Sorry for the wait btw, I couldn't find time to test it locally until now. It works 💯