Loading src/functions/layer.js +8 −1 Original line number Diff line number Diff line import { onUnmounted, provide, inject } from "vue"; import { onUnmounted, provide, inject, h } from "vue"; export const props = { pane: { Loading Loading @@ -101,3 +101,10 @@ export const setup = (props, leafletRef, context) => { return { options, methods }; }; export const render = (ready, context) => () => { if (ready.value && context.slots.default) { return h("div", { style: { display: "none" } }, context.slots.default()); } return null; }; Loading
src/functions/layer.js +8 −1 Original line number Diff line number Diff line import { onUnmounted, provide, inject } from "vue"; import { onUnmounted, provide, inject, h } from "vue"; export const props = { pane: { Loading Loading @@ -101,3 +101,10 @@ export const setup = (props, leafletRef, context) => { return { options, methods }; }; export const render = (ready, context) => () => { if (ready.value && context.slots.default) { return h("div", { style: { display: "none" } }, context.slots.default()); } return null; };