CameraControlOptions interface
google.maps.CameraControlOptions
interface
The display options for the Camera control.
Properties | |
---|---|
position optional |
Type:
ControlPosition optional Position id. Used to specify the position of the control on the map. |
FullscreenControlOptions interface
google.maps.FullscreenControlOptions
interface
Options for the rendering of the fullscreen control.
Properties | |
---|---|
position optional |
Type:
ControlPosition optional Position id. Used to specify the position of the control on the map. |
MapTypeControlOptions interface
google.maps.MapTypeControlOptions
interface
Options for the rendering of the map type control.
Properties | |
---|---|
mapTypeIds optional |
IDs of map types to show in the control. |
position optional |
Type:
ControlPosition optional Position id. Used to specify the position of the control on the map. |
style optional |
Type:
MapTypeControlStyle optional Style id. Used to select what style of map type control to display. |
MapTypeControlStyle constants
google.maps.MapTypeControlStyle
constants
Identifiers for common MapTypesControls.
Access by calling const {MapTypeControlStyle} = await google.maps.importLibrary("maps")
.
See Libraries in the Maps JavaScript API.
Constants | |
---|---|
DEFAULT |
Uses the default map type control. When the DEFAULT control is shown, it will vary according to window size and other factors. The DEFAULT control may change in future versions of the API. |
DROPDOWN_MENU |
A dropdown menu for the screen realestate conscious. |
HORIZONTAL_BAR |
The standard horizontal radio buttons bar. |
MotionTrackingControlOptions interface
google.maps.MotionTrackingControlOptions
interface
Options for the rendering of the motion tracking control.
Properties | |
---|---|
position optional |
Type:
ControlPosition optional Default:
ControlPosition.INLINE_END_BLOCK_END Position id. This is used to specify the position of this control on the panorama. |
PanControlOptions interface
google.maps.PanControlOptions
interface
Options for the rendering of the pan control.
Properties | |
---|---|
position optional |
Type:
ControlPosition optional Default:
ControlPosition.INLINE_END_BLOCK_END Position id. Used to specify the position of the control on the map. |
RotateControlOptions interface
google.maps.RotateControlOptions
interface
Options for the rendering of the rotate control.
Properties | |
---|---|
position optional |
Type:
ControlPosition optional Default:
ControlPosition.INLINE_END_BLOCK_END Position id. Used to specify the position of the control on the map. |
ScaleControlOptions interface
google.maps.ScaleControlOptions
interface
Options for the rendering of the scale control.
Properties | |
---|---|
style optional |
Type:
ScaleControlStyle optional Style id. Used to select what style of scale control to display. |
ScaleControlStyle constants
google.maps.ScaleControlStyle
constants
Identifiers for scale control ids.
Constants | |
---|---|
|