google.maps

Stay organized with collections Save and categorize content based on your preferences.

google.maps namespace

google.maps namespace

BetaimportLibrary
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.)
version Google Maps JavaScript API version loaded by the browser. See https://developers.google.com/maps/documentation/javascript/versions

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

PlacesLibrary interface

google.maps.PlacesLibrary interface

AddressComponent
Type:  typeof AddressComponent
Attribution
Type:  typeof Attribution
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
Photo
Type:  typeof Photo
PhotoAttribution
Type:  typeof PhotoAttribution
Place
Type:  typeof Place
PlacesService
Type:  typeof PlacesService
PlacesServiceStatus
Type:  typeof PlacesServiceStatus
PlusCode
Type:  typeof PlusCode
RankBy
Type:  typeof RankBy
Review
Type:  typeof Review
SearchBox
Type:  typeof SearchBox

GeocodingLibrary interface

google.maps.GeocodingLibrary interface

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

RoutesLibrary interface

google.maps.RoutesLibrary interface

DirectionsRenderer
Type:  typeof DirectionsRenderer
DirectionsService
Type:  typeof DirectionsService
DirectionsStatus
Type:  typeof DirectionsStatus
DistanceMatrixElementStatus
DistanceMatrixService
Type:  typeof DistanceMatrixService
DistanceMatrixStatus
Type:  typeof DistanceMatrixStatus
TrafficModel
Type:  typeof TrafficModel
TransitMode
Type:  typeof TransitMode
TransitRoutePreference
Type:  typeof TransitRoutePreference
TravelMode
Type:  typeof TravelMode
VehicleType
Type:  typeof VehicleType

MarkerLibrary interface

google.maps.MarkerLibrary interface

AdvancedMarkerView
Type:  typeof AdvancedMarkerView
Animation
Type:  typeof Animation
CollisionBehavior
Type:  typeof CollisionBehavior
Marker
Type:  typeof Marker
PinView
Type:  typeof PinView

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

DrawingLibrary interface

google.maps.DrawingLibrary interface

DrawingManager
Type:  typeof DrawingManager
OverlayType
Type:  typeof OverlayType

VisualizationLibrary interface

google.maps.VisualizationLibrary interface

HeatmapLayer
Type:  typeof HeatmapLayer