ui.Map.Linker
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ยูทิลิตีสำหรับสร้างแผนที่ที่ลิงก์
การใช้งาน | การคืนสินค้า |
---|
ui.Map.Linker(maps, event) | ui.Map.Linker |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
maps | List<Object> (ไม่บังคับ) | รายการแผนที่ที่จะลิงก์ |
event | สตริง ไม่บังคับ | เหตุการณ์ที่จะลิงก์ในแผนที่ ค่าเริ่มต้นคือ
"change-bounds" เหตุการณ์ที่เป็นไปได้ประกอบด้วย
- change-bounds
- change-center
- เปลี่ยนการซูม
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eThe \u003ccode\u003eui.Map.Linker\u003c/code\u003e utility enables the creation of linked maps, synchronizing their interactions.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts a list of maps and an optional event to link, defaulting to "change-bounds" which synchronizes panning and zooming.\u003c/p\u003e\n"],["\u003cp\u003eOther linkable events include "change-center" for center synchronization and "change-zoom" for zoom synchronization.\u003c/p\u003e\n"]]],[],null,["# ui.Map.Linker\n\n\u003cbr /\u003e\n\nA utility for creating linked maps.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------|---------------|\n| `ui.Map.Linker(`*maps* `, `*event*`)` | ui.Map.Linker |\n\n| Argument | Type | Details |\n|----------|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| `maps` | List\\\u003cObject\\\u003e, optional | A list of maps to link. |\n| `event` | String, optional | The event to link across the maps. Defaults to \"change-bounds\". Possible events comprise: - change-bounds - change-center - change-zoom |"]]