お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ui.Map.style
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
地図のスタイル ActiveDictionary を返します。このスタイルは、地図のスタイルを更新するために変更できます。
ui.Panel.style() ドキュメントに記載されている標準の UI API スタイルに加えて、ui.Map は次のカスタム スタイル オプションをサポートしています。
- cursor: カーソル。'crosshair' または 'hand'(デフォルト)を指定できます。
用途 | 戻り値 |
---|
Map.style() | ui.data.ActiveDictionary |
引数 | タイプ | 詳細 |
---|
これ: ui.map | ui.Map | ui.Map インスタンス。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eAccess and modify the map's styles using the \u003ccode\u003estyle()\u003c/code\u003e method, which returns an ActiveDictionary containing style properties.\u003c/p\u003e\n"],["\u003cp\u003eCustomize the map's cursor appearance with the \u003ccode\u003ecursor\u003c/code\u003e style option, choosing between 'crosshair' and the default 'hand'.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the \u003ccode\u003eui.Panel.style()\u003c/code\u003e documentation for standard UI API styles applicable to the map, in addition to the custom \u003ccode\u003ecursor\u003c/code\u003e option.\u003c/p\u003e\n"]]],[],null,["# ui.Map.style\n\n\u003cbr /\u003e\n\nReturns the map's style ActiveDictionary, which can be modified to update the map's styles.\n\n\u003cbr /\u003e\n\nIn addition to the standard UI API styles listed in the ui.Panel.style() documentation, ui.Map supports the following custom style option:\n\n- cursor, which can be 'crosshair' or 'hand' (default)\n\n| Usage | Returns |\n|---------------|--------------------------|\n| Map.style`()` | ui.data.ActiveDictionary |\n\n| Argument | Type | Details |\n|----------------|--------|----------------------|\n| this: `ui.map` | ui.Map | The ui.Map instance. |"]]