공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ui.Map.GeometryLayer
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
ui.Map에 도형으로 표시할 ee.Geometry 레이어입니다.
사용 | 반환 값 |
---|
ui.Map.GeometryLayer(geometries, name, color, shown, locked) | ui.Map.GeometryLayer |
인수 | 유형 | 세부정보 |
---|
geometries | List<Geometry>, 선택사항 | 레이어를 초기화할 도형입니다. |
name | 문자열, 선택사항 | 레이어의 이름입니다. |
color | 문자열, 선택사항 | 레이어에 있는 도형의 CSS 색상입니다(예: 'white' 또는 '#FFFFFF'). 기본값은 '#000000' (검은색)입니다. |
shown | 불리언, 선택사항 | 레이어에 도형을 표시할지 여부입니다. 기본값은 true입니다. |
locked | 불리언, 선택사항 | 레이어에서 도형 수정을 잠글지 여부입니다. 기본값은 false입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003e\u003ccode\u003eui.Map.GeometryLayer\u003c/code\u003e displays a layer of Earth Engine Geometries as shapes on a \u003ccode\u003eui.Map\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe layer can be customized with geometries, name, color, visibility (\u003ccode\u003eshown\u003c/code\u003e), and editability (\u003ccode\u003elocked\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eDefault color for shapes is black ("#000000") and the layer is shown and unlocked by default.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create a GeometryLayer with \u003ccode\u003eui.Map.GeometryLayer(geometries, name, color, shown, locked)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# ui.Map.GeometryLayer\n\n\u003cbr /\u003e\n\nA layer of ee.Geometries for display as shapes on a ui.Map.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------|----------------------|\n| `ui.Map.GeometryLayer(`*geometries* `, `*name* `, `*color* `, `*shown* `, `*locked*`)` | ui.Map.GeometryLayer |\n\n| Argument | Type | Details |\n|--------------|----------------------------|---------------------------------------------------------------------------------------------------------|\n| `geometries` | List\\\u003cGeometry\\\u003e, optional | The geometries with which to initialize the layer. |\n| `name` | String, optional | The name of the layer. |\n| `color` | String, optional | The CSS color of shapes in the layer, for instance \"white\" or \"#FFFFFF\". Defaults to \"#000000\" (black). |\n| `shown` | Boolean, optional | Whether to show the shapes in the layer. Defaults to true. |\n| `locked` | Boolean, optional | Whether to lock shape editing in the layer. Defaults to false. |"]]