ee.Feature.getInfo
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ฟังก์ชันที่จำเป็นซึ่งแสดงข้อมูลเกี่ยวกับฟีเจอร์นี้ผ่านการเรียก AJAX
แสดงผลคำอธิบายของฟีเจอร์
การใช้งาน | การคืนสินค้า |
---|
Feature.getInfo(callback) | GeoJSONFeature |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ feature | ฟีเจอร์ | อินสแตนซ์ฟีเจอร์ |
callback | ฟังก์ชัน (ไม่บังคับ) | การเรียกกลับที่ไม่บังคับ หากไม่ได้ระบุไว้ ระบบจะโทรแบบพร้อมกัน หากระบุไว้ ระบบจะเรียกใช้พารามิเตอร์แรกหากสำเร็จ และพารามิเตอร์ที่ 2 หากไม่สำเร็จ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThe \u003ccode\u003eFeature.getInfo\u003c/code\u003e function retrieves descriptive information about a specific feature using an AJAX call.\u003c/p\u003e\n"],["\u003cp\u003eIt provides details about the feature in GeoJSONFeature format and can be used synchronously or asynchronously with a callback function.\u003c/p\u003e\n"],["\u003cp\u003eThe function is called on a Feature instance and accepts an optional callback function for handling the response.\u003c/p\u003e\n"]]],[],null,["# ee.Feature.getInfo\n\n\u003cbr /\u003e\n\nAn imperative function that returns information about this feature via an AJAX call.\n\n\u003cbr /\u003e\n\nReturns a description of the feature.\n\n| Usage | Returns |\n|---------------------------------|----------------|\n| Feature.getInfo`(`*callback*`)` | GeoJSONFeature |\n\n| Argument | Type | Details |\n|-----------------|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `feature` | Feature | The Feature instance. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. If supplied, will be called with the first parameter if successful and the second if unsuccessful. |"]]