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 | सेट की जाने वाली प्रॉपर्टी की कुंजी या ऑब्जेक्ट पर सेट किए जाने वाले की/वैल्यू पेयर की डिक्शनरी. |
value | ऑब्जेक्ट, ज़रूरी नहीं है | प्रॉपर्टी की नई वैल्यू. जब पहला आर्ग्युमेंट कोई कुंजी स्ट्रिंग होता है, तब इसकी ज़रूरत होती है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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. |"]]