Loading src/components/LGeoJson.vue +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ export default { const useGlobalLeaflet = inject(GLOBAL_LEAFLET_OPT); const addLayer = inject("addLayer"); const { methods, options } = geoJSONSetup(props, leafletRef); const { methods, options } = geoJSONSetup(props, leafletRef, context); onMounted(async () => { const { geoJSON, DomEvent } = useGlobalLeaflet 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/geoJSON.js +3 −2 Original line number Diff line number Diff line Loading @@ -11,10 +11,11 @@ export const props = { }, }; export const setup = (props, leafletRef) => { export const setup = (props, leafletRef, context) => { const { options: layerOptions, methods: layerGroupMethods } = layerGroupSetup( props, leafletRef leafletRef, context ); const options = { 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/LGeoJson.vue +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ export default { const useGlobalLeaflet = inject(GLOBAL_LEAFLET_OPT); const addLayer = inject("addLayer"); const { methods, options } = geoJSONSetup(props, leafletRef); const { methods, options } = geoJSONSetup(props, leafletRef, context); onMounted(async () => { const { geoJSON, DomEvent } = useGlobalLeaflet 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/geoJSON.js +3 −2 Original line number Diff line number Diff line Loading @@ -11,10 +11,11 @@ export const props = { }, }; export const setup = (props, leafletRef) => { export const setup = (props, leafletRef, context) => { const { options: layerOptions, methods: layerGroupMethods } = layerGroupSetup( props, leafletRef leafletRef, context ); const options = { 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