diff --git a/src/components/wms/AnimatedRasterLayer.vue b/src/components/wms/AnimatedRasterLayer.vue index b1e1af654..9317a1bd0 100644 --- a/src/components/wms/AnimatedRasterLayer.vue +++ b/src/components/wms/AnimatedRasterLayer.vue @@ -33,7 +33,7 @@ interface Props { } const props = withDefaults(defineProps(), {}) -const isLoading = defineModel('isLoading', { type: Boolean, default: false }) +const isLoading = defineModel('isLoading', { default: false }) const emit = defineEmits(['doubleclick']) diff --git a/src/components/wms/AnimatedStreamlineRasterLayer.vue b/src/components/wms/AnimatedStreamlineRasterLayer.vue index d6d9d1216..e46d784cd 100644 --- a/src/components/wms/AnimatedStreamlineRasterLayer.vue +++ b/src/components/wms/AnimatedStreamlineRasterLayer.vue @@ -23,7 +23,7 @@ interface Props { streamlineOptions?: StreamlineLayerOptionsFews } const props = defineProps() -const isLoading = defineModel('isLoading', { type: Boolean, default: false }) +const isLoading = defineModel('isLoading', { default: false }) const emit = defineEmits(['doubleclick']) const { map } = useMap()