Loading src/components/LIcon.vue +5 −1 Original line number Diff line number Diff line Loading @@ -82,7 +82,11 @@ export default { }; onMounted(async () => { const { DomEvent, divIcon: lDivIcon, icon: lIcon } = useGlobalLeaflet const { DomEvent, divIcon: lDivIcon, icon: lIcon, } = useGlobalLeaflet ? WINDOW_OR_GLOBAL.L : await import("leaflet/dist/leaflet-src.esm"); Loading src/functions/circle.js +2 −4 Original line number Diff line number Diff line Loading @@ -12,10 +12,8 @@ export const circleProps = { }; export const setupCircle = (props, leafletRef, context) => { const { options: circleMarkerOptions, methods: circleMarkerMethods, } = setupCircleMarker(props, leafletRef, context); const { options: circleMarkerOptions, methods: circleMarkerMethods } = setupCircleMarker(props, leafletRef, context); const options = propsToLeafletOptions( props, Loading src/functions/control.js +2 −4 Original line number Diff line number Diff line Loading @@ -10,10 +10,8 @@ export const controlProps = { }; export const setupControl = (props, leafletRef) => { const { options: componentOptions, methods: componentMethods, } = setupComponent(props); const { options: componentOptions, methods: componentMethods } = setupComponent(props); const options = propsToLeafletOptions(props, controlProps, componentOptions); Loading src/functions/layer.js +2 −4 Original line number Diff line number Diff line Loading @@ -28,10 +28,8 @@ export const layerProps = { export const setupLayer = (props, leafletRef, context) => { const addLayer = inject("addLayer"); const removeLayer = inject("removeLayer"); const { options: componentOptions, methods: componentMethods, } = setupComponent(props); const { options: componentOptions, methods: componentMethods } = setupComponent(props); const options = propsToLeafletOptions(props, layerProps, componentOptions); Loading src/functions/path.js +2 −4 Original line number Diff line number Diff line Loading @@ -51,10 +51,8 @@ export const pathProps = { }; export const setupPath = (props, leafletRef, context) => { const { options: interactiveLayerOptions, methods: interactiveLayerMethods, } = setupInteractiveLayer(props, leafletRef, context); const { options: interactiveLayerOptions, methods: interactiveLayerMethods } = setupInteractiveLayer(props, leafletRef, context); const options = propsToLeafletOptions( props, Loading Loading
src/components/LIcon.vue +5 −1 Original line number Diff line number Diff line Loading @@ -82,7 +82,11 @@ export default { }; onMounted(async () => { const { DomEvent, divIcon: lDivIcon, icon: lIcon } = useGlobalLeaflet const { DomEvent, divIcon: lDivIcon, icon: lIcon, } = useGlobalLeaflet ? WINDOW_OR_GLOBAL.L : await import("leaflet/dist/leaflet-src.esm"); Loading
src/functions/circle.js +2 −4 Original line number Diff line number Diff line Loading @@ -12,10 +12,8 @@ export const circleProps = { }; export const setupCircle = (props, leafletRef, context) => { const { options: circleMarkerOptions, methods: circleMarkerMethods, } = setupCircleMarker(props, leafletRef, context); const { options: circleMarkerOptions, methods: circleMarkerMethods } = setupCircleMarker(props, leafletRef, context); const options = propsToLeafletOptions( props, Loading
src/functions/control.js +2 −4 Original line number Diff line number Diff line Loading @@ -10,10 +10,8 @@ export const controlProps = { }; export const setupControl = (props, leafletRef) => { const { options: componentOptions, methods: componentMethods, } = setupComponent(props); const { options: componentOptions, methods: componentMethods } = setupComponent(props); const options = propsToLeafletOptions(props, controlProps, componentOptions); Loading
src/functions/layer.js +2 −4 Original line number Diff line number Diff line Loading @@ -28,10 +28,8 @@ export const layerProps = { export const setupLayer = (props, leafletRef, context) => { const addLayer = inject("addLayer"); const removeLayer = inject("removeLayer"); const { options: componentOptions, methods: componentMethods, } = setupComponent(props); const { options: componentOptions, methods: componentMethods } = setupComponent(props); const options = propsToLeafletOptions(props, layerProps, componentOptions); Loading
src/functions/path.js +2 −4 Original line number Diff line number Diff line Loading @@ -51,10 +51,8 @@ export const pathProps = { }; export const setupPath = (props, leafletRef, context) => { const { options: interactiveLayerOptions, methods: interactiveLayerMethods, } = setupInteractiveLayer(props, leafletRef, context); const { options: interactiveLayerOptions, methods: interactiveLayerMethods } = setupInteractiveLayer(props, leafletRef, context); const options = propsToLeafletOptions( props, Loading