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/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 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/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