X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

Maps API MapTypeId Property

MapOption Object MapOption Object

Example

Specify what kind of map to display:

mapTypeId:google.maps.MapTypeId.ROADMAP

Try it yourself »

Definition and Usage

The MapTypeId specifies what kind of map to display.


Syntax

MapTypeId.CONSTANT


Constants of MapTypeId

Constant Description
HYBRID Displays a photographic map + roads and city names
ROADMAP Displays a normal, default 2D map
SATELLITE Displays a photographic map
TERRAIN Displays a map with mountains, rivers, etc.


MapOption Object MapOption Object


Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook