Browse Source

드론 시뮬레이션 - 드론마커 중심점 수정

pull/2/head
junh_eee 2 years ago
parent
commit
31cf8c7369
  1. 4
      src/components/map/nhn/NMapMarker.js

4
src/components/map/nhn/NMapMarker.js

@ -44,7 +44,9 @@ export const NMapMarker = props => {
title: id, title: id,
id: id, id: id,
icon: { icon: {
url: DronIcon url: DronIcon,
origin: new naver.maps.Point(0,0),
anchor: new naver.maps.Point(15, 15),
} }
}); });
props.map.setCenter(position); props.map.setCenter(position);

Loading…
Cancel
Save