From 1ed6f123339e3ce5a51e265f4e77ee110c0c24c9 Mon Sep 17 00:00:00 2001 From: xiongjj Date: Fri, 5 Jul 2024 16:46:13 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90feature=E3=80=91=E5=8A=A8=E6=80=81?= =?UTF-8?q?=E6=A0=87=E8=AE=B0=E5=9B=BE=E5=B1=82=20props=20=E8=B5=8B?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=80=BC=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web-map/layer/animate-marker/AnimateMarkerLayer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapboxgl/web-map/layer/animate-marker/AnimateMarkerLayer.vue b/src/mapboxgl/web-map/layer/animate-marker/AnimateMarkerLayer.vue index 476ab5b7..298f17e4 100644 --- a/src/mapboxgl/web-map/layer/animate-marker/AnimateMarkerLayer.vue +++ b/src/mapboxgl/web-map/layer/animate-marker/AnimateMarkerLayer.vue @@ -55,7 +55,7 @@ class AnimateMarkerLayer extends Mixins(MapGetter, Layer) { @Prop() textField: string; - @Prop() fitBounds: boolean = true; + @Prop({ default: true }) fitBounds: boolean; @Watch('features') featuresChanged(newVal, oldVal) {