Enum MarkerSize
Stay organized with collections
Save and categorize content based on your preferences.
MarkerSize
An enum representing the size of a marker added to a map.
To call an enum, you call its parent class, name, and property. For example,
Maps.MarkerSize.TINY
.
See also
Properties
Property | Type | Description |
TINY | Enum | Tiny sized markets (smallest available). Labels will not be visible on markers of this size. |
MID | Enum | Medium sized markers (largest available). |
SMALL | Enum | Small sized markers. Labels will not be visible on markers of this size. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 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. |"]]