Vue2Leaflet
Vue2Leaflet copied to clipboard
mapObject not accessible in L.GeoJson in IE11
Description
I'm making a map with a line that changes after click. All works fine in Chrome, Safari, Firefox and Edge, but not in IE11.
The LGeoJson is stored as ref="line"
<l-geo-json ref="line" :geojson="line" :options-style="options"></l-geo-json>
In my method I want to access the line like this.$refs.line.getBounds(), the ref exists but has no .mapObject or getBounds() in IE11.
@sstenn thank you for the issue, could you provide a reproduction codesandbox ? it would help me a lot
@sstenn thank you for the issue, could you provide a reproduction codesandbox ? it would help me a lot
https://codesandbox.io/embed/qlljl3voj9
@DonNicoJs
@sstenn Thank you, very much I will look into it during the next days ( yay easter is here and I have free time )
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.