Map API getMapTypeId()
Method
Example
Returns the current map type:
Definition and Usage
The getMapTypeId() method returns the current map type.
Syntax
Return Value
Value | Description |
---|---|
HYBRID | A photographic map with roads and city names. |
ROADMAP | A standard map, default is 2D. |
SATELLITE | A photographic map. |
TERRAIN | A map with mountains, rivers, etc. |