google.maps namespace
google.maps
namespace
Constants | |
---|---|
version |
Google Maps JavaScript API version loaded by the browser. See https://developers.google.com/maps/documentation/javascript/versions |
Static Methods | |
---|---|
importLibrary |
importLibrary(libraryName) Parameters:
Return Value:
Promise<CoreLibrary|MapsLibrary|PlacesLibrary|GeocodingLibrary|RoutesLibrary|MarkerLibrary|GeometryLibrary|ElevationLibrary|StreetViewLibrary|JourneySharingLibrary|DrawingLibrary|VisualizationLibrary> 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
Properties | |
---|---|
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 |
Type:
typeof 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
Properties | |
---|---|
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 |
|
Type:
typeof ZoomChangeEvent |
PlacesLibrary interface
google.maps.PlacesLibrary
interface
Properties | |
---|---|
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 |
Type:
typeof AutocompleteSessionToken |
BusinessStatus |
Type:
typeof BusinessStatus |
OpeningHours |
Type:
typeof OpeningHours |
OpeningHoursPeriod |
Type:
typeof OpeningHoursPeriod |
OpeningHoursPoint |
Type:
typeof OpeningHoursPoint |
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 |
Type:
typeof SearchByTextRankPreference |
GeocodingLibrary interface
google.maps.GeocodingLibrary
interface
Properties | |
---|---|
Geocoder |
Type:
typeof Geocoder |
GeocoderLocationType |
Type:
typeof GeocoderLocationType |
GeocoderStatus |
Type:
typeof GeocoderStatus |
RoutesLibrary interface
google.maps.RoutesLibrary
interface
Properties | |
---|---|
DirectionsRenderer |
Type:
typeof DirectionsRenderer |
DirectionsService |
Type:
typeof DirectionsService |
DirectionsStatus |
Type:
typeof DirectionsStatus |
DistanceMatrixElementStatus |
Type:
typeof 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
Properties | |
---|---|
AdvancedMarkerClickEvent |
Type:
typeof 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
Properties | |
---|---|
encoding |
Type:
typeof encoding |
poly |
Type:
typeof poly |
spherical |
Type:
typeof spherical |
ElevationLibrary interface
google.maps.ElevationLibrary
interface
Properties | |
---|---|
ElevationService |
Type:
typeof ElevationService |
ElevationStatus |
Type:
typeof ElevationStatus |
StreetViewLibrary interface
google.maps.StreetViewLibrary
interface
Properties | |
---|---|
InfoWindow |
Type:
typeof InfoWindow |
OverlayView |
Type:
typeof OverlayView |
StreetViewCoverageLayer |
Type:
typeof 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
Properties | |
---|---|
AutomaticViewportMode |
Type:
typeof AutomaticViewportMode |
DeliveryVehicleStopState |
Type:
typeof DeliveryVehicleStopState |
FleetEngineDeliveryFleetLocationProvider |
Type:
typeof FleetEngineDeliveryFleetLocationProvider |
FleetEngineDeliveryVehicleLocationProvider |
Type:
typeof FleetEngineDeliveryVehicleLocationProvider |
FleetEngineFleetLocationProvider |
Type:
typeof FleetEngineFleetLocationProvider |
FleetEngineServiceType |
Type:
typeof FleetEngineServiceType |
FleetEngineShipmentLocationProvider |
Type:
typeof FleetEngineShipmentLocationProvider |
FleetEngineTripLocationProvider |
Type:
typeof FleetEngineTripLocationProvider |
FleetEngineVehicleLocationProvider |
Type:
typeof FleetEngineVehicleLocationProvider |
JourneySharingMapView |
Type:
typeof JourneySharingMapView |
Speed |
Type:
typeof Speed |
TripType |
Type:
typeof TripType |
VehicleNavigationStatus |
Type:
typeof VehicleNavigationStatus |
VehicleState |
Type:
typeof VehicleState |
VehicleType |
Type:
typeof VehicleType |
WaypointType |
Type:
typeof WaypointType |
DrawingLibrary interface
google.maps.DrawingLibrary
interface
Properties | |
---|---|
DrawingManager |
Type:
typeof DrawingManager |
OverlayType |
Type:
typeof OverlayType |
VisualizationLibrary interface
google.maps.VisualizationLibrary
interface
Properties | |
---|---|
HeatmapLayer |
Type:
typeof HeatmapLayer |