إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى 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 | إما مفتاح السمة المطلوب ضبطها أو قاموس لأزواج المفتاح/القيمة المطلوب ضبطها على العنصر. |
value | الكائن، اختياري | القيمة الجديدة للسمة يكون ذلك مطلوبًا عندما تكون الوسيطة الأولى عبارة عن سلسلة مفاتيح. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]