我使用
绘制了圆圈 circle = new google.maps.Circle({
map: map,
radius: r, // 1 miles in metres = 1609.3 m
strokeWeight:1,
strokeOpacity:0.5,
fillOpacity:0.2,
fillColor: '#AA0000'
});
circle.bindTo('center', marker, 'position');
如何从地图中删除圆圈?
答案 0 :(得分:10)
circle.setMap(null);
将移除圆圈