ee.Feature.setGeometry
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस फ़ंक्शन की मदद से, किसी सुविधा की ज्यामिति को बदलकर, नई ज्यामिति वाली सुविधा बनाई जा सकती है.
इस्तेमाल | रिटर्न |
---|
Feature.setGeometry(geometry) | एलिमेंट |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: feature | एलिमेंट | वह सुविधा जिस पर ज्यामिति सेट करनी है. |
geometry | ज्यामिति, डिफ़ॉल्ट: null | सेट करने के लिए ज्यामिति. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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\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. |"]]