ee.Feature.setGeometry
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפונקציה מחזירה את הישות עם הגיאומטריה שהוחלפה בגיאומטריה שצוינה.
שימוש | החזרות |
---|
Feature.setGeometry(geometry) | רכיב |
ארגומנט | סוג | פרטים |
---|
זה: feature | רכיב | התכונה שעליה רוצים להגדיר את הגיאומטריה. |
geometry | גיאומטריה, ברירת מחדל: null | הגיאומטריה להגדרה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003eFeature.setGeometry()\u003c/code\u003e modifies an existing feature by replacing its geometry with a new one.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts the new geometry as an argument and returns the updated feature element.\u003c/p\u003e\n"],["\u003cp\u003eThe specified geometry can be any valid geometry object or null.\u003c/p\u003e\n"]]],[],null,["# ee.Feature.setGeometry\n\nReturns the feature with the geometry replaced by the specified geometry.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------|---------|\n| Feature.setGeometry`(`*geometry*`)` | Element |\n\n| Argument | Type | Details |\n|-----------------|-------------------------|-------------------------------------------|\n| this: `feature` | Element | The feature on which to set the geometry. |\n| `geometry` | Geometry, default: null | The geometry to set. |"]]