google.maps

google.maps namespace

google.maps namespace

version Google Maps JavaScript API version loaded by the browser. See https://developers.google.com/maps/documentation/javascript/versions
importLibrary
importLibrary(libraryName)
Parameters: 
  • libraryNamestring
Loads a library of the Maps JavaScript API, resolving with the direct members of that API (without namespacing). (When loaded, libraries also add themselves to the global google.maps namespace, though using the global namespace is not generally recommended.)

CoreLibrary interface

google.maps.CoreLibrary interface

ControlPosition
Type:  typeof ControlPosition
event
Type:  typeof event
LatLng
Type:  typeof LatLng
LatLngAltitude
Type:  typeof LatLngAltitude
LatLngBounds
Type:  typeof LatLngBounds
MapsNetworkError
Type:  typeof MapsNetworkError
MapsNetworkErrorEndpoint
MapsRequestError
Type:  typeof MapsRequestError
MapsServerError
Type:  typeof MapsServerError
MVCArray
Type:  typeof MVCArray
MVCObject
Type:  typeof MVCObject
Point
Type:  typeof Point
Settings
Type:  typeof Settings
Size
Type:  typeof Size
SymbolPath
Type:  typeof SymbolPath
UnitSystem
Type:  typeof UnitSystem

MapsLibrary interface

google.maps.MapsLibrary interface

BicyclingLayer
Type:  typeof BicyclingLayer
Circle
Type:  typeof Circle
Data
Type:  typeof Data
FeatureType
Type:  typeof FeatureType
GroundOverlay
Type:  typeof GroundOverlay
ImageMapType
Type:  typeof ImageMapType
InfoWindow
Type:  typeof InfoWindow
KmlLayer
Type:  typeof KmlLayer
KmlLayerStatus
Type:  typeof KmlLayerStatus
Map
Type:  typeof Map
MapTypeControlStyle
Type:  typeof MapTypeControlStyle
MapTypeId
Type:  typeof MapTypeId
MapTypeRegistry
Type:  typeof MapTypeRegistry
MaxZoomService
Type:  typeof MaxZoomService
MaxZoomStatus
Type:  typeof MaxZoomStatus
OverlayView
Type:  typeof OverlayView
Polygon
Type:  typeof Polygon
Polyline
Type:  typeof Polyline
Rectangle
Type:  typeof Rectangle
RenderingType
Type:  typeof RenderingType
StrokePosition
Type:  typeof StrokePosition
StyledMapType
Type:  typeof StyledMapType
TrafficLayer
Type:  typeof TrafficLayer
TransitLayer
Type:  typeof TransitLayer
WebGLOverlayView
Type:  typeof WebGLOverlayView
BetaZoomChangeEvent
Type:  typeof ZoomChangeEvent

PlacesLibrary interface

google.maps.PlacesLibrary interface

AccessibilityOptions
Type:  typeof AccessibilityOptions
AddressComponent
Type:  typeof AddressComponent
Attribution
Type:  typeof Attribution
AuthorAttribution
Type:  typeof AuthorAttribution
Autocomplete
Type:  typeof Autocomplete
AutocompleteService
Type:  typeof AutocompleteService
AutocompleteSessionToken
BusinessStatus
Type:  typeof BusinessStatus
OpeningHours
Type:  typeof OpeningHours
OpeningHoursPeriod
Type:  typeof OpeningHoursPeriod
OpeningHoursPoint
Type:  typeof OpeningHoursPoint
ParkingOptions
Type:  typeof ParkingOptions
PaymentOptions
Type:  typeof PaymentOptions
Photo
Type:  typeof Photo
Place
Type:  typeof Place
PlacesService
Type:  typeof PlacesService
PlacesServiceStatus
Type:  typeof PlacesServiceStatus
PlusCode
Type:  typeof PlusCode
PriceLevel
Type:  typeof PriceLevel
RankBy
Type:  typeof RankBy
Review
Type:  typeof Review
SearchBox
Type:  typeof SearchBox
SearchByTextRankPreference

GeocodingLibrary interface

google.maps.GeocodingLibrary interface

Geocoder
Type:  typeof Geocoder
GeocoderLocationType
Type:  typeof GeocoderLocationType
GeocoderStatus
Type:  typeof GeocoderStatus

MarkerLibrary interface

google.maps.MarkerLibrary interface

AdvancedMarkerClickEvent
AdvancedMarkerElement
Type:  typeof AdvancedMarkerElement
Animation
Type:  typeof Animation
CollisionBehavior
Type:  typeof CollisionBehavior
Marker
Type:  typeof Marker
PinElement
Type:  typeof PinElement

GeometryLibrary interface

google.maps.GeometryLibrary interface

encoding
Type:  typeof encoding
poly
Type:  typeof poly
spherical
Type:  typeof spherical

ElevationLibrary interface

google.maps.ElevationLibrary interface

ElevationService
Type:  typeof ElevationService
ElevationStatus
Type:  typeof ElevationStatus

StreetViewLibrary interface

google.maps.StreetViewLibrary interface

InfoWindow
Type:  typeof InfoWindow
OverlayView
Type:  typeof OverlayView
StreetViewCoverageLayer
StreetViewPanorama
Type:  typeof StreetViewPanorama
StreetViewPreference
Type:  typeof StreetViewPreference
StreetViewService
Type:  typeof StreetViewService
StreetViewSource
Type:  typeof StreetViewSource
StreetViewStatus
Type:  typeof StreetViewStatus

JourneySharingLibrary interface

google.maps.JourneySharingLibrary interface

AutomaticViewportMode
Type:  typeof AutomaticViewportMode
DeliveryVehicleStopState
FleetEngineDeliveryFleetLocationProvider
FleetEngineDeliveryVehicleLocationProvider
FleetEngineFleetLocationProvider
FleetEngineServiceType
Type:  typeof FleetEngineServiceType
FleetEngineShipmentLocationProvider
FleetEngineTripLocationProvider
FleetEngineVehicleLocationProvider
JourneySharingMapView
Type:  typeof JourneySharingMapView
Speed
Type:  typeof Speed
TripType
Type:  typeof TripType
VehicleNavigationStatus
VehicleState
Type:  typeof VehicleState
VehicleType
Type:  typeof VehicleType
WaypointType
Type:  typeof WaypointType

DrawingLibrary interface

google.maps.DrawingLibrary interface

DrawingManager
Type:  typeof DrawingManager
OverlayType
Type:  typeof OverlayType

VisualizationLibrary interface

google.maps.VisualizationLibrary interface

HeatmapLayer
Type:  typeof HeatmapLayer