Enum MarkerSize
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
MarkerSize
代表在地圖中加入的標記大小的列舉。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
Maps.MarkerSize.TINY
。
另請參閱
屬性
屬性 | 類型 | 說明 |
TINY | Enum | 小型市場 (最小可用市場)。標籤不會顯示在這個大小的標記上。 |
MID | Enum | 中型標記 (可用的最大尺寸)。 |
SMALL | Enum | 小型標記。標籤不會顯示在這個大小的標記上。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]