Note: If you modify a control, always enable the control first (set it to true).
Another configurable control is the MapType control.
Options for modifying a control are specified in the mapTypeControlOptions field. The mapTypeControlOptions field may contain::
google.maps.MapTypeControlStyle.HORIZONTAL_BAR - display one button for each map type
google.maps.MapTypeControlStyle.DROPDOWN_MENU - select map type via a dropdown menu
google.maps.MapTypeControlStyle.DEFAULT - displays the "default" behavior (depends on screen size)
Example