What is the default behavior of Google Maps maptypecontrolstyle?
google.maps.MapTypeControlStyle.DEFAULT displays the default behavior, which depends on screen size and may change in future versions of the API. Note that if you do modify any control options, you should explicitly enable the control as well by setting the appropriate MapOptions value to true.
What are controls in Maps API?
What controls can I use in my maps?
Below is a list of the full set of controls you can use in your maps: The Zoom control displays “+” and “-” buttons for changing the zoom level of the map. This control appears by default in the bottom right corner of the map.
How do I add a custom control to a Google map?
This property contains an array of google.maps.ControlPosition s. You add a custom control to the map by adding the Node (typically the ) to an appropriate ControlPosition. (For information on these positions, see Control Positioning above.)
What is the use of maptypecontroloptions?
mapTypeControl enables/disables the Map Type control that lets the user toggle between map types (such as Map and Satellite). By default, this control is visible and appears in the top left corner of the map. The mapTypeControlOptions field additionally specifies the MapTypeControlOptions to use for this control.
How do I use the map type control?
The Map Type control is available in a dropdown or horizontal button bar style, allowing the user to choose a map type (ROADMAP, SATELLITE, HYBRID, or TERRAIN). This control appears by default in the top left corner of the map.
What is a maptype?