Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
google
maps
Map
Class Map
Map
Hierarchy
MVCObject
Map
Index
Constructor methods
constructor
Properties
controls
mapTypes
overlayMapTypes
Methods
addListener
bindTo
changed
fitBounds
get
getBounds
getCenter
getDiv
getHeading
getMapTypeId
getProjection
getStreetView
getTilt
getZoom
notify
panBy
panTo
panToBounds
set
setCenter
setHeading
setMapTypeId
setOptions
setStreetView
setTilt
setValues
setZoom
unbind
unbindAll
Constructor methods
constructor
(
mapDiv
:
Element
, opts
?:
MapOptions
)
:
Map
Parameters
mapDiv:
Element
opts?:
MapOptions
optional
Returns
Map
Properties
public
controls
:
MVCArray
[]
public
mapTypes
:
MapTypeRegistry
public
overlayMapTypes
:
MVCArray
Methods
public
addListener
(
eventName
:
string
, handler
:
(...args: any[]) => void
)
:
MapsEventListener
Parameters
eventName:
string
handler:
(...args: any[]) => void
Returns
MapsEventListener
public
bindTo
(
key
:
string
, target
:
MVCObject
, targetKey
?:
string
, noNotify
?:
boolean
)
Parameters
key:
string
target:
MVCObject
targetKey?:
string
optional
noNotify?:
boolean
optional
public
changed
(
key
:
string
)
Parameters
key:
string
public
fitBounds
(
bounds
:
LatLngBounds
)
Parameters
bounds:
LatLngBounds
public
get
(
key
:
string
)
:
any
Parameters
key:
string
Returns
any
public
getBounds
(
)
:
LatLngBounds
Returns
LatLngBounds
public
getCenter
(
)
:
LatLng
Returns
LatLng
public
getDiv
(
)
:
Element
Returns
Element
public
getHeading
(
)
:
number
Returns
number
public
getMapTypeId
(
)
:
MapTypeId
Returns
MapTypeId
public
getProjection
(
)
:
Projection
Returns
Projection
public
getStreetView
(
)
:
StreetViewPanorama
Returns
StreetViewPanorama
public
getTilt
(
)
:
number
Returns
number
public
getZoom
(
)
:
number
Returns
number
public
notify
(
key
:
string
)
Parameters
key:
string
public
panBy
(
x
:
number
, y
:
number
)
Parameters
x:
number
y:
number
public
panTo
(
latLng
:
LatLng
)
Parameters
latLng:
LatLng
public
panToBounds
(
latLngBounds
:
LatLngBounds
)
Parameters
latLngBounds:
LatLngBounds
public
set
(
key
:
string
, value
:
any
)
Parameters
key:
string
value:
any
public
setCenter
(
latlng
:
LatLng
)
Parameters
latlng:
LatLng
public
setHeading
(
heading
:
number
)
Parameters
heading:
number
public
setMapTypeId
(
mapTypeId
:
MapTypeId
)
Parameters
mapTypeId:
MapTypeId
public
setOptions
(
options
:
MapOptions
)
Parameters
options:
MapOptions
public
setStreetView
(
panorama
:
StreetViewPanorama
)
Parameters
panorama:
StreetViewPanorama
public
setTilt
(
tilt
:
number
)
Parameters
tilt:
number
public
setValues
(
values
:
any
)
Parameters
values:
any
public
setZoom
(
zoom
:
number
)
Parameters
zoom:
number
public
unbind
(
key
:
string
)
Parameters
key:
string
public
unbindAll
(
)
Globals
google
google.maps
google.maps.adsense
google.maps.drawing
google.maps.geometry
google.maps.infobubble
google.maps.panoramio
google.maps.places
google.maps.visualization
google.maps.weather
Animation
ControlPosition
DirectionsStatus
DistanceMatrixElementStatus
DistanceMatrixStatus
ElevationStatus
GeocoderLocationType
GeocoderStatus
KmlLayerStatus
MapTypeControlStyle
MapTypeId
MapTypeStyleElementType
MaxZoomStatus
NavigationControlStyle
ScaleControlStyle
StreetViewStatus
StrokePosition
SymbolPath
TravelMode
UnitSystem
ZoomControlStyle
CircleOptions
DirectionsLeg
DirectionsRendererOptions
DirectionsRequest
DirectionsResult
DirectionsRoute
DirectionsStep
DirectionsWaypoint
Distance
DistanceMatrixRequest
DistanceMatrixResponse
DistanceMatrixResponseElement
DistanceMatrixResponseRow
Duration
ElevationResult
FusionTablesCell
FusionTablesHeatmap
FusionTablesLayerOptions
FusionTablesMarkerOptions
FusionTablesMouseEvent
FusionTablesPolygonOptions
FusionTablesPolylineOptions
FusionTablesQuery
FusionTablesStyle
GeocoderAddressComponent
GeocoderGeometry
GeocoderRequest
GeocoderResult
GroundOverlayOptions
IconSequence
ImageMapTypeOptions
InfoWindowOptions
KmlAuthor
KmlFeatureData
KmlLayerMetadata
KmlLayerOptions
KmlMouseEvent
LocationElevationRequest
MapOptions
MapPanes
MapType
MapTypeControlOptions
MapTypeStyle
MapTypeStyleFeatureType
MapTypeStyler
MapsEventListener
MarkerOptions
MarkerShape
MaxZoomResult
MouseEvent
NavigationControlOptions
OverviewMapControlOptions
PanControlOptions
PathElevationRequest
PolyMouseEvent
PolygonOptions
PolylineOptions
Projection
RectangleOptions
RotateControlOptions
ScaleControlOptions
StreetViewAddressControlOptions
StreetViewControlOptions
StreetViewLink
StreetViewLocation
StreetViewPanoramaData
StreetViewPanoramaOptions
StreetViewPov
StreetViewTileData
StyledMapTypeOptions
Symbol
Time
TransitAgency
TransitDetails
TransitLine
TransitOptions
TransitStop
TransitVehicle
ZoomControlOptions
BicyclingLayer
Circle
DirectionsRenderer
DirectionsService
DistanceMatrixService
ElevationService
FusionTablesLayer
Geocoder
GroundOverlay
ImageMapType
InfoWindow
KmlLayer
LatLng
LatLngBounds
MVCArray
MVCObject
Map
constructor
controls
mapTypes
overlayMapTypes
addListener
bindTo
changed
fitBounds
get
getBounds
getCenter
getDiv
getHeading
getMapTypeId
getProjection
getStreetView
getTilt
getZoom
notify
panBy
panTo
panToBounds
set
setCenter
setHeading
setMapTypeId
setOptions
setStreetView
setTilt
setValues
setZoom
unbind
unbindAll
MapCanvasProjection
MapTypeRegistry
Marker
MarkerImage
MaxZoomService
OverlayView
Point
Polygon
Polyline
Rectangle
Size
StreetViewPanorama
StreetViewService
StyledMapType
TrafficLayer
TransitLayer
event