ui.Map.CloudStorageLayer.setBucket
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ตั้งค่าที่เก็บข้อมูลสำหรับเลเยอร์นี้
แสดงผลเลเยอร์แผนที่นี้
การใช้งาน | การคืนสินค้า |
---|
CloudStorageLayer.setBucket(bucket) | ui.Map.CloudStorageLayer |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ ui.map.cloudstoragelayer | ui.Map.CloudStorageLayer | อินสแตนซ์ ui.Map.CloudStorageLayer |
bucket | สตริง | ชื่อที่เก็บข้อมูล Cloud Storage ที่มีไทล์ของเลเยอร์นี้ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[],["The core function of `CloudStorageLayer.setBucket` is to assign a specific Cloud Storage bucket to a map layer. This method, when invoked on a `ui.Map.CloudStorageLayer` instance, takes a string argument named `bucket` representing the Cloud Storage bucket's name. After execution, it returns the `ui.Map.CloudStorageLayer` instance, effectively associating the provided bucket with that layer.\n"],null,[]]