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) {