공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Image.getMapId
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
지도 오버레이를 생성하는 데 적합한 지도 ID와 선택적 토큰을 반환하는 명령형 함수입니다.
ee.data.getTileUrl 또는 ui.Map.addLayer에 전달될 수 있는 객체를 반환합니다. 콜백이 지정된 경우 정의되지 않습니다.
사용 | 반환 값 |
---|
Image.getMapId(visParams, callback) | MapId|Object |
인수 | 유형 | 세부정보 |
---|
다음과 같은 경우: image | 이미지 | 이미지 인스턴스입니다. |
visParams | ImageVisualizationParameters(선택사항) | 시각화 매개변수입니다. |
callback | 함수(선택사항) | 비동기 콜백입니다. 제공되지 않으면 호출이 동기적으로 이루어집니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003e\u003ccode\u003eImage.getMapId\u003c/code\u003e generates a map ID and an optional token for creating map overlays from Earth Engine images.\u003c/p\u003e\n"],["\u003cp\u003eThis function returns an object compatible with \u003ccode\u003eee.data.getTileUrl\u003c/code\u003e and \u003ccode\u003eui.Map.addLayer\u003c/code\u003e for displaying the image on a map.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize the visualization of the image overlay using optional visualization parameters.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eImage.getMapId\u003c/code\u003e can be used synchronously, returning the map ID object directly, or asynchronously with a callback function.\u003c/p\u003e\n"]]],[],null,["# ee.Image.getMapId\n\n\u003cbr /\u003e\n\nAn imperative function that returns a map ID and optional token, suitable for generating a Map overlay.\n\n\u003cbr /\u003e\n\nReturns an object which may be passed to ee.data.getTileUrl or ui.Map.addLayer. Undefined if a callback was specified.\n\n| Usage | Returns |\n|------------------------------------------------|---------------|\n| Image.getMapId`(`*visParams* `, `*callback*`)` | MapId\\|Object |\n\n| Argument | Type | Details |\n|---------------|----------------------------------------|---------------------------------------------------------------------|\n| this: `image` | Image | The Image instance. |\n| `visParams` | ImageVisualizationParameters, optional | The visualization parameters. |\n| `callback` | Function, optional | An async callback. If not supplied, the call is made synchronously. |"]]