Unverified Commit 96fda254 authored by Michael Underwood's avatar Michael Underwood Committed by GitHub
Browse files

Merge pull request #264 from unshame/fix-100

markRaw leaflet map instance to prevent deep conversion to proxies
parents f9a95558 496e2a63
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
import {
  computed,
  h,
  markRaw,
  nextTick,
  onBeforeUnmount,
  onMounted,
@@ -345,7 +346,7 @@ export default {
      updateLeafletWrapper(registerControl, methods.registerControl);
      updateLeafletWrapper(registerLayerControl, methods.registerLayerControl);

      blueprint.leafletRef = map(root.value, options);
      blueprint.leafletRef = markRaw(map(root.value, options));

      propsBinder(methods, blueprint.leafletRef, props);
      const listeners = remapEvents(context.attrs);