お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ui.Map.GeometryLayer.set
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
指定されたプロパティの値を設定します。指定されたキーがオブジェクトでサポートされていない場合は、エラーをスローします。コンストラクタのパラメータを確認して、設定できるプロパティを確認します。
この ui.data.ActiveDictionary を返します。
用途 | 戻り値 |
---|
GeometryLayer.set(keyOrDict, value) | ui.data.ActiveDictionary |
引数 | タイプ | 詳細 |
---|
これ: ui.data.activedictionary | ui.data.ActiveDictionary | ui.data.ActiveDictionary インスタンス。 |
keyOrDict | Object|String | 設定するプロパティのキー、またはオブジェクトに設定する Key-Value ペアのディクショナリ。 |
value | オブジェクト、省略可 | プロパティの新しい値。最初の引数がキー文字列の場合に必要です。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eAllows modification of a GeometryLayer's properties by setting the value of a given property using a key or a dictionary of key/value pairs.\u003c/p\u003e\n"],["\u003cp\u003eThrows an error if the provided key is not a supported property, refer to the constructor's parameters for valid properties.\u003c/p\u003e\n"],["\u003cp\u003eReturns the ui.data.ActiveDictionary instance after the property modification.\u003c/p\u003e\n"],["\u003cp\u003eRequires a value argument when the first argument is a key string, indicating the new value for the specified property.\u003c/p\u003e\n"]]],[],null,["# ui.Map.GeometryLayer.set\n\n\u003cbr /\u003e\n\nSets the value of a given property. Throws an error if the key provided is not supported by the object. Look at the constructor's parameters to see which properties can be set.\n\n\u003cbr /\u003e\n\nReturns this ui.data.ActiveDictionary.\n\n| Usage | Returns |\n|-------------------------------------------|--------------------------|\n| GeometryLayer.set`(keyOrDict, `*value*`)` | ui.data.ActiveDictionary |\n\n| Argument | Type | Details |\n|----------------------------------|--------------------------|------------------------------------------------------------------------------------------------|\n| this: `ui.data.activedictionary` | ui.data.ActiveDictionary | The ui.data.ActiveDictionary instance. |\n| `keyOrDict` | Object\\|String | Either the key of the property to set or a dictionary of key/value pairs to set on the object. |\n| `value` | Object, optional | The property's new value. This is required when the first argument is a key string. |"]]