The getMapTypeId() method returns the current map type.
| Value | Description |
|---|---|
| HYBRID | A photographic map + roads and city names |
| ROADMAP | A normal, default 2D map |
| SATELLITE | A photographic map |
| TERRAIN | A map with mountains, rivers, etc. |
Your message has been sent to W3Schools.