إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ui.Map.DrawingTools.getMap
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تعرض هذه الطريقة الخريطة الخاصة بأدوات الرسم هذه أو القيمة null إذا لم تتم إضافة أدوات الرسم إلى خريطة.
الاستخدام | المرتجعات |
---|
DrawingTools.getMap() | ui.Map |
الوسيطة | النوع | التفاصيل |
---|
هذا: ui.map.drawingtools | ui.Map.DrawingTools | مثيل ui.Map.DrawingTools |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe \u003ccode\u003egetMap()\u003c/code\u003e method returns the ui.Map associated with the drawing tools.\u003c/p\u003e\n"],["\u003cp\u003eIf the drawing tools haven't been added to a map, \u003ccode\u003egetMap()\u003c/code\u003e returns null.\u003c/p\u003e\n"],["\u003cp\u003eThis method is accessed through a ui.Map.DrawingTools instance.\u003c/p\u003e\n"]]],["The `DrawingTools.getMap()` method retrieves the map associated with drawing tools. It returns a `ui.Map` object if the drawing tools are linked to a map; otherwise, it returns `null`. The method requires the `ui.Map.DrawingTools` instance as input, identified as `this: ui.map.drawingtools`, to specify the drawing tools from which to get the map.\n"],null,["# ui.Map.DrawingTools.getMap\n\n\u003cbr /\u003e\n\nReturns the map for these drawing tools or null if the drawing tools have not been added to a map.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------|---------|\n| DrawingTools.getMap`()` | ui.Map |\n\n| Argument | Type | Details |\n|-----------------------------|---------------------|-----------------------------------|\n| this: `ui.map.drawingtools` | ui.Map.DrawingTools | The ui.Map.DrawingTools instance. |"]]