Dynamic refresh problem of Vue Baidu map overlay

Time:2021-3-22

Before, some functions were written normally. Today, we need to debug and test. When we run it, we can see that this circle drawing did not refresh. The last circle was still on the interface. Only by double clicking on the map to enlarge can we remove the history overlay of the map redrawing operation. It’s strange

 

I’m referring to Vue Baidu map, using custom controls to select the location of points on the map, and drop down to set the radius range. Gets the commit anchor and radius values.

In the dynamic operation of the map, the circle is not updated dynamically, and it doesn’t feel that the layer is rendered again. There is no official way to refresh the rendering layer

 

Does anyone know why?