// 지도 초기화 letmap = newktGms.Map({ }); // map options // 지도 내에서 touchstart 이벤트가 발생할 때 실행되는 이벤트 리스너를 설정합니다. map.on("touchstart", function() { console.log("A touchstart event occurred."); });
// 지도 초기화 letmap = newktGms.Map({ }); // map options // 지도 내에서 touchend 이벤트가 발생할 때 실행되는 이벤트 리스너를 설정합니다. map.on("touchend", function() { console.log("A touchend event occurred."); });
// 지도 초기화 letmap = newktGms.Map({ }); // map options // 지도 내에서 touchmove 이벤트가 발생할 때 실행되는 이벤트 리스너를 설정합니다. map.on("touchmove", function() { console.log("A touchmove event occurred."); });
// 지도 초기화 letmap = newktGms.Map({ }); // map options // 지도 내에서 touchcancel 이벤트가 발생할 때 실행되는 이벤트 리스너를 설정합니다. map.on("touchcancel", function() { console.log("A touchcancel event occurred."); });
MapTouchEvent의 이벤트 유형입니다.
touchstart
지도 내에서
touchstart
이벤트가 발생하면 시작됩니다.touchend
지도 내에서
touchend
이벤트가 발생하면 시작됩니다.touchmove
지도 내에서
touchmove
이벤트가 발생하면 시작됩니다.touchcancel
지도 내에서
touchcancel
이벤트가 발생하면 시작됩니다.