إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
Map.style
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تعرض هذه السمة ActiveDictionary لنمط الخريطة، ويمكن تعديلها لتحديث أنماط الخريطة.
بالإضافة إلى أنماط واجهة برمجة التطبيقات UI API العادية المدرَجة في مستندات ui.Panel.style()، تتيح "الخريطة" خيار النمط المخصّص التالي:
- المؤشر، الذي يمكن أن يكون "crosshair" أو "hand" (تلقائي)
الاستخدام | المرتجعات |
---|
Map.style() | ui.data.ActiveDictionary |
لا توجد وسيطات.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe \u003ccode\u003eMap.style()\u003c/code\u003e function grants access to the Map's style dictionary, enabling style modifications.\u003c/p\u003e\n"],["\u003cp\u003eCustom style options for the Map include setting the cursor to 'crosshair' or the default 'hand'.\u003c/p\u003e\n"],["\u003cp\u003eCalling \u003ccode\u003eMap.style()\u003c/code\u003e with no arguments returns a ui.data.ActiveDictionary object containing the current styles.\u003c/p\u003e\n"]]],["The `Map.style()` method returns an `ActiveDictionary` that controls the Map's visual styles. This `ActiveDictionary` can be directly modified to change these styles. In addition to standard UI API styles, the Map also allows customization of the cursor, which can be set to either 'crosshair' or 'hand', with 'hand' being the default. The method takes no arguments.\n"],null,["# 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, the Map supports the following custom style option:\n\n- cursor, which can be 'crosshair' or 'hand' (default)\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------|--------------------------|\n| `Map.style()` | ui.data.ActiveDictionary |\n\n**No arguments.**"]]