공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ui.Map.DrawingTools.unlisten
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
콜백을 삭제합니다.
사용 | 반환 값 |
---|
DrawingTools.unlisten(idOrType) | |
인수 | 유형 | 세부정보 |
---|
다음과 같은 경우: ui.map.drawingtools | ui.Map.DrawingTools | ui.Map.DrawingTools 인스턴스입니다. |
idOrType | 문자열, 선택사항 | 콜백 등록 중에 onEventType() 함수에서 반환된 ID, 이벤트 유형 또는 아무것도 아닙니다. ID가 전달되면 해당 콜백이 삭제됩니다. 이벤트 유형이 전달되면 해당 유형의 모든 콜백이 삭제됩니다. 아무것도 전달되지 않으면 모든 콜백이 삭제됩니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eThe \u003ccode\u003eDrawingTools.unlisten()\u003c/code\u003e method removes registered callbacks, allowing you to control the behavior of drawing tools interactions.\u003c/p\u003e\n"],["\u003cp\u003eYou can selectively remove callbacks by specifying a unique ID, an event type, or remove all by omitting any arguments.\u003c/p\u003e\n"],["\u003cp\u003eThis function is accessed through the \u003ccode\u003eui.map.drawingtools\u003c/code\u003e instance and requires either an ID, event type, or no parameters as input.\u003c/p\u003e\n"]]],[],null,["# ui.Map.DrawingTools.unlisten\n\n\u003cbr /\u003e\n\nDeletes callbacks.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------|---------|\n| DrawingTools.unlisten`(`*idOrType*`)` | |\n\n| Argument | Type | Details |\n|-----------------------------|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `ui.map.drawingtools` | ui.Map.DrawingTools | The ui.Map.DrawingTools instance. |\n| `idOrType` | String, optional | Either an ID returned by an onEventType() function during callback registration, an event type, or nothing. If an ID is passed, the corresponding callback is deleted. If an event type is passed, all callbacks for that type are deleted. If nothing is passed, all callbacks are deleted. |"]]