Enum Type
Stay organized with collections
Save and categorize content based on your preferences.
Type
An enum representing the type of map to render.
To call an enum, you call its parent class, name, and property. For example,
Maps.Type.ROADMAP
.
See also
Properties
Property | Type | Description |
ROADMAP | Enum | A standard roadmap, as is normally shown on the Google Maps website. |
SATELLITE | Enum | A satellite map. |
TERRAIN | Enum | A physical relief map, showing terrain and vegetation. |
HYBRID | Enum | A hybrid of the satellite and roadmap maps, showing a transparent layer of major streets and
place names on the satellite map. |
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-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eMaps.Type\u003c/code\u003e is an enum used to specify the type of map to be displayed, such as roadmap, satellite, terrain, or hybrid.\u003c/p\u003e\n"],["\u003cp\u003eYou can call a specific map type using the syntax \u003ccode\u003eMaps.Type.[property]\u003c/code\u003e, for example, \u003ccode\u003eMaps.Type.ROADMAP\u003c/code\u003e for a standard roadmap view.\u003c/p\u003e\n"],["\u003cp\u003eThis enum offers four map type properties: \u003ccode\u003eROADMAP\u003c/code\u003e, \u003ccode\u003eSATELLITE\u003c/code\u003e, \u003ccode\u003eTERRAIN\u003c/code\u003e, and \u003ccode\u003eHYBRID\u003c/code\u003e, each representing a different map style.\u003c/p\u003e\n"]]],[],null,["# Enum Type\n\nType\n\nAn enum representing the type of map to render.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nMaps.Type.ROADMAP`.\n\n#### See also\n\n- [Google Static Maps API](/maps/documentation/staticmaps#MapTypes) \n\n### Properties\n\n| Property | Type | Description |\n|-------------|--------|--------------------------------------------------------------------------------------------------------------------------------|\n| `ROADMAP` | `Enum` | A standard roadmap, as is normally shown on the Google Maps website. |\n| `SATELLITE` | `Enum` | A satellite map. |\n| `TERRAIN` | `Enum` | A physical relief map, showing terrain and vegetation. |\n| `HYBRID` | `Enum` | A hybrid of the satellite and roadmap maps, showing a transparent layer of major streets and place names on the satellite map. |"]]