Ref Getmaptypeid
# Google Maps API getMapTypeId() Method
[ Map() Constructor](#)
## Example
Returns the current map type:
map.getMapTypeId();
[Try it Β»](#)
* * *
## Definition and Usage
The getMapTypeId() method returns the current map type.
* * *
## Syntax
_mapvariable_.getMapTypeId();
* * *
## Return Values
| Value | Description |
| --- | --- |
| HYBRID | A photographic map with road and city names. |
| ROADMAP | A standard, default 2D map. |
| SATELLITE | A photographic map. |
| TERRAIN | A map with mountains, rivers, etc. |
* * Map() Constructor](#)
YouTip