Google Maps JavaScript API v3 Reference Stay organized with collections Save and categorize content based on your preferences.
Last updated Thursday, October 23, 2025
This is an index of all the classes, methods, and interfaces in theMaps JavaScript API version 3.62 (weekly channel). This reference is kept up to date with the latest changes to the API.
For additional information see theRelease Notes andVersioning.
Also see the reference documentation forversion 3.61 (quarterly channel),version 3.60 and version 3.59.
Click the name of any item to see detailed documentation.
Global Concepts
google.maps
- google.maps namespace
Static Methods:
importLibraryConstants:
version
Settings
- Settings class
Static Methods:
getInstanceProperties:
,experienceIds
fetchAppCheckToken- MapsAppCheckTokenResult interface
Event system
- event class
Static Methods:
addListener,addListenerOnce,clearInstanceListeners,clearListeners,hasListeners,removeListener,trigger,,addDomListeneraddDomListenerOnce- MapsEventListener interface
Methods:
remove- MVCObject class
Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAll- MVCArray class
Methods:
clear,forEach,getArray,getAt,getLength,insertAt,pop,push,removeAt,setAt- ErrorEvent interface
Properties:
error
Errors
- MapsNetworkError class
- MapsRequestError class
- MapsServerError class
- MapsNetworkErrorEndpoint constants
Constants:
DIRECTIONS_ROUTE,DISTANCE_MATRIX,ELEVATION_ALONG_PATH,ELEVATION_LOCATIONS,FLEET_ENGINE_GET_DELIVERY_VEHICLE,FLEET_ENGINE_GET_TRIP,FLEET_ENGINE_GET_VEHICLE,FLEET_ENGINE_LIST_DELIVERY_VEHICLES,FLEET_ENGINE_LIST_TASKS,FLEET_ENGINE_LIST_VEHICLES,FLEET_ENGINE_SEARCH_TASKS,GEOCODER_GEOCODE,MAPS_MAX_ZOOM,PLACES_AUTOCOMPLETE,PLACES_DETAILS,PLACES_FIND_PLACE_FROM_PHONE_NUMBER,PLACES_FIND_PLACE_FROM_QUERY,PLACES_GATEWAY,PLACES_GET_PLACE,PLACES_LOCAL_CONTEXT_SEARCH,PLACES_NEARBY_SEARCH,PLACES_SEARCH_TEXT,STREETVIEW_GET_PANORAMA- RPCStatus constants
Constants:
ABORTED,ALREADY_EXISTS,CANCELLED,DATA_LOSS,DEADLINE_EXCEEDED,FAILED_PRECONDITION,INTERNAL,INVALID_ARGUMENT,NOT_FOUND,OK,OUT_OF_RANGE,PERMISSION_DENIED,RESOURCE_EXHAUSTED,UNAUTHENTICATED,UNAVAILABLE,UNIMPLEMENTED,UNKNOWN
Maps
Maps
- MapElement class
Properties:
center,headingInteractionDisabled,innerMap,internalUsageAttributionIds,mapId,renderingType,tiltInteractionDisabled,zoomMethods:
addEventListener,removeEventListenerEvents:
gmp-zoomchange- MapElementOptions interface
Properties:
center,headingInteractionDisabled,internalUsageAttributionIds,mapId,renderingType,tiltInteractionDisabled,zoom- ZoomChangeEvent class
- Map class
Properties:
controls,data,mapTypes,overlayMapTypesMethods:
fitBounds,getBounds,getCenter,getClickableIcons,,getDatasetFeatureLayer
getDiv,getFeatureLayer,getHeading,getHeadingInteractionEnabled,getInternalUsageAttributionIds,getMapCapabilities,getMapTypeId,getProjection,getRenderingType,getStreetView,getTilt,getTiltInteractionEnabled,getZoom,moveCamera,panBy,panTo,panToBounds,setCenter,setClickableIcons,setHeading,setHeadingInteractionEnabled,setMapTypeId,setOptions,setRenderingType,setStreetView,setTilt,setTiltInteractionEnabled,setZoomConstants:
DEMO_MAP_IDEvents:
bounds_changed,center_changed,click,contextmenu,dblclick,drag,dragend,dragstart,heading_changed,idle,isfractionalzoomenabled_changed,mapcapabilities_changed,maptypeid_changed,mousemove,mouseout,mouseover,projection_changed,renderingtype_changed,tilesloaded,tilt_changed,zoom_changed,rightclick- MapOptions interface
Properties:
backgroundColor,cameraControl,cameraControlOptions,center,clickableIcons,colorScheme,controlSize,disableDefaultUI,disableDoubleClickZoom,draggableCursor,draggingCursor,fullscreenControl,fullscreenControlOptions,gestureHandling,heading,headingInteractionEnabled,internalUsageAttributionIds,isFractionalZoomEnabled,keyboardShortcuts,mapId,mapTypeControl,mapTypeControlOptions,mapTypeId,maxZoom,minZoom,noClear,renderingType,restriction,rotateControl,rotateControlOptions,scaleControl,scaleControlOptions,scrollwheel,streetView,streetViewControl,streetViewControlOptions,styles,tilt,tiltInteractionEnabled,zoom,zoomControl,zoomControlOptions,,draggable,panControlpanControlOptions- MapTypeStyle interface
Properties:
elementType,featureType,stylers- MapMouseEvent interface
Methods:
stop- IconMouseEvent interface
Properties:
placeId- ColorScheme constants
Constants:
DARK,FOLLOW_SYSTEM,LIGHT- MapTypeId constants
- MapTypeRegistry class
Methods:
set- MapRestriction interface
Properties:
latLngBounds,strictBounds- TrafficLayer class
Methods:
getMap,setMap,setOptions- TrafficLayerOptions interface
Properties:
autoRefresh,map- TransitLayer class
- BicyclingLayer class
CameraOptions interface
- VisibleRegion interface
Properties:
farLeft,farRight,latLngBounds,nearLeft,nearRight- RenderingType constants
Constants:
RASTER,UNINITIALIZED,VECTOR- MapCapabilities interface
Properties:
isAdvancedMarkersAvailable,isDataDrivenStylingAvailable,isWebGLOverlayViewAvailable
WebGL
- WebGLOverlayView class
Methods:
getMap,onAdd,onContextLost,onContextRestored,onDraw,onRemove,onStateUpdate,requestRedraw,requestStateUpdate,setMap- WebGLDrawOptions interface
Properties:
gl,transformer- WebGLStateOptions interface
Properties:
gl- CoordinateTransformer interface
Methods:
fromLatLngAltitude,getCameraParams- CameraParams interface
Coordinates
- LatLng class
- LatLngLiteral interface
- LatLngBounds class
Methods:
contains,equals,extend,getCenter,getNorthEast,getSouthWest,intersects,isEmpty,toJSON,toSpan,toString,toUrlValue,unionConstants:
MAX_BOUNDS- LatLngBoundsLiteral interface
- LatLngAltitude class
- LatLngAltitudeLiteral interface
- Point class
- Size class
- Padding interface
- CircleLiteral interface
- Orientation3D class
- Orientation3DLiteral interface
- Vector3D class
- Vector3DLiteral interface
Data-driven styling
- FeatureLayer interface
Properties:
,datasetId
featureType,isAvailable,styleMethods:
addListener- FeatureType constants
Constants:
ADMINISTRATIVE_AREA_LEVEL_1,ADMINISTRATIVE_AREA_LEVEL_2,COUNTRY,,DATASET
LOCALITY,POSTAL_CODE,SCHOOL_DISTRICT- FeatureStyleFunction typedef
- FeatureStyleFunctionOptions interface
Properties:
feature- FeatureStyleOptions interface
Properties:
fillColor,fillOpacity,strokeColor,strokeOpacity,strokeWeight- Feature interface
Properties:
featureType- PlaceFeature interface
Properties:
placeIdMethods:
fetchPlaceDatasetFeature interface
Properties:
datasetAttributes,datasetId- FeatureMouseEvent interface
Properties:
features
Controls
- CameraControlOptions interface
Properties:
position- FullscreenControlOptions interface
Properties:
position- MapTypeControlOptions interface
Properties:
mapTypeIds,position,style- MapTypeControlStyle constants
Constants:
DEFAULT,DROPDOWN_MENU,HORIZONTAL_BAR- MotionTrackingControlOptions interface
Properties:
position- PanControlOptions interface
Properties:
position- RotateControlOptions interface
Properties:
position- ScaleControlOptions interface
Properties:
style- ScaleControlStyle constants
Constants:
DEFAULT- StreetViewControlOptions interface
- ZoomControlOptions interface
Properties:
position- ControlPosition constants
Constants:
BLOCK_END_INLINE_CENTER,BLOCK_END_INLINE_END,BLOCK_END_INLINE_START,BLOCK_START_INLINE_CENTER,BLOCK_START_INLINE_END,BLOCK_START_INLINE_START,BOTTOM_CENTER,BOTTOM_LEFT,BOTTOM_RIGHT,INLINE_END_BLOCK_CENTER,INLINE_END_BLOCK_END,INLINE_END_BLOCK_START,INLINE_START_BLOCK_CENTER,INLINE_START_BLOCK_END,INLINE_START_BLOCK_START,LEFT_BOTTOM,LEFT_CENTER,LEFT_TOP,RIGHT_BOTTOM,RIGHT_CENTER,RIGHT_TOP,TOP_CENTER,TOP_LEFT,TOP_RIGHT
Geometry Library
- encoding class
Static Methods:
decodePath,encodePath- spherical class
Static Methods:
computeArea,computeDistanceBetween,computeHeading,computeLength,computeOffset,computeOffsetOrigin,computeSignedArea,interpolate- poly class
Static Methods:
containsLocation,isLocationOnEdge
Drawing on the map
Advanced Markers
- AdvancedMarkerElement class
Properties:
anchorLeft,anchorTop,collisionBehavior,gmpClickable,gmpDraggable,map,position,title,zIndex,,elementcontent- AdvancedMarkerElementOptions interface
Properties:
anchorLeft,anchorTop,collisionBehavior,content,,gmpClickable
gmpDraggable,map,position,title,zIndex- AdvancedMarkerClickEvent class
- PinElement class
Properties:
background,borderColor,glyphColor,glyphSrc,glyphText,scale,,elementglyphMethods:
,addEventListener
removeEventListener- PinElementOptions interface
Properties:
background,borderColor,glyphColor,glyphSrc,glyphText,scale,glyph
Info Window
- InfoWindow class
Properties:
isOpenMethods:
close,focus,getContent,getHeaderContent,getHeaderDisabled,getPosition,getZIndex,open,setContent,setHeaderContent,setHeaderDisabled,setOptions,setPosition,setZIndexEvents:
close,closeclick,content_changed,domready,headercontent_changed,headerdisabled_changed,position_changed,visible,zindex_changed- InfoWindowOptions interface
Properties:
ariaLabel,content,disableAutoPan,headerContent,headerDisabled,maxWidth,minWidth,pixelOffset,position,zIndex- InfoWindowOpenOptions interface
Properties:
anchor,map,shouldFocus
Polygons
- Polyline class
Methods:
getDraggable,getEditable,getMap,getPath,getVisible,setDraggable,setEditable,setMap,setOptions,setPath,setVisibleEvents:
click,contextmenu,dblclick,drag,dragend,dragstart,mousedown,mousemove,mouseout,mouseover,mouseup,rightclick- PolylineOptions interface
Properties:
clickable,draggable,editable,geodesic,icons,map,path,strokeColor,strokeOpacity,strokeWeight,visible,zIndex- IconSequence interface
Properties:
fixedRotation,icon,offset,repeat- Polygon class
Methods:
getDraggable,getEditable,getMap,getPath,getPaths,getVisible,setDraggable,setEditable,setMap,setOptions,setPath,setPaths,setVisibleEvents:
click,contextmenu,dblclick,drag,dragend,dragstart,mousedown,mousemove,mouseout,mouseover,mouseup,rightclick- PolygonOptions interface
Properties:
clickable,draggable,editable,fillColor,fillOpacity,geodesic,map,paths,strokeColor,strokeOpacity,strokePosition,strokeWeight,visible,zIndex- PolyMouseEvent interface
- Rectangle class
Methods:
getBounds,getDraggable,getEditable,getMap,getVisible,setBounds,setDraggable,setEditable,setMap,setOptions,setVisibleEvents:
bounds_changed,click,contextmenu,dblclick,drag,dragend,dragstart,mousedown,mousemove,mouseout,mouseover,mouseup,rightclick- RectangleOptions interface
Properties:
bounds,clickable,draggable,editable,fillColor,fillOpacity,map,strokeColor,strokeOpacity,strokePosition,strokeWeight,visible,zIndex- Circle class
Methods:
getBounds,getCenter,getDraggable,getEditable,getMap,getRadius,getVisible,setCenter,setDraggable,setEditable,setMap,setOptions,setRadius,setVisibleEvents:
center_changed,click,dblclick,drag,dragend,dragstart,mousedown,mousemove,mouseout,mouseover,mouseup,radius_changed,rightclick- CircleOptions interface
Properties:
center,clickable,draggable,editable,fillColor,fillOpacity,map,radius,strokeColor,strokeOpacity,strokePosition,strokeWeight,visible,zIndex- StrokePosition constants
Data
- Data class
Methods:
add,addGeoJson,contains,forEach,getControlPosition,getControls,getDrawingMode,getFeatureById,getMap,getStyle,loadGeoJson,overrideStyle,remove,revertStyle,setControlPosition,setControls,setDrawingMode,setMap,setStyle,toGeoJsonEvents:
addfeature,click,contextmenu,dblclick,mousedown,mouseout,mouseover,mouseup,removefeature,removeproperty,setgeometry,setproperty,rightclick- Data.DataOptions interface
Properties:
controlPosition,controls,drawingMode,featureFactory,map,style- Data.GeoJsonOptions interface
Properties:
idPropertyName- Data.StyleOptions interface
Properties:
animation,clickable,cursor,draggable,editable,fillColor,fillOpacity,icon,icons,label,opacity,shape,strokeColor,strokeOpacity,strokeWeight,title,visible,zIndex- Data.StylingFunction typedef
- Data.Feature class
Methods:
forEachProperty,getGeometry,getId,getProperty,removeProperty,setGeometry,setProperty,toGeoJsonEvents:
removeproperty,setgeometry,setproperty- Data.FeatureOptions interface
Properties:
geometry,id,properties- Data.Geometry interface
Methods:
forEachLatLng,getType- Data.Point class
Methods:
forEachLatLng,get,getType- Data.MultiPoint class
Methods:
forEachLatLng,getArray,getAt,getLength,getType- Data.LineString class
Methods:
forEachLatLng,getArray,getAt,getLength,getType- Data.MultiLineString class
Methods:
forEachLatLng,getArray,getAt,getLength,getType- Data.LinearRing class
Methods:
forEachLatLng,getArray,getAt,getLength,getType- Data.Polygon class
Methods:
forEachLatLng,getArray,getAt,getLength,getType- Data.MultiPolygon class
Methods:
forEachLatLng,getArray,getAt,getLength,getType- Data.GeometryCollection class
Methods:
forEachLatLng,getArray,getAt,getLength,getType- Data.MouseEvent interface
Properties:
feature- Data.AddFeatureEvent interface
Properties:
feature- Data.RemoveFeatureEvent interface
Properties:
feature- Data.SetGeometryEvent interface
Properties:
feature,newGeometry,oldGeometry- Data.SetPropertyEvent interface
- Data.RemovePropertyEvent interface
DOM elements
- OverlayView class
Static Methods:
preventMapHitsAndGesturesFrom,preventMapHitsFromMethods:
draw,getMap,getPanes,getProjection,onAdd,onRemove,setMap- MapPanes interface
Properties:
floatPane,mapPane,markerLayer,overlayLayer,overlayMouseTarget- MapCanvasProjection interface
Methods:
fromContainerPixelToLatLng,fromDivPixelToLatLng,fromLatLngToContainerPixel,fromLatLngToDivPixel,getVisibleRegion,getWorldWidth
KML
- KmlLayer class
Methods:
getDefaultViewport,getMap,getMetadata,getStatus,getUrl,getZIndex,setMap,setOptions,setUrl,setZIndex- KmlLayerOptions interface
Properties:
clickable,map,preserveViewport,screenOverlays,suppressInfoWindows,url,zIndex- KmlLayerMetadata interface
Properties:
author,description,hasScreenOverlays,name,snippet- KmlLayerStatus constants
Constants:
DOCUMENT_NOT_FOUND,DOCUMENT_TOO_LARGE,FETCH_ERROR,INVALID_DOCUMENT,INVALID_REQUEST,LIMITS_EXCEEDED,OK,TIMED_OUT,UNKNOWN- KmlMouseEvent interface
Properties:
featureData,latLng,pixelOffset- KmlFeatureData interface
Properties:
author,description,id,infoWindowHtml,name,snippet- KmlAuthor interface
Image overlays
- MapType interface
Properties:
alt,maxZoom,minZoom,name,projection,radius,tileSizeMethods:
getTile,releaseTile- Projection interface
Methods:
fromLatLngToPoint,fromPointToLatLng- ImageMapType class
Properties:
alt,maxZoom,minZoom,name,projection,radius,tileSizeMethods:
getOpacity,getTile,releaseTile,setOpacityEvents:
tilesloaded- ImageMapTypeOptions interface
Properties:
alt,getTileUrl,maxZoom,minZoom,name,opacity,tileSize- GroundOverlay class
Methods:
getBounds,getMap,getOpacity,getUrl,setMap,setOpacity- GroundOverlayOptions interface
- StyledMapType class
Properties:
alt,maxZoom,minZoom,name,projection,radius,tileSizeMethods:
getTile,releaseTile- StyledMapTypeOptions interface
Drawing Library
DrawingManager classMethods:
getDrawingMode,getMap,setDrawingMode,setMap,setOptionsEvents:
circlecomplete,markercomplete,overlaycomplete,polygoncomplete,polylinecomplete,rectanglecomplete- DrawingManagerOptions interface
Properties:
circleOptions,drawingControl,drawingControlOptions,drawingMode,map,markerOptions,polygonOptions,polylineOptions,rectangleOptions- DrawingControlOptions interface
Properties:
drawingModes,position- OverlayCompleteEvent interface
- OverlayType constants
Heatmaps
HeatmapLayer classMethods:
getData,getMap,setData,setMap,setOptions- HeatmapLayerOptions interface
Properties:
data,dissipating,gradient,map,maxIntensity,opacity,radius- WeightedLocation interface
Max Zoom
Marker (legacy)
Marker classMethods:
getAnimation,getClickable,getCursor,getDraggable,getIcon,getLabel,getMap,getOpacity,getPosition,getShape,getTitle,getVisible,getZIndex,setAnimation,setClickable,setCursor,setDraggable,setIcon,setLabel,setMap,setOpacity,setOptions,setPosition,setShape,setTitle,setVisible,setZIndexConstants:
MAX_ZINDEXEvents:
animation_changed,click,clickable_changed,contextmenu,cursor_changed,dblclick,drag,dragend,draggable_changed,dragstart,flat_changed,icon_changed,mousedown,mouseout,mouseover,mouseup,position_changed,shape_changed,title_changed,visible_changed,zindex_changed,rightclickMarkerOptions interfaceProperties:
anchorPoint,animation,clickable,crossOnDrag,cursor,draggable,icon,label,map,opacity,optimized,position,shape,title,visible,zIndex,collisionBehavior
- CollisionBehavior constants
Constants:
OPTIONAL_AND_HIDES_LOWER_PRIORITY,REQUIRED,REQUIRED_AND_HIDES_OPTIONAL- Icon interface
Properties:
anchor,labelOrigin,origin,scaledSize,size,url- MarkerLabel interface
Properties:
className,color,fontFamily,fontSize,fontWeight,text- MarkerShape interface
- Symbol interface
Properties:
anchor,fillColor,fillOpacity,labelOrigin,path,rotation,scale,strokeColor,strokeOpacity,strokeWeight- SymbolPath constants
Constants:
BACKWARD_CLOSED_ARROW,BACKWARD_OPEN_ARROW,CIRCLE,FORWARD_CLOSED_ARROW,FORWARD_OPEN_ARROW- Animation constants
Street View
Rendering
- StreetViewPanorama class
Properties:
controlsMethods:
focus,getLinks,getLocation,getMotionTracking,getPano,getPhotographerPov,getPosition,getPov,getStatus,getVisible,getZoom,registerPanoProvider,setLinks,setMotionTracking,setOptions,setPano,setPosition,setPov,setVisible,setZoomEvents:
closeclick,pano_changed,position_changed,pov_changed,resize,status_changed,visible_changed,zoom_changed- StreetViewPanoramaOptions interface
Properties:
addressControl,addressControlOptions,clickToGo,controlSize,disableDefaultUI,disableDoubleClickZoom,enableCloseButton,fullscreenControl,fullscreenControlOptions,imageDateControl,linksControl,motionTracking,motionTrackingControl,motionTrackingControlOptions,panControl,panControlOptions,pano,position,pov,scrollwheel,showRoadLabels,visible,zoom,zoomControl,zoomControlOptions- StreetViewAddressControlOptions interface
Properties:
position- PanoProviderOptions interface
Properties:
cors- StreetViewTileData interface
Properties:
centerHeading,tileSize,worldSizeMethods:
getTileUrl- StreetViewPov interface
- StreetViewCoverageLayer class
Service
- StreetViewService class
Methods:
getPanorama- StreetViewStatus constants
Constants:
OK,UNKNOWN_ERROR,ZERO_RESULTS- StreetViewLocationRequest interface
Properties:
location,preference,radius,sources,source- StreetViewPanoRequest interface
Properties:
pano- StreetViewResponse interface
Properties:
data- StreetViewLocation interface
Properties:
description,latLng,pano,shortDescription- StreetViewPreference constants
- StreetViewSource constants
- StreetViewPanoramaData interface
- StreetViewLink interface
Properties:
description,heading,pano
Places
Places Widgets
- BasicPlaceAutocompleteElement class
Properties:
includedPrimaryTypes,includedRegionCodes,locationBias,locationRestriction,name,origin,requestedLanguage,requestedRegion,unitSystemMethods:
addEventListener,removeEventListenerEvents:
gmp-error,gmp-select- BasicPlaceAutocompleteElementOptions interface
Properties:
includedPrimaryTypes,includedRegionCodes,locationBias,locationRestriction,name,origin,requestedLanguage,requestedRegion,unitSystem- PlaceAutocompleteElement class
Properties:
includedPrimaryTypes,includedRegionCodes,locationBias,locationRestriction,name,origin,requestedLanguage,requestedRegion,unitSystemMethods:
addEventListener,removeEventListenerEvents:
gmp-error,gmp-select- PlaceAutocompleteElementOptions interface
Properties:
includedPrimaryTypes,includedRegionCodes,locationBias,locationRestriction,name,origin,requestedLanguage,requestedRegion,unitSystem- PlacePredictionSelectEvent class
Properties:
placePredictionPlaceContextualElement class
Properties:
contextTokenMethods:
addEventListener,removeEventListenerPlaceContextualElementOptions interface
Properties:
contextTokenPlaceContextualListConfigElement class
Methods:
addEventListener,removeEventListenerPlaceContextualListConfigElementOptions interface
PlaceContextualListLayout constants
- PlaceDetailsElement class
Properties:
placeMethods:
addEventListener,removeEventListener- PlaceDetailsElementOptions interface
- PlaceDetailsCompactElement class
Properties:
orientation,place,truncationPreferredMethods:
addEventListener,removeEventListener- PlaceDetailsCompactElementOptions interface
Properties:
orientation,truncationPreferred- PlaceDetailsOrientation constants
Constants:
HORIZONTAL,VERTICAL- PlaceDetailsPlaceRequestElement class
Properties:
placeMethods:
addEventListener,removeEventListener- PlaceDetailsPlaceRequestElementOptions interface
Properties:
place- PlaceDetailsLocationRequestElement class
Properties:
locationMethods:
addEventListener,removeEventListener- PlaceDetailsLocationRequestElementOptions interface
Properties:
location- PlaceSearchElement class
Properties:
attributionPosition,orientation,places,selectable,truncationPreferredMethods:
addEventListener,removeEventListenerEvents:
gmp-error,gmp-load,gmp-select- PlaceSearchElementOptions interface
Properties:
attributionPosition,orientation,selectable,truncationPreferred- PlaceSearchAttributionPosition constants
- PlaceSearchOrientation constants
Constants:
HORIZONTAL,VERTICAL- PlaceSelectEvent class
Properties:
place- PlaceNearbySearchRequestElement class
Properties:
excludedPrimaryTypes,excludedTypes,includedPrimaryTypes,includedTypes,locationRestriction,maxResultCount,rankPreferenceMethods:
addEventListener,removeEventListener- PlaceNearbySearchRequestElementOptions interface
Properties:
excludedPrimaryTypes,excludedTypes,includedPrimaryTypes,includedTypes,locationRestriction,maxResultCount,rankPreference- PlaceTextSearchRequestElement class
Properties:
evConnectorTypes,evMinimumChargingRateKw,includedType,isOpenNow,locationBias,locationRestriction,maxResultCount,minRating,priceLevels,rankPreference,textQuery,useStrictTypeFilteringMethods:
addEventListener,removeEventListener- PlaceTextSearchRequestElementOptions interface
Properties:
evConnectorTypes,evMinimumChargingRateKw,includedType,isOpenNow,locationBias,locationRestriction,maxResultCount,minRating,priceLevels,rankPreference,textQuery,useStrictTypeFilteringAutocomplete classMethods:
getBounds,getFields,getPlace,setBounds,setComponentRestrictions,setFields,setOptions,setTypesEvents:
place_changed- AutocompleteOptions interface
Properties:
bounds,componentRestrictions,fields,strictBounds,types,placeIdOnlySearchBox classMethods:
getBounds,getPlaces,setBoundsEvents:
places_changed- SearchBoxOptions interface
Properties:
bounds
Place Widget Content Customization
- PlaceContentConfigElement class
Methods:
addEventListener,removeEventListener- PlaceContentConfigElementOptions interface
- PlaceAllContentElement class
Methods:
addEventListener,removeEventListener- PlaceAllContentElementOptions interface
- PlaceStandardContentElement class
Methods:
addEventListener,removeEventListener- PlaceStandardContentElementOptions interface
- PlaceMediaElement class
Properties:
lightboxPreferred,preferredSizeMethods:
addEventListener,removeEventListener- PlaceMediaElementOptions interface
Properties:
lightboxPreferred,preferredSize- MediaSize constants
- PlaceAddressElement class
Methods:
addEventListener,removeEventListener- PlaceAddressElementOptions interface
- PlaceRatingElement class
Methods:
addEventListener,removeEventListener- PlaceRatingElementOptions interface
- PlaceTypeElement class
Methods:
addEventListener,removeEventListener- PlaceTypeElementOptions interface
- PlacePriceElement class
Methods:
addEventListener,removeEventListener- PlacePriceElementOptions interface
- PlaceAccessibleEntranceIconElement class
Methods:
addEventListener,removeEventListener- PlaceAccessibleEntranceIconElementOptions interface
- PlaceOpenNowStatusElement class
Methods:
addEventListener,removeEventListener- PlaceOpenNowStatusElementOptions interface
- PlaceReviewsElement class
Methods:
addEventListener,removeEventListener- PlaceReviewsElementOptions interface
- PlaceSummaryElement class
Methods:
addEventListener,removeEventListener- PlaceSummaryElementOptions interface
- PlaceFeatureListElement class
Methods:
addEventListener,removeEventListener- PlaceFeatureListElementOptions interface
- PlaceOpeningHoursElement class
Methods:
addEventListener,removeEventListener- PlaceOpeningHoursElementOptions interface
- PlacePhoneNumberElement class
Methods:
addEventListener,removeEventListener- PlacePhoneNumberElementOptions interface
- PlacePlusCodeElement class
Methods:
addEventListener,removeEventListener- PlacePlusCodeElementOptions interface
- PlaceTypeSpecificHighlightsElement class
Methods:
addEventListener,removeEventListener- PlaceTypeSpecificHighlightsElementOptions interface
- PlaceWebsiteElement class
Methods:
addEventListener,removeEventListener- PlaceWebsiteElementOptions interface
- PlaceAttributionElement class
Properties:
darkSchemeColor,lightSchemeColorMethods:
addEventListener,removeEventListener- PlaceAttributionElementOptions interface
Properties:
darkSchemeColor,lightSchemeColor- AttributionColor constants
Place
- Place class
Static Methods:
searchByText,searchNearbyProperties:
accessibilityOptions,addressComponents,adrFormatAddress,allowsDogs,attributions,businessStatus,consumerAlert,displayName,displayNameLanguageCode,editorialSummary,editorialSummaryLanguageCode,evChargeOptions,formattedAddress,fuelOptions,googleMapsLinks,googleMapsURI,hasCurbsidePickup,hasDelivery,hasDineIn,hasLiveMusic,hasMenuForChildren,hasOutdoorSeating,hasRestroom,hasTakeout,iconBackgroundColor,id,internationalPhoneNumber,isGoodForChildren,isGoodForGroups,isGoodForWatchingSports,isReservable,location,nationalPhoneNumber,parkingOptions,paymentOptions,photos,plusCode,postalAddress,priceLevel,priceRange,primaryType,primaryTypeDisplayName,primaryTypeDisplayNameLanguageCode,rating,regularOpeningHours,requestedLanguage,requestedRegion,reviews,servesBeer,servesBreakfast,servesBrunch,servesCocktails,servesCoffee,servesDessert,servesDinner,servesLunch,servesVegetarianFood,servesWine,svgIconMaskURI,types,userRatingCount,utcOffsetMinutes,viewport,websiteURI,,openingHourshasWiFiMethods:
fetchFields,,getNextOpeningTime
,isOpen
toJSON- PlaceOptions interface
Properties:
id,requestedLanguage,requestedRegion- AccessibilityOptions class
Properties:
hasWheelchairAccessibleEntrance,hasWheelchairAccessibleParking,hasWheelchairAccessibleRestroom,hasWheelchairAccessibleSeating- AddressComponent class
- Attribution class
Properties:
provider,providerURI- AuthorAttribution class
Properties:
displayName,photoURI,uri- ConnectorAggregation class
Properties:
availabilityLastUpdateTime,availableCount,count,maxChargeRateKw,outOfServiceCount,type- ConsumerAlert class
Properties:
details,languageCode,overview- ConsumerAlertDetails class
Properties:
aboutLinkTitle,aboutLinkURI,description,title- EVChargeOptions class
Properties:
connectorAggregations,connectorCount- EVConnectorType constants
Constants:
CCS_COMBO_1,CCS_COMBO_2,CHADEMO,J1772,NACS,OTHER,TESLA,TYPE_2,UNSPECIFIED_GB_T,UNSPECIFIED_WALL_OUTLET- EVSearchOptions interface
Properties:
connectorTypes,minimumChargingRateKw- FetchFieldsRequest interface
Properties:
fields- FuelOptions class
Properties:
fuelPrices- FuelPrice class
Properties:
price,type,updateTime- FuelType constants
Constants:
BIO_DIESEL,DIESEL,DIESEL_PLUS,E100,E80,E85,LPG,METHANE,MIDGRADE,PREMIUM,REGULAR_UNLEADED,SP100,SP91,SP91_E10,SP92,SP95,SP95_E10,SP98,SP99,TRUCK_DIESEL- GoogleMapsLinks class
Properties:
directionsURI,photosURI,placeURI,reviewsURI,writeAReviewURI- Money class
Properties:
currencyCode,nanos,unitsMethods:
toString- OpeningHours class
Properties:
periods,weekdayDescriptions- OpeningHoursPeriod class
- OpeningHoursPoint class
- ParkingOptions class
Properties:
hasFreeGarageParking,hasFreeParkingLot,hasFreeStreetParking,hasPaidGarageParking,hasPaidParkingLot,hasPaidStreetParking,hasValetParking- PaymentOptions class
Properties:
acceptsCashOnly,acceptsCreditCards,acceptsDebitCards,acceptsNFC- Photo class
Properties:
authorAttributions,flagContentURI,googleMapsURI,heightPx,widthPxMethods:
getURI- PlusCode class
Properties:
compoundCode,globalCode- PostalAddress class
Properties:
addressLines,administrativeArea,languageCode,locality,organization,postalCode,recipients,regionCode,sortingCode,sublocality- PostalAddressLiteral interface
Properties:
addressLines,administrativeArea,languageCode,locality,organization,postalCode,recipients,regionCode,sortingCode,sublocality- PriceLevel constants
Constants:
EXPENSIVE,FREE,INEXPENSIVE,MODERATE,VERY_EXPENSIVE- PriceRange class
Properties:
endPrice,startPrice- Review class
Properties:
authorAttribution,flagContentURI,googleMapsURI,originalText,originalTextLanguageCode,publishTime,rating,relativePublishTimeDescription,text,textLanguageCode,visitDateMonth,visitDateYear- SearchByTextRequest interface
Properties:
evSearchOptions,fields,includedType,isOpenNow,language,locationBias,locationRestriction,maxResultCount,minRating,priceLevels,rankPreference,region,textQuery,useStrictTypeFiltering,,queryrankBy
- SearchByTextRankPreference constants
- SearchNearbyRequest interface
Properties:
excludedPrimaryTypes,excludedTypes,fields,includedPrimaryTypes,includedTypes,language,locationRestriction,maxResultCount,rankPreference,region- SearchNearbyRankPreference constants
Constants:
DISTANCE,POPULARITY
Autocomplete Data (new)
- AutocompleteSuggestion class
Static Methods:
fetchAutocompleteSuggestionsProperties:
placePrediction- AutocompleteRequest interface
Properties:
includedPrimaryTypes,includedRegionCodes,input,inputOffset,language,locationBias,locationRestriction,origin,region,sessionToken- AutocompleteSessionToken class
- PlacePrediction class
Properties:
distanceMeters,mainText,placeId,secondaryText,text,typesMethods:
,fetchAddressValidation
toPlace- StringRange class
Properties:
endOffset,startOffset- FormattableText class
Geocoder
- Geocoder class
Methods:
geocode- GeocoderRequest interface
Properties:
address,bounds,componentRestrictions,,extraComputations
fulfillOnZeroResults,language,location,placeId,region- GeocoderComponentRestrictions interface
Properties:
administrativeArea,country,locality,postalCode,routeExtraGeocodeComputation constants
Constants:
ADDRESS_DESCRIPTORS- GeocoderStatus constants
Constants:
ERROR,INVALID_REQUEST,OK,OVER_QUERY_LIMIT,REQUEST_DENIED,UNKNOWN_ERROR,ZERO_RESULTS- GeocoderResponse interface
Properties:
,address_descriptor
plus_code,results- GeocoderResult interface
Properties:
address_components,,address_descriptor
formatted_address,geometry,partial_match,place_id,plus_code,postcode_localities,typesAddressDescriptor interface
- GeocoderAddressComponent interface
Properties:
long_name,short_name,types- GeocoderGeometry interface
Properties:
bounds,location,location_type,viewport- GeocoderLocationType constants
Constants:
APPROXIMATE,GEOMETRIC_CENTER,RANGE_INTERPOLATED,ROOFTOPLandmark interface
Properties:
display_name,display_name_language_code,place_id,spatial_relationship,straight_line_distance_meters,travel_distance_meters,typesArea interface
Properties:
containment,display_name,display_name_language_code,place_idContainment constants
SpatialRelationship constants
Constants:
ACROSS_THE_ROAD,AROUND_THE_CORNER,BEHIND,BESIDE,DOWN_THE_ROAD,NEAR,WITHIN
Places Service
PlacesService classMethods:
findPlaceFromPhoneNumber,findPlaceFromQuery,getDetails,nearbySearch,textSearch- PlaceDetailsRequest interface
Properties:
fields,language,placeId,region,sessionToken- FindPlaceFromPhoneNumberRequest interface
Properties:
fields,language,locationBias,phoneNumber- FindPlaceFromQueryRequest interface
Properties:
fields,language,locationBias,query- PlaceSearchRequest interface
Properties:
bounds,keyword,language,location,maxPriceLevel,minPriceLevel,openNow,radius,rankBy,type,name- TextSearchRequest interface
Properties:
bounds,language,location,query,radius,region,type- RankBy constants
Constants:
DISTANCE,PROMINENCE- LocationBias typedef
- LocationRestriction typedef
- PlacesServiceStatus constants
Constants:
INVALID_REQUEST,NOT_FOUND,OK,OVER_QUERY_LIMIT,REQUEST_DENIED,UNKNOWN_ERROR,ZERO_RESULTS- PlaceSearchPagination interface
Properties:
hasNextPageMethods:
nextPage- PlaceResult interface
Properties:
address_components,adr_address,aspects,business_status,formatted_address,formatted_phone_number,geometry,html_attributions,icon,icon_background_color,icon_mask_base_uri,international_phone_number,name,opening_hours,photos,place_id,plus_code,price_level,rating,reviews,types,url,user_ratings_total,utc_offset_minutes,vicinity,website,,utc_offsetpermanently_closedPlaceAspectRating interface- BusinessStatus constants
Constants:
CLOSED_PERMANENTLY,CLOSED_TEMPORARILY,OPERATIONAL- PlaceGeometry interface
- PlaceOpeningHours interface
Properties:
periods,weekday_text,open_nowMethods:
isOpen- PlaceOpeningHoursPeriod interface
- PlaceOpeningHoursTime interface
- PlacePlusCode interface
Properties:
compound_code,global_code- PlacePhoto interface
Properties:
height,html_attributions,widthMethods:
getUrl- PhotoOptions interface
- PlaceReview interface
Properties:
author_name,author_url,language,profile_photo_url,rating,relative_time_description,text,time,aspects
Places Autocomplete Service
AutocompleteService class- AutocompletionRequest interface
Properties:
componentRestrictions,input,language,locationBias,locationRestriction,offset,origin,region,sessionToken,types,,bounds,locationradius- AutocompleteResponse interface
Properties:
predictions- QueryAutocompletionRequest interface
- ComponentRestrictions interface
Properties:
country- AutocompletePrediction interface
Properties:
description,distance_meters,matched_substrings,place_id,structured_formatting,terms,types- QueryAutocompletePrediction interface
Properties:
description,matched_substrings,place_id,terms- PredictionTerm interface
- PredictionSubstring interface
- StructuredFormatting interface
Properties:
main_text,main_text_matched_substrings,secondary_text
Address Validation (beta)
AddressValidation class
Static Methods:
fetchAddressValidationProperties:
address,geocode,metadata,responseId,uspsData,verdictMethods:
toJSONAddressValidationRequest interface
Properties:
address,placeAutocompleteElement,previousResponseId,sessionToken,uspsCASSEnabledAddress class
Properties:
components,formattedAddress,missingComponentTypes,postalAddress,unconfirmedComponentTypes,unresolvedTokensAddressComponent class
Properties:
componentName,componentNameLanguageCode,componentType,confirmationLevel,inferred,replaced,spellCorrected,unexpectedAddressMetadata class
Properties:
business,poBox,residentialConfirmationLevel constants
Constants:
CONFIRMED,UNCONFIRMED_AND_SUSPICIOUS,UNCONFIRMED_BUT_PLAUSIBLEGeocode class
Properties:
bounds,featureSizeMeters,location,placeId,placeTypes,plusCodeMethods:
fetchPlaceGranularity constants
Constants:
BLOCK,OTHER,PREMISE,PREMISE_PROXIMITY,ROUTE,SUB_PREMISEPossibleNextAction constants
Constants:
ACCEPT,CONFIRM,CONFIRM_ADD_SUBPREMISES,FIXUSPSAddress class
Properties:
city,cityStateZipAddressLine,firm,firstAddressLine,secondAddressLine,state,urbanization,zipCode,zipCodeExtensionUSPSData class
Properties:
abbreviatedCity,addressRecordType,carrierRoute,carrierRouteIndicator,cassProcessed,county,deliveryPointCheckDigit,deliveryPointCode,dpvCMRA,dpvConfirmation,dpvDoorNotAccessible,dpvDrop,dpvEnhancedDeliveryCode,dpvFootnote,dpvNonDeliveryDays,dpvNonDeliveryDaysValues,dpvNoSecureLocation,dpvNoStat,dpvNoStatReasonCode,dpvPBSA,dpvThrowback,dpvVacant,elotFlag,elotNumber,errorMessage,fipsCountyCode,hasDefaultAddress,hasNoEWSMatch,lacsLinkIndicator,lacsLinkReturnCode,pmbDesignator,pmbNumber,poBoxOnlyPostalCode,postOfficeCity,postOfficeState,standardizedAddress,suiteLinkFootnoteVerdict class
Properties:
addressComplete,geocodeGranularity,hasInferredComponents,hasReplacedComponents,hasUnconfirmedComponents,inputGranularity,possibleNextAction,validationGranularity
Routes
Route (beta)
- Route class
Static Methods:
computeRoutesProperties:
description,distanceMeters,durationMillis,legs,localizedValues,optimizedIntermediateWaypointIndices,path,polylineDetails,routeLabels,routeToken,speedPaths,staticDurationMillis,travelAdvisory,viewport,warningsMethods:
createPolylines,createWaypointAdvancedMarkers,toJSON- ComputeRoutesRequest interface
Properties:
arrivalTime,computeAlternativeRoutes,departureTime,destination,extraComputations,fields,intermediates,language,optimizeWaypointOrder,origin,polylineQuality,region,requestedReferenceRoutes,routeModifiers,routingPreference,trafficModel,transitPreference,travelMode,units- ComputeRoutesExtraComputation constants
Constants:
FLYOVER_INFO_ON_POLYLINE,FUEL_CONSUMPTION,HTML_FORMATTED_NAVIGATION_INSTRUCTIONS,NARROW_ROAD_INFO_ON_POLYLINE,TOLLS,TRAFFIC_ON_POLYLINE- DirectionalLocationLiteral interface
Properties:
heading- DirectionalLocation class
Properties:
headingMethods:
toJSON- FallbackInfo class
Properties:
reason,routingModeMethods:
toJSON- FallbackReason constants
Constants:
LATENCY_EXCEEDED,SERVER_ERROR- FallbackRoutingMode constants
Constants:
TRAFFIC_AWARE,TRAFFIC_UNAWARE- GeocodedWaypoint class
Properties:
geocoderStatus,intermediateWaypointRequestIndex,partialMatch,placeId,typesMethods:
toJSON- GeocodingResults class
Properties:
destination,intermediates,originMethods:
toJSON- MultiModalSegment class
Properties:
instructions,maneuver,stepEndIndex,stepStartIndex,travelModeMethods:
toJSON- PolylineDetailInfo class
Properties:
endIndex,presence,startIndexMethods:
toJSON- PolylineDetails class
Properties:
flyoverInfo,narrowRoadInfoMethods:
toJSON- PolylineQuality constants
Constants:
HIGH_QUALITY,OVERVIEW- ReferenceRoute constants
Constants:
FUEL_EFFICIENT,SHORTER_DISTANCE- RoadFeatureState constants
Constants:
DOES_NOT_EXIST,EXISTS- RouteLabel constants
Constants:
DEFAULT_ROUTE,DEFAULT_ROUTE_ALTERNATE,FUEL_EFFICIENT,SHORTER_DISTANCE- RouteLeg class
Properties:
distanceMeters,durationMillis,endLocation,localizedValues,path,speedPaths,startLocation,staticDurationMillis,steps,stepsOverview,travelAdvisoryMethods:
toJSON- RouteLegLocalizedValues class
Properties:
distance,distanceLanguage,duration,durationLanguage,staticDuration,staticDurationLanguageMethods:
toJSON- RouteLegStep class
Properties:
distanceMeters,endLocation,instructions,localizedValues,maneuver,path,startLocation,staticDurationMillis,transitDetails,travelModeMethods:
toJSON- RouteLegStepLocalizedValues class
Properties:
distance,distanceLanguage,staticDuration,staticDurationLanguageMethods:
toJSON- RouteLegTravelAdvisory class
Properties:
speedReadingIntervals,tollInfoMethods:
toJSON- RouteLocalizedValues class
Properties:
distance,distanceLanguage,duration,durationLanguage,staticDuration,staticDurationLanguage,transitFare,transitFareLanguageMethods:
toJSON- RouteModifiers interface
Properties:
avoidFerries,avoidHighways,avoidIndoor,avoidTolls,tollPasses,vehicleInfo- RoutePolylineDetails interface
Properties:
speed,transitDetails,travelMode- RoutePolylineOptions interface
Properties:
colorScheme,polylineOptions- RouteTravelAdvisory class
Properties:
fuelConsumptionMicroliters,routeRestrictionsPartiallyIgnored,speedReadingIntervals,tollInfo,transitFareMethods:
toJSON- RoutingPreference constants
Constants:
TRAFFIC_AWARE,TRAFFIC_AWARE_OPTIMAL,TRAFFIC_UNAWARE- Speed constants
Constants:
NORMAL,SLOW,TRAFFIC_JAM- SpeedPath interface
- SpeedReadingInterval class
Properties:
endPolylinePointIndex,speed,startPolylinePointIndexMethods:
toJSON- StepsOverview class
Properties:
multiModalSegmentsMethods:
toJSON- TollInfo class
Properties:
estimatedPricesMethods:
toJSON- TransitAgency class
Properties:
name,phoneNumber,urlMethods:
toJSON- TransitDetails class
Properties:
arrivalStop,arrivalTime,departureStop,departureTime,headsign,headwayMillis,stopCount,transitLine,tripShortTextMethods:
toJSON- TransitLine class
Properties:
agencies,color,iconURL,name,shortName,textColor,url,vehicleMethods:
toJSON- TransitPreference interface
Properties:
allowedTransitModes,routingPreference- TransitStop class
Methods:
toJSON- TransitVehicle class
Properties:
iconURL,localIconURL,name,nameLanguage,vehicleTypeMethods:
toJSON- VehicleEmissionType constants
- VehicleInfo interface
Properties:
emissionType- Waypoint interface
Properties:
location,sideOfRoad,vehicleStopover,via- WaypointMarkerDetails interface
Properties:
index,leg,totalMarkers
Route Matrix (beta)
- RouteMatrix class
Static Methods:
computeRouteMatrixProperties:
rowsMethods:
toJSON- RouteMatrixRow class
Properties:
itemsMethods:
toJSON- RouteMatrixItem class
Properties:
condition,distanceMeters,durationMillis,error,fallbackInfo,localizedValues,staticDurationMillis,travelAdvisoryMethods:
toJSON- ComputeRouteMatrixRequest interface
Properties:
arrivalTime,departureTime,destinations,extraComputations,fields,language,origins,region,routingPreference,trafficModel,transitPreference,travelMode,units- ComputeRouteMatrixExtraComputation constants
Constants:
TOLLS- RouteMatrixItemCondition constants
Constants:
ROUTE_EXISTS,ROUTE_NOT_FOUND- RouteMatrixItemError class
Methods:
toJSON- RouteMatrixItemLocalizedValues class
Properties:
distance,distanceLanguage,duration,durationLanguage,staticDuration,staticDurationLanguage,transitFare,transitFareLanguageMethods:
toJSON- RouteMatrixOrigin interface
Properties:
routeModifiers,waypoint
Directions
- DirectionsService class
Methods:
route- DirectionsRequest interface
Properties:
avoidFerries,avoidHighways,avoidTolls,destination,drivingOptions,language,optimizeWaypoints,origin,provideRouteAlternatives,region,transitOptions,travelMode,unitSystem,waypoints- DirectionsStatus constants
Constants:
INVALID_REQUEST,MAX_WAYPOINTS_EXCEEDED,NOT_FOUND,OK,OVER_QUERY_LIMIT,REQUEST_DENIED,UNKNOWN_ERROR,ZERO_RESULTS- DirectionsResult interface
Properties:
available_travel_modes,geocoded_waypoints,request,routes- DirectionsRenderer class
Methods:
getDirections,getMap,getPanel,getRouteIndex,setDirections,setMap,setOptions,setPanel,setRouteIndexEvents:
directions_changed- DirectionsRendererOptions interface
Properties:
directions,draggable,hideRouteList,infoWindow,map,markerOptions,panel,polylineOptions,preserveViewport,routeIndex,suppressBicyclingLayer,suppressInfoWindows,suppressMarkers,suppressPolylines- DirectionsWaypoint interface
- DirectionsGeocodedWaypoint interface
Properties:
partial_match,place_id,types- DirectionsRoute interface
Properties:
bounds,copyrights,fare,legs,overview_path,overview_polyline,summary,warnings,waypoint_order- DirectionsLeg interface
Properties:
arrival_time,departure_time,distance,duration,duration_in_traffic,end_address,end_location,start_address,start_location,steps,via_waypoints,traffic_speed_entry- DirectionsStep interface
Properties:
distance,duration,encoded_lat_lngs,end_location,instructions,maneuver,path,start_location,steps,transit,transit_details,travel_mode,,start_point,end_point,lat_lngspolyline- DirectionsPolyline interface
Properties:
points- Place interface
- TravelMode constants
Constants:
BICYCLING,DRIVING,TRANSIT,,TWO_WHEELER
WALKING- DrivingOptions interface
Properties:
departureTime,trafficModel- TrafficModel constants
Constants:
BEST_GUESS,OPTIMISTIC,PESSIMISTIC- TransitOptions interface
Properties:
arrivalTime,departureTime,modes,routingPreference- TransitMode constants
- TransitRoutePreference constants
Constants:
FEWER_TRANSFERS,LESS_WALKING- TransitFare interface
- TransitDetails interface
Properties:
arrival_stop,arrival_time,departure_stop,departure_time,headsign,headway,line,num_stops,trip_short_name- TransitStop interface
- TransitLine interface
Properties:
agencies,color,icon,name,short_name,text_color,url,vehicle- TransitAgency interface
- TransitVehicle interface
Properties:
icon,local_icon,name,type- VehicleType constants
Constants:
BUS,CABLE_CAR,COMMUTER_TRAIN,FERRY,FUNICULAR,GONDOLA_LIFT,HEAVY_RAIL,HIGH_SPEED_TRAIN,INTERCITY_BUS,METRO_RAIL,MONORAIL,OTHER,RAIL,SHARE_TAXI,SUBWAY,TRAM,TROLLEYBUS- UnitSystem constants
- Distance interface
- Duration interface
- Time interface
DirectionsTravelMode constantsDirectionsUnitSystem constants
Distance Matrix
- DistanceMatrixService class
Methods:
getDistanceMatrix- DistanceMatrixRequest interface
Properties:
avoidFerries,avoidHighways,avoidTolls,destinations,drivingOptions,language,origins,region,transitOptions,travelMode,unitSystem- DistanceMatrixResponse interface
Properties:
destinationAddresses,originAddresses,rows- DistanceMatrixResponseRow interface
Properties:
elements- DistanceMatrixResponseElement interface
Properties:
distance,duration,duration_in_traffic,fare,status- DistanceMatrixStatus constants
Constants:
INVALID_REQUEST,MAX_DIMENSIONS_EXCEEDED,MAX_ELEMENTS_EXCEEDED,OK,OVER_QUERY_LIMIT,REQUEST_DENIED,UNKNOWN_ERROR- DistanceMatrixElementStatus constants
Constants:
NOT_FOUND,OK,ZERO_RESULTS
Elevation
- ElevationService class
- LocationElevationRequest interface
Properties:
locations- LocationElevationResponse interface
Properties:
results- PathElevationRequest interface
- PathElevationResponse interface
Properties:
results- ElevationResult interface
Properties:
elevation,location,resolution- ElevationStatus constants
Constants:
INVALID_REQUEST,OK,OVER_QUERY_LIMIT,REQUEST_DENIED,UNKNOWN_ERROR
3D Maps
3D Maps
- Map3DElement class
Properties:
bounds,center,defaultUIHidden,description,gestureHandling,heading,internalUsageAttributionIds,language,mapId,maxAltitude,maxHeading,maxTilt,minAltitude,minHeading,minTilt,mode,range,region,roll,tilt,defaultUIDisabledMethods:
addEventListener,flyCameraAround,flyCameraTo,removeEventListener,stopCameraAnimationEvents:
gmp-animationend,gmp-centerchange,gmp-click,gmp-error,gmp-headingchange,gmp-map-id-error,gmp-rangechange,gmp-rollchange,gmp-steadychange,gmp-tiltchange- Map3DElementOptions interface
Properties:
bounds,center,defaultUIHidden,description,gestureHandling,heading,internalUsageAttributionIds,language,mapId,maxAltitude,maxHeading,maxTilt,minAltitude,minHeading,minTilt,mode,range,region,roll,tilt,defaultUIDisabled- MapMode constants
- GestureHandling constants
Constants:
AUTO,COOPERATIVE,GREEDY- FlyAroundAnimationOptions interface
Properties:
camera,durationMillis,repeatCount,rounds- FlyToAnimationOptions interface
Properties:
durationMillis,endCamera- CameraOptions interface
- SteadyChangeEvent class
Properties:
isSteady- LocationClickEvent class
Properties:
position- PlaceClickEvent class
Properties:
placeIdMethods:
fetchPlace
Draw on the map
- Marker3DElement class
Properties:
altitudeMode,collisionBehavior,drawsWhenOccluded,extruded,label,position,sizePreserved,zIndexMethods:
addEventListener,removeEventListener- Marker3DElementOptions interface
Properties:
altitudeMode,collisionBehavior,drawsWhenOccluded,extruded,label,position,sizePreserved,zIndex- Marker3DInteractiveElement class
Properties:
gmpPopoverTargetElement,titleMethods:
addEventListener,removeEventListenerEvents:
gmp-click- Marker3DInteractiveElementOptions interface
Properties:
gmpPopoverTargetElement,title- Model3DElement class
Properties:
altitudeMode,orientation,position,scale,srcMethods:
addEventListener,removeEventListener- Model3DElementOptions interface
Properties:
altitudeMode,orientation,position,scale,src- Model3DInteractiveElement class
Methods:
addEventListener,removeEventListenerEvents:
gmp-click- Model3DInteractiveElementOptions interface
- Polyline3DElement class
Properties:
altitudeMode,drawsOccludedSegments,extruded,geodesic,outerColor,outerWidth,path,strokeColor,strokeWidth,zIndex,coordinatesMethods:
addEventListener,removeEventListener- Polyline3DElementOptions interface
Properties:
altitudeMode,coordinates,drawsOccludedSegments,extruded,geodesic,outerColor,outerWidth,strokeColor,strokeWidth,zIndex- Polyline3DInteractiveElement class
Methods:
addEventListener,removeEventListenerEvents:
gmp-click- Polyline3DInteractiveElementOptions interface
- Polygon3DElement class
Properties:
altitudeMode,drawsOccludedSegments,extruded,fillColor,geodesic,innerPaths,path,strokeColor,strokeWidth,zIndex,,outerCoordinatesinnerCoordinatesMethods:
addEventListener,removeEventListener- Polygon3DElementOptions interface
Properties:
altitudeMode,drawsOccludedSegments,extruded,fillColor,geodesic,innerCoordinates,outerCoordinates,strokeColor,strokeWidth,zIndex- Polygon3DInteractiveElement class
Methods:
addEventListener,removeEventListenerEvents:
gmp-click- Polygon3DInteractiveElementOptions interface
- PopoverElement class
Properties:
altitudeMode,lightDismissDisabled,open,positionAnchorMethods:
addEventListener,removeEventListener- PopoverElementOptions interface
Properties:
altitudeMode,lightDismissDisabled,open,positionAnchor- AltitudeMode constants
Constants:
ABSOLUTE,CLAMP_TO_GROUND,RELATIVE_TO_GROUND,RELATIVE_TO_MESH
Environmental (alpha)
Air Quality
AirQualityMeterElement class
Properties:
location,requestedLanguageMethods:
addEventListener,removeEventListener- AirQualityMeterElementOptions interface
Properties:
location,requestedLanguage
Journey Sharing
Map View
- JourneySharingMapView class
Properties:
automaticViewportMode,element,enableTraffic,locationProviders,map,mapOptions,,locationProvider,destinationMarkerSetup,originMarkerSetup,taskOutcomeMarkerSetup,unsuccessfulTaskMarkerSetup,vehicleMarkerSetup,waypointMarkerSetup,anticipatedRoutePolylineSetup,takenRoutePolylineSetup,pingMarkerSetup,successfulTaskMarkerSetup,destinationMarkers,originMarkers,successfulTaskMarkers,taskOutcomeMarkers,unsuccessfulTaskMarkers,vehicleMarkers,waypointMarkers,anticipatedRoutePolylinestakenRoutePolylines- JourneySharingMapViewOptions interface
Properties:
automaticViewportMode,element,locationProviders,mapOptions,,locationProvider,destinationMarkerSetup,originMarkerSetup,taskOutcomeMarkerSetup,unsuccessfulTaskMarkerSetup,vehicleMarkerSetup,waypointMarkerSetup,anticipatedRoutePolylineSetup,takenRoutePolylineSetup,pingMarkerSetupsuccessfulTaskMarkerSetup- AutomaticViewportMode constants
Constants:
FIT_ANTICIPATED_ROUTE,NONE- LocationProvider abstract class
Methods:
addListener- PollingLocationProvider abstract class
Properties:
isPolling,pollingIntervalMillisEvents:
ispollingchange- PollingLocationProviderIsPollingChangeEvent interface
Properties:
error
Authentication
- AuthToken interface
Properties:
expiresInSeconds,token- AuthTokenContext interface
Properties:
deliveryVehicleId,taskId,trackingId,tripId,vehicleId- AuthTokenFetcher typedef
- AuthTokenFetcherOptions interface
Properties:
context,serviceType- FleetEngineServiceType constants
Constants:
DELIVERY_VEHICLE_SERVICE,TASK_SERVICE,TRIP_SERVICE,UNKNOWN_SERVICE
UI Customization
PolylineSetup typedefPolylineSetupOptions interfaceProperties:
polylineOptions,visibleDefaultPolylineSetupOptions interfaceProperties:
defaultPolylineOptions,defaultVisibleMarkerSetup typedefMarkerSetupOptions interfaceProperties:
markerOptionsDefaultMarkerSetupOptions interfaceProperties:
defaultMarkerOptions- MarkerCustomizationFunctionParams interface
Properties:
defaultOptions,isNew,marker- DeliveryVehicleMarkerCustomizationFunctionParams interface
Properties:
vehicle- PlannedStopMarkerCustomizationFunctionParams interface
Properties:
stopIndex- TaskMarkerCustomizationFunctionParams interface
Properties:
task- ShipmentMarkerCustomizationFunctionParams interface
Properties:
taskTrackingInfo- TripMarkerCustomizationFunctionParams interface
Properties:
trip- TripWaypointMarkerCustomizationFunctionParams interface
Properties:
waypointIndex- VehicleMarkerCustomizationFunctionParams interface
Properties:
vehicle- VehicleWaypointMarkerCustomizationFunctionParams interface
Properties:
waypointIndex- PolylineCustomizationFunctionParams interface
Properties:
defaultOptions,isNew,polylines- ShipmentPolylineCustomizationFunctionParams interface
Properties:
taskTrackingInfo- TripPolylineCustomizationFunctionParams interface
Properties:
trip- VehiclePolylineCustomizationFunctionParams interface
Properties:
vehicle- DeliveryVehiclePolylineCustomizationFunctionParams interface
Properties:
deliveryVehicle
Fleet Engine Entities
- Task interface
Properties:
attributes,estimatedCompletionTime,latestVehicleLocationUpdate,name,outcome,outcomeLocation,outcomeLocationSource,outcomeTime,plannedLocation,remainingVehicleJourneySegments,status,targetTimeWindow,trackingId,type,vehicleId- TaskInfo interface
Properties:
extraDurationMillis,id,targetTimeWindow- TaskTrackingInfo interface
Properties:
attributes,estimatedArrivalTime,estimatedTaskCompletionTime,latestVehicleLocationUpdate,name,plannedLocation,remainingDrivingDistanceMeters,remainingStopCount,routePolylinePoints,state,targetTimeWindow,taskOutcome,taskOutcomeTime,trackingId- Trip interface
Properties:
actualDropOffLocation,actualPickupLocation,dropOffTime,latestVehicleLocationUpdate,name,passengerCount,pickupTime,plannedDropOffLocation,plannedPickupLocation,remainingWaypoints,status,type,vehicleId- DeliveryVehicle interface
Properties:
attributes,currentRouteSegmentEndPoint,latestVehicleLocationUpdate,name,navigationStatus,remainingDistanceMeters,remainingDurationMillis,remainingVehicleJourneySegments- DeliveryVehicleStop interface
Properties:
plannedLocation,state,tasks- DeliveryVehicleStopState constants
Constants:
ARRIVED,ENROUTE,NEW,UNSPECIFIED- VehicleJourneySegment interface
Properties:
drivingDistanceMeters,drivingDurationMillis,path,stop- VehicleLocationUpdate interface
Properties:
heading,location,speedKilometersPerHour,time- VehicleWaypoint interface
Properties:
distanceMeters,durationMillis,location,path,speedReadingIntervals- Vehicle interface
Properties:
attributes,currentRouteSegmentEndPoint,currentRouteSegmentVersion,currentTrips,etaToFirstWaypoint,latestLocation,maximumCapacity,name,navigationStatus,remainingDistanceMeters,supportedTripTypes,vehicleState,vehicleType,waypoints,waypointsVersion- VehicleNavigationStatus constants
Constants:
ARRIVED_AT_DESTINATION,ENROUTE_TO_DESTINATION,NO_GUIDANCE,OFF_ROUTE,UNKNOWN_NAVIGATION_STATUS- VehicleState constants
Constants:
OFFLINE,ONLINE,UNKNOWN_VEHICLE_STATE- VehicleType constants
Constants:
AUTO,TAXI,TRUCK,TWO_WHEELER,UNKNOWN- TripType constants
Constants:
EXCLUSIVE,SHARED,UNKNOWN_TRIP_TYPE- TripWaypoint interface
Properties:
distanceMeters,durationMillis,location,path,speedReadingIntervals,tripId,waypointType- WaypointType constants
Constants:
DROP_OFF_WAYPOINT_TYPE,INTERMEDIATE_DESTINATION_WAYPOINT_TYPE,PICKUP_WAYPOINT_TYPE,UNKNOWN_WAYPOINT_TYPE- TimeWindow interface
- Speed constants
Constants:
NORMAL,SLOW,TRAFFIC_JAM- SpeedReadingInterval interface
Properties:
endPolylinePointIndex,speed,startPolylinePointIndex
Trip and Order Progress
- FleetEngineTripLocationProvider class
Static Methods:
TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTION,TRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTIONProperties:
tripIdMethods:
refresh- FleetEngineTripLocationProviderOptions interface
Properties:
activePolylineCustomization,authTokenFetcher,destinationMarkerCustomization,originMarkerCustomization,pollingIntervalMillis,projectId,remainingPolylineCustomization,takenPolylineCustomization,tripId,vehicleMarkerCustomization,waypointMarkerCustomization- FleetEngineTripLocationProviderUpdateEvent interface
Properties:
trip
Fleet Tracking - Last Mile Fleet
- FleetEngineDeliveryVehicleLocationProvider class
Properties:
deliveryVehicleId,shouldShowOutcomeLocations,shouldShowTasks,staleLocationThresholdMillis,taskFilterOptions- FleetEngineDeliveryVehicleLocationProviderOptions interface
Properties:
activePolylineCustomization,authTokenFetcher,deliveryVehicleId,deliveryVehicleMarkerCustomization,plannedStopMarkerCustomization,pollingIntervalMillis,projectId,remainingPolylineCustomization,shouldShowOutcomeLocations,shouldShowTasks,staleLocationThresholdMillis,takenPolylineCustomization,taskFilterOptions,taskMarkerCustomization,taskOutcomeMarkerCustomization- FleetEngineTaskFilterOptions interface
Properties:
completionTimeFrom,completionTimeTo,state- FleetEngineDeliveryVehicleLocationProviderUpdateEvent interface
Properties:
completedVehicleJourneySegments,deliveryVehicle,tasks- FleetEngineDeliveryFleetLocationProvider class
Properties:
deliveryVehicleFilter,locationRestriction,staleLocationThresholdMillisEvents:
update- FleetEngineDeliveryFleetLocationProviderOptions interface
Properties:
authTokenFetcher,deliveryVehicleFilter,deliveryVehicleMarkerCustomization,locationRestriction,projectId,staleLocationThresholdMillis- FleetEngineDeliveryFleetLocationProviderUpdateEvent interface
Properties:
deliveryVehicles
Fleet Tracking - On Demand Rides & Delivery
- FleetEngineVehicleLocationProvider class
Static Methods:
TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTION,TRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTIONProperties:
staleLocationThresholdMillis,vehicleId- FleetEngineVehicleLocationProviderOptions interface
Properties:
activePolylineCustomization,authTokenFetcher,destinationMarkerCustomization,intermediateDestinationMarkerCustomization,originMarkerCustomization,pollingIntervalMillis,projectId,remainingPolylineCustomization,staleLocationThresholdMillis,takenPolylineCustomization,vehicleId,vehicleMarkerCustomization- FleetEngineVehicleLocationProviderUpdateEvent interface
- FleetEngineFleetLocationProvider class
Properties:
locationRestriction,staleLocationThresholdMillis,vehicleFilterEvents:
update- FleetEngineFleetLocationProviderOptions interface
Properties:
authTokenFetcher,locationRestriction,projectId,staleLocationThresholdMillis,vehicleFilter,vehicleMarkerCustomization- FleetEngineFleetLocationProviderUpdateEvent interface
Properties:
vehicles
Shipment Tracking
- FleetEngineShipmentLocationProvider class
Properties:
trackingIdMethods:
refresh- FleetEngineShipmentLocationProviderOptions interface
Properties:
activePolylineCustomization,authTokenFetcher,deliveryVehicleMarkerCustomization,destinationMarkerCustomization,pollingIntervalMillis,projectId,remainingPolylineCustomization,takenPolylineCustomization,trackingId- FleetEngineShipmentLocationProviderUpdateEvent interface
Properties:
taskTrackingInfo
Library interfaces
Library interfaces
- CoreLibrary interface
Properties:
ColorScheme,ControlPosition,event,LatLng,LatLngAltitude,LatLngBounds,MapsNetworkError,MapsNetworkErrorEndpoint,MapsRequestError,MapsServerError,MVCArray,MVCObject,Orientation3D,Point,RPCStatus,Settings,Size,SymbolPath,UnitSystem,Vector3D- MapsLibrary interface
Properties:
BicyclingLayer,Circle,Data,FeatureType,GroundOverlay,ImageMapType,InfoWindow,KmlLayer,KmlLayerStatus,Map,MapElement,MapTypeControlStyle,MapTypeId,MapTypeRegistry,MaxZoomService,MaxZoomStatus,OverlayView,Polygon,Polyline,Rectangle,RenderingType,StrokePosition,StyledMapType,TrafficLayer,TransitLayer,WebGLOverlayView,ZoomChangeEvent- Maps3DLibrary interface
Properties:
AltitudeMode,GestureHandling,LocationClickEvent,Map3DElement,MapMode,Marker3DElement,Marker3DInteractiveElement,Model3DElement,Model3DInteractiveElement,PlaceClickEvent,Polygon3DElement,Polygon3DInteractiveElement,Polyline3DElement,Polyline3DInteractiveElement,PopoverElement,SteadyChangeEvent- PlacesLibrary interface
Properties:
AccessibilityOptions,AddressComponent,Attribution,AuthorAttribution,Autocomplete,AutocompleteService,AutocompleteSessionToken,AutocompleteSuggestion,BusinessStatus,ConnectorAggregation,ConsumerAlert,ConsumerAlertDetails,EVChargeOptions,EVConnectorType,FormattableText,FuelOptions,FuelPrice,FuelType,GoogleMapsLinks,Money,OpeningHours,OpeningHoursPeriod,OpeningHoursPoint,ParkingOptions,PaymentOptions,Photo,Place,PlaceContextualElement,PlaceContextualListConfigElement,PlaceContextualListLayout,PlacePrediction,PlacesService,PlacesServiceStatus,PlusCode,PostalAddress,PriceLevel,PriceRange,RankBy,Review,SearchBox,SearchByTextRankPreference,SearchNearbyRankPreference,StringRange- GeocodingLibrary interface
Properties:
Containment,ExtraGeocodeComputation,Geocoder,GeocoderLocationType,GeocoderStatus,SpatialRelationship- RoutesLibrary interface
Properties:
ComputeRouteMatrixExtraComputation,ComputeRoutesExtraComputation,DirectionalLocation,DirectionsRenderer,DirectionsService,DirectionsStatus,DistanceMatrixElementStatus,DistanceMatrixService,DistanceMatrixStatus,FallbackInfo,FallbackReason,FallbackRoutingMode,GeocodedWaypoint,GeocodingResults,MultiModalSegment,PolylineDetailInfo,PolylineDetails,PolylineQuality,ReferenceRoute,RoadFeatureState,Route,RouteLabel,RouteLeg,RouteLegLocalizedValues,RouteLegStep,RouteLegStepLocalizedValues,RouteLegTravelAdvisory,RouteLocalizedValues,RouteMatrix,RouteMatrixItem,RouteMatrixItemCondition,RouteMatrixItemError,RouteMatrixItemLocalizedValues,RouteMatrixRow,RouteTravelAdvisory,RoutingPreference,Speed,SpeedReadingInterval,StepsOverview,TollInfo,TrafficModel,TransitAgency,TransitDetails,TransitLine,TransitMode,TransitRoutePreference,TransitStop,TransitVehicle,TravelMode,VehicleEmissionType,VehicleType- MarkerLibrary interface
Properties:
AdvancedMarkerClickEvent,AdvancedMarkerElement,Animation,CollisionBehavior,Marker,PinElement- GeometryLibrary interface
- ElevationLibrary interface
Properties:
ElevationService,ElevationStatus- StreetViewLibrary interface
Properties:
InfoWindow,OverlayView,StreetViewCoverageLayer,StreetViewPanorama,StreetViewPreference,StreetViewService,StreetViewSource,StreetViewStatus- JourneySharingLibrary interface
Properties:
AutomaticViewportMode,DeliveryVehicleStopState,FleetEngineDeliveryFleetLocationProvider,FleetEngineDeliveryVehicleLocationProvider,FleetEngineFleetLocationProvider,FleetEngineServiceType,FleetEngineShipmentLocationProvider,FleetEngineTripLocationProvider,FleetEngineVehicleLocationProvider,JourneySharingMapView,Speed,TripType,VehicleNavigationStatus,VehicleState,VehicleType,WaypointType- DrawingLibrary interface
Properties:
DrawingManager,OverlayType- VisualizationLibrary interface
Properties:
HeatmapLayer- AirQualityLibrary interface
Properties:
AirQualityMeterElementAddressValidationLibrary interface
Properties:
,Address
,AddressComponent
,AddressMetadata
,AddressValidation
,ConfirmationLevel
,Geocode
,Granularity
,PossibleNextAction
,USPSAddress
,USPSData
Verdict
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-31 UTC.