Enum MarkerSize
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เครื่องหมายขนาด
อาร์เรย์แบบจำกัดที่แสดงขนาดของตัวทำเครื่องหมายที่เพิ่มลงในแผนที่
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
Maps.MarkerSize.TINY
ดูเพิ่มเติม
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
TINY | Enum | ตลาดขนาดเล็ก (เล็กที่สุดที่มี) ป้ายกำกับจะไม่แสดงบนเครื่องหมายขนาดนี้ |
MID | Enum | เครื่องหมายขนาดกลาง (ใหญ่ที่สุดที่มี) |
SMALL | Enum | เครื่องหมายขนาดเล็ก ป้ายกำกับจะไม่แสดงบนเครื่องหมายขนาดนี้ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003eMarkerSize\u003c/code\u003e is an enum used to define the size of markers on a map.\u003c/p\u003e\n"],["\u003cp\u003eIt offers three options: \u003ccode\u003eTINY\u003c/code\u003e, \u003ccode\u003eSMALL\u003c/code\u003e (both without visible labels), and \u003ccode\u003eMID\u003c/code\u003e (largest size).\u003c/p\u003e\n"],["\u003cp\u003eMarker sizes are implemented by calling the parent class, name, and property, such as \u003ccode\u003eMaps.MarkerSize.TINY\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum MarkerSize\n\nMarkerSize\n\nAn enum representing the size of a marker added to a map.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nMaps.MarkerSize.TINY`.\n\n#### See also\n\n- [Google Static Maps API](/maps/documentation/staticmaps#MarkerStyles) \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------|----------------------------------------------------------------------------------------------|\n| `TINY` | `Enum` | Tiny sized markets (smallest available). Labels will not be visible on markers of this size. |\n| `MID` | `Enum` | Medium sized markers (largest available). |\n| `SMALL` | `Enum` | Small sized markers. Labels will not be visible on markers of this size. |"]]