ee.data.getFeatureViewTilesKey
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
รับคีย์ไทล์สำหรับแผนที่หรือชิ้นงานที่ต้องการ คุณส่งคีย์ไทล์ไปยังอินสแตนซ์ของ FeatureViewTileSource ซึ่งแสดงผลบนแผนที่ฐานภายนอกโปรแกรมแก้ไขโค้ดได้
แสดงผลการโทร เป็น Null หากมีการระบุการเรียกกลับ
การใช้งาน | การคืนสินค้า |
---|
ee.data.getFeatureViewTilesKey(params, callback) | FeatureViewTilesKey |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
params | FeatureViewVisualizationParameters | พารามิเตอร์การแสดงภาพเป็นออบเจ็กต์ JavaScript (ฝั่งไคลเอ็นต์) สำหรับเนื้อหา FeatureView
assetId (สตริง) รหัสชิ้นงานที่จะรับคีย์ไทล์ |
visParams (Object) พารามิเตอร์การแสดงภาพสำหรับเลเยอร์นี้ |
|
callback | ฟังก์ชัน (ไม่บังคับ) | การเรียกกลับที่ไม่บังคับ หากไม่ได้ระบุไว้ ระบบจะโทรแบบพร้อมกัน |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eObtain a tiles key for a specified map or asset to use with FeatureViewTileSource for rendering on a base map.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eee.data.getFeatureViewTilesKey\u003c/code\u003e function takes visualization parameters and an optional callback, returning a FeatureViewTilesKey.\u003c/p\u003e\n"],["\u003cp\u003eFeatureView assets require specifying the asset ID and visualization parameters within the parameters object.\u003c/p\u003e\n"]]],[],null,["# ee.data.getFeatureViewTilesKey\n\n\u003cbr /\u003e\n\nGet a tiles key for a given map or asset. The tiles key can be passed to an instance of FeatureViewTileSource which can be rendered on a base map outside of the Code Editor.\n\n\u003cbr /\u003e\n\nReturns the call results. Null if a callback is specified.\n\n| Usage | Returns |\n|--------------------------------------------------------|---------------------|\n| `ee.data.getFeatureViewTilesKey(params, `*callback*`)` | FeatureViewTilesKey |\n\n| Argument | Type | Details |\n|------------|------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `params` | FeatureViewVisualizationParameters | The visualization parameters as a (client-side) JavaScript object. For FeatureView assets: |---------------------------------------------------------------------| | ` assetId ` (string) The asset ID for which to obtain a tiles key. | | ` visParams ` (Object) The visualization parameters for this layer. | |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]