// 현재 위치 기준 원 그리기 var populationOptions = { strokeColor: '#000000', strokeOpacity: 0.8, strokeWeight: 2, fillColor: '#808080', fillOpacity: 0.5, map: map, center: new google.maps.LatLng(latitude,longitude) , radius: 10000 }; cityCircle = new google.maps.Circle(populationOptions);
위 부분이 원을 그리기 위한 소스입니다.
수정해야할 곳. >> 이곳에 위경도 값을 입력하면 됩니다. center: new google.maps.LatLng(latitude,longitude) ,
// 현재 위치 기준 원 그리기
var populationOptions = {
strokeColor: '#000000',
strokeOpacity: 0.8,
strokeWeight: 2,
fillColor: '#808080',
fillOpacity: 0.5,
map: map,
center: new google.maps.LatLng(latitude,longitude) ,
radius: 10000
};
cityCircle = new google.maps.Circle(populationOptions);
위 부분이 원을 그리기 위한 소스입니다.
수정해야할 곳.
>> 이곳에 위경도 값을 입력하면 됩니다.
center: new google.maps.LatLng(latitude,longitude) ,
즐프하세요~