|
|
|
@ -214,24 +214,6 @@ export const NaverCustomMap = () => {
|
|
|
|
|
setMapObject(new naver.maps.Map('map', mapOptions)); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const createUamArea = uam => { |
|
|
|
|
const title = uam.title; |
|
|
|
|
const position = new naver.maps.LatLng(uam.lat, uam.lon); |
|
|
|
|
|
|
|
|
|
const circle = new naver.maps.Circle({ |
|
|
|
|
strokeColor: '#283046', |
|
|
|
|
strokeOpacity: 1, |
|
|
|
|
fillColor: '#7367F0', |
|
|
|
|
fillOpacity: 0.1, |
|
|
|
|
center: position, |
|
|
|
|
// map: mapObject,
|
|
|
|
|
radius: 100, |
|
|
|
|
clickable: true |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
// circle.setMap(mapObject);
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const handleHistoryInit = line => { |
|
|
|
|
setArrPolyline([...arrPolyline, line]); |
|
|
|
|
}; |
|
|
|
|