Closed justice47 closed 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
vue2-leaflet
package.json
this.parent.removeLayer
this.parent.removeControl
beforeDestroy()
Thanks for your contribution! Nice fix.
Sorry for the wait btw, I couldn't find time to test it locally until now. It works 💯
Updated
vue2-leaflet
to v2.2.1 inpackage.json
, changedthis.parent.removeLayer
tothis.parent.removeControl
inbeforeDestroy()
hook based on fchabouis proposal in #10 issue