topic description
**vue-baidu-map**
sources of topics and their own ideas
circlePath.radius
![][1]
related codes
/ / Please paste the code text below (do not replace the code with pictures)
<baidu-map class="map" :double-click-zoom="false" :center="mapCenter" :zoom="zoom">
<bm-circle
:clicking="false"
:center="circlePath.center"
:radius="circlePath.radius"
fillColor="rgba(28,207,198,0.3)"
stroke-color="rgba(28,207,198,1)"
:stroke-opacity="0.1"
:stroke-weight="4"
@lineupdate="updateCirclePath"
></bm-circle>
</baidu-map>
sliderVal(min) {
const newR = 300 + parseInt(7 * min);
this.newRadius = newR;
this.circlePath.radius = this.newRadius
},
updateCirclePath(e) {
this.circlePath.radius = this.newRadius
},
what result do you expect? What is the error message actually seen?
problem description
![][2]
the environmental background of the problems and what methods you have tried
baidu-map,bm-circle
related codes
/ / Please paste the code text below (do not replace the code with pictures)
what result do you expect? What is the error message actually seen?
bm-circleradius