함수 링크 복사

지도를 한 번 탭 하였을 때 호출되며 탭한 위치의 정보와 카텍(KATEC) 좌표 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
singleTappedWitScreenPoint: (CGPoint) aScreenPoint
coordinate: (FloatPoint) aCoordinate;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
터치 이벤트가 발생한 화면 좌표
aCoordinate
터치 이벤트가 발생한 카텍(KATEC) 좌표

지도를 두 번 탭(이중 탭) 하였을 때 호출되며 마지막으로 탭한 위치의 정보와 카텍(KATEC) 좌표 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
doubleTappedWithScreenPoint: (CGPoint) aScreenPoint
coordinate: (FloatPoint) aCoordinate;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
마지막 터치 이벤트가 발생한 화면 좌표
aCoordinate
마지막 터치 이벤트가 발생한 카텍(KATEC) 좌표

지도의 한 곳을 길게 눌렀을 때 호출되며 누른 위치의 정보와 카텍(KATEC) 좌표 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
longPressedWithScreenPoint: (CGPoint) aScreenPoint
coordinate: (FloatPoint) aCoordinate;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
터치 이벤트가 발생한 화면 좌표
aCoordinate
터치 이벤트가 발생한 카텍(KATEC) 좌표

지도를 한 방향으로 빠르게 움직이는 패닝(panning) 동작을 시작하는 시점에서 호출되며 탭한 위치의 정보와 카텍(KATEC) 좌표 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
panningStartedWitScreenPoint: (CGPoint) aScreenPoint
coordinate: (FloatPoint) aCoordinate;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
터치 이벤트가 발생한 화면 좌표
aCoordinate
터치 이벤트가 발생한 카텍(KATEC) 좌표

지도를 한 방향으로 빠르게 움직이는 패닝(panning) 동작을 진행하는 동안에 호출되며 이동할 때 변화하는 위치의 정보와 카텍(KATEC) 좌표 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
panningChangingWithScreenPoint: (CGPoint) aScreenPoint
coordinate: (FloatPoint) aCoordinate;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
변화되는 위치에 따른 화면 좌표
aCoordinate
변화되는 위치에 따른 카텍(KATEC) 좌표

지도를 한 방향으로 빠르게 움직이는 패닝(panning) 동작을 종료하는 시점에서 호출되며 마지막으로 손가락을 뗀 위치의 정보와 카텍(KATEC) 좌표 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
panningEndedWithScreenPoint: (CGPoint) aScreenPoint
coordinate: (FloatPoint) aCoordinate;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
이벤트 종료하는 시점의 화면 좌표
aCoordinate
이벤트 종료하는 시점의 카텍(KATEC) 좌표

지도를 두 손가락을 이용해 오므리거나 벌려 화면의 확대 또는 축소를 시작하는 시점에서 호출되며 탭한 위치의 정보와 줌 레벨 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
zoomingStartedWithScreenPoint: (CGPoint) aScreenPoint
zoom: (float) aZoom;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
터치 이벤트가 발생한 화면 좌표
aZoom
현재 지도의 줌 레벨

지도를 두 손가락을 이용해 오므리거나 벌려 화면의 확대 또는 축소를 진행하는 동안에 호출되며 변화하는 위치의 정보와 줌 레벨 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
zoomingChangingWithScreenPoint: (CGPoint) aScreenPoint
zoom: (float) aZoom;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
화면 축소/확대에 따른 화면 좌표
aZoom
현재 지도의 줌 레벨

지도를 두 손가락을 이용해 오므리거나 벌려 화면의 확대 또는 축소를 종료하는 시점에서 호출되며 마지막으로 손가락을 뗀 위치의 정보와 줌 레벨 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
zoomingEndedWithScreenPoint: (CGPoint) aScreenPoint
zoom: (float) aZoom;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
이벤트 종료하는 시점의 화면 좌표
aZoom
현재 지도의 줌 레벨

지도를 두 손가락을 이용해 시계 방향 또는 반시계 방향으로 회전을 시작하는 시점에서 호출되며 탭한 위치의 정보와 회전 각도 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
bearingStartedWitScreenPoint: (CGPoint) aScreenPoint
bearing: (float) aBearing;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
터치 이벤트가 발생한 화면 좌표
aBearing
현재 지도의 회전 각도

지도를 두 손가락을 이용해 시계 방향 또는 반시계 방향으로 회전을 진행하는 동안에 호출되며 탭한 위치의 정보와 변화하는 회전 각도 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
bearingChangingWitScreenPoint: (CGPoint) aScreenPoint
bearing: (float) aBearing;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
화면 회전에 따른 화면 좌표
aBearing
현재 지도의 회전 각도

지도를 두 손가락을 이용해 시계 방향 또는 반시계 방향으로 회전을 종료하는 시점에서 호출되며 마지막으로 손가락을 뗀 위치의 정보와 회전 각도 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
bearingEndedWitScreenPoint: (CGPoint) aScreenPoint
bearing: (float) aBearing;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
이벤트 종료하는 시점의 화면 좌표
aBearing
현재 지도의 회전 각도

지도를 두 손가락을 이용해 수직 방향으로 움직여 기울기 조정을 시작하는 시점에서 호출되며 탭한 위치의 정보와 기울기 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
tiltingStartedWitScreenPoint: (CGPoint) aScreenPoint
tilt: (float) aTilt;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
터치 이벤트가 발생한 화면 좌표
aTilt
현재 지도의 기울기

지도를 두 손가락을 이용해 수직 방향으로 움직여 기울기 조정을 진행하는 동안에 호출되며 탭한 위치의 정보와 변화하는 기울기 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
tiltingChangingWitScreenPoint: (CGPoint) aScreenPoint
tilt: (float) aTilt;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
기울기에 따른 화면 좌표
aTilt
현재 지도의 기울기

지도를 두 손가락을 이용해 수직 방향으로 움직여 기울기 조정을 종료하는 시점에서 호출되며 마지막으로 손가락을 뗀 위치의 정보와 기울기 정보를 반환합니다.

- (void) mapView: (KNMapView*) aMapView
tiltingEndedWithScreenPoint: (CGPoint) aScreenPoint
tilt: (float) aTilt;

aMapView
터치 이벤트가 발생한 맵 뷰
aScreenPoint
이벤트 종료하는 시점의 화면 좌표
aTilt
현재 지도의 기울기

지도에서 moveAnimateCamera를 호출한 뒤 카메라 애니메이션 동작이 취소된 시점에 호출됩니다.

- (void) mapView: (KNMapView*) aMapView
cameraAnimationCanceledWithCameraUpdate: (KNMapCameraUpdate*) aCameraUpdate;

aMapView
카메라 이벤트가 발생한 맵 뷰
aCameraUpdate
카메라 정보

지도에서 moveAnimateCamera를 호출한 뒤 카메라 애니메이션 동작이 끝나는 시점에 호출됩니다.

- (void) mapView: (KNMapView*) aMapView
cameraAnimationEndedWithCameraUpdate: (KNMapCameraUpdate*) aCameraUpdate;

aMapView
카메라 이벤트가 발생한 맵 뷰
aCameraUpdate
카메라 정보

지도에서 사용자 위치의 애니메이션 동작이 끝나는 시점에 호출됩니다.

- (void) userLocationAnimationEnded: (KNMapView *_Nonnull) aMapView;

aMapView
사용자 위치가 등록된 맵 뷰

지도에 표시된 경로 중 하나를 터치하여 선택할 경우 선택된 경로와 인덱스 정보를 반환합니다.

- (void) mapView: (KNMapView *_Nonnull) aMapView
onRouteSelected: (KNRoute*_Nonnull) aRoute
index: (int) aIndex;

aMapView
KNRoute가 등록된 맵 뷰
aRoute
선택된 경로
aIndex
지도에 등록된 경로 목록에서 선택된 경로의 인덱스 정보

지도에 표시된 관심 지점(POI)을 선택할 경우 선택된 POI의 ID와 이름, 위치 정보(KATEC 좌표)를 반환합니다.

- (void) mapView: (KNMapView *_Nonnull) aMapView
onPOISelected: (SInt64) aPOIId
poiName: (NSArray* _Nullable) aPOIName
coordinate: (FloatPoint) aCoordinate;

aMapView
KNRoute가 등록된 맵 뷰
aPOIId
선택된 관심 지점(POI)의 ID
aPOIName
선택된 관심 지점(POI)의 이름 정보
aCoordinate
선택된 관심 지점(POI)의 카텍(KATEC) 정보