我正在寻找一种方法来绘制圆的半径或从圆心到圆的边缘的直线(以度数表示的精确坐标)。
是否可能?怎么做?
目前,我使用API从我的地图中心绘制了一个圆。但我认为这并没有什么帮助...
以下是我想要的示例:http://twitpic.com/aq40vv
是否可能?怎么做?
目前,我使用API从我的地图中心绘制了一个圆。但我认为这并没有什么帮助...
以下是我想要的示例:http://twitpic.com/aq40vv
var sunCircle = {
strokeColor: "#c3fc49",
strokeOpacity: 0.8,
strokeWeight: 2,
fillColor: "#c3fc49",
fillOpacity: 0.35,
map: map,
center: latlng,
radius: 1500
};
cityCircle = new google.maps.Circle(sunCircle)