Loading src/components/LTileLayer.vue +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ export default { const useGlobalLeaflet = inject(GLOBAL_LEAFLET_OPT); const addLayer = inject("addLayer"); const { options, methods } = tileLayerSetup(props, leafletRef); const { options, methods } = tileLayerSetup(props, leafletRef, context); onMounted(async () => { const { tileLayer, DomEvent } = useGlobalLeaflet Loading src/functions/tileLayer.js +2 −2 Original line number Diff line number Diff line Loading @@ -20,11 +20,11 @@ export const props = { }, }; export const setup = (props, leafletRef) => { export const setup = (props, leafletRef, context) => { const { options: gridLayerOptions, methods: gridLayerMethods, } = gridLayerSetup(props, leafletRef); } = gridLayerSetup(props, leafletRef, context); const options = { ...gridLayerOptions, tms: props.tms, Loading Loading
src/components/LTileLayer.vue +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ export default { const useGlobalLeaflet = inject(GLOBAL_LEAFLET_OPT); const addLayer = inject("addLayer"); const { options, methods } = tileLayerSetup(props, leafletRef); const { options, methods } = tileLayerSetup(props, leafletRef, context); onMounted(async () => { const { tileLayer, DomEvent } = useGlobalLeaflet Loading
src/functions/tileLayer.js +2 −2 Original line number Diff line number Diff line Loading @@ -20,11 +20,11 @@ export const props = { }, }; export const setup = (props, leafletRef) => { export const setup = (props, leafletRef, context) => { const { options: gridLayerOptions, methods: gridLayerMethods, } = gridLayerSetup(props, leafletRef); } = gridLayerSetup(props, leafletRef, context); const options = { ...gridLayerOptions, tms: props.tms, Loading