Google Maps JavaScript API v3 Reference

Last updated Wednesday, September 03, 2025

This is an index of all the classes, methods, and interfaces in the Maps 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 the Release Notes and Versioning.
Also see the reference documentation for version 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: importLibrary

Constants: version

Settings

Settings class

Static Methods: getInstance

Properties: BetaexperienceIds, fetchAppCheckToken

MapsAppCheckTokenResult interface

Event system

event class

Static Methods: addListener, addListenerOnce, clearInstanceListeners, clearListeners, hasListeners, removeListener, trigger, addDomListener, addDomListenerOnce

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

Events: insert_at, remove_at, set_at

ErrorEvent interface

Properties: error

Errors

MapsNetworkError class

Properties: code, endpoint

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, zoom

Methods: addEventListener, removeEventListener

Events: gmp-zoomchange

MapElementOptions interface

Properties: center, headingInteractionDisabled, internalUsageAttributionIds, mapId, renderingType, tiltInteractionDisabled, zoom

ZoomChangeEvent class
Map class

Properties: controls, data, mapTypes, overlayMapTypes

Methods: fitBounds, getBounds, getCenter, getClickableIcons, BetagetDatasetFeatureLayer, 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, setZoom

Constants: DEMO_MAP_ID

Events: 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, panControl, panControlOptions

MapTypeStyle interface

Properties: elementType, featureType, stylers

MapMouseEvent interface

Properties: domEvent, latLng

Methods: stop

IconMouseEvent interface

Properties: placeId

ColorScheme constants

Constants: DARK, FOLLOW_SYSTEM, LIGHT

MapTypeId constants

Constants: HYBRID, ROADMAP, SATELLITE, TERRAIN

MapTypeRegistry class

Methods: set

MapRestriction interface

Properties: latLngBounds, strictBounds

TrafficLayer class

Methods: getMap, setMap, setOptions

TrafficLayerOptions interface

Properties: autoRefresh, map

TransitLayer class

Methods: getMap, setMap

BicyclingLayer class

Methods: getMap, setMap

BetaCameraOptions interface

Properties: center, heading, tilt, zoom

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

Properties: center, heading, tilt, zoom

Coordinates

LatLng class

Methods: equals, lat, lng, toJSON, toString, toUrlValue

LatLngLiteral interface

Properties: lat, lng

LatLngBounds class

Methods: contains, equals, extend, getCenter, getNorthEast, getSouthWest, intersects, isEmpty, toJSON, toSpan, toString, toUrlValue, union

Constants: MAX_BOUNDS

LatLngBoundsLiteral interface

Properties: east, north, south, west

LatLngAltitude class

Properties: altitude, lat, lng

Methods: equals, toJSON

LatLngAltitudeLiteral interface

Properties: altitude, lat, lng

Point class

Properties: x, y

Methods: equals, toString

Size class

Properties: height, width

Methods: equals, toString

Padding interface

Properties: bottom, left, right, top

CircleLiteral interface

Properties: center, radius

BetaOrientation3D class

Properties: heading, roll, tilt

Methods: equals, toJSON

BetaOrientation3DLiteral interface

Properties: heading, roll, tilt

BetaVector3D class

Properties: x, y, z

Methods: equals, toJSON

BetaVector3DLiteral interface

Properties: x, y, z

Data-driven styling

FeatureLayer interface

Properties: BetadatasetId, featureType, isAvailable, style

Methods: addListener

Events: click, mousemove

FeatureType constants

Constants: ADMINISTRATIVE_AREA_LEVEL_1, ADMINISTRATIVE_AREA_LEVEL_2, COUNTRY, BetaDATASET, 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: placeId

Methods: fetchPlace

BetaDatasetFeature 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

Properties: position, sources

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: collisionBehavior, gmpClickable, gmpDraggable, map, position, title, zIndex, element, content

Methods: addEventListener, addListener, removeEventListener

Events: click, drag, dragend, dragstart, Betagmp-click

AdvancedMarkerElementOptions interface

Properties: collisionBehavior, content, BetagmpClickable, gmpDraggable, map, position, title, zIndex

AdvancedMarkerClickEvent class
PinElement class

Properties: background, borderColor, element, glyph, glyphColor, scale

Methods: BetaaddEventListener, removeEventListener

PinElementOptions interface

Properties: background, borderColor, glyph, glyphColor, scale

Info Window

InfoWindow class

Properties: isOpen

Methods: close, focus, getContent, getHeaderContent, getHeaderDisabled, getPosition, getZIndex, open, setContent, setHeaderContent, setHeaderDisabled, setOptions, setPosition, setZIndex

Events: 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, setVisible

Events: 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, setVisible

Events: 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

Properties: edge, path, vertex

Rectangle class

Methods: getBounds, getDraggable, getEditable, getMap, getVisible, setBounds, setDraggable, setEditable, setMap, setOptions, setVisible

Events: 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, setVisible

Events: 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

Constants: CENTER, INSIDE, OUTSIDE

Data

Data class

Methods: add, addGeoJson, contains, forEach, getControlPosition, getControls, getDrawingMode, getFeatureById, getMap, getStyle, loadGeoJson, overrideStyle, remove, revertStyle, setControlPosition, setControls, setDrawingMode, setMap, setStyle, toGeoJson

Events: 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, toGeoJson

Events: 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

Properties: feature, name, newValue, oldValue

Data.RemovePropertyEvent interface

Properties: feature, name, oldValue

DOM elements

OverlayView class

Static Methods: preventMapHitsAndGesturesFrom, preventMapHitsFrom

Methods: 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

Events: click, defaultviewport_changed, status_changed

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

Properties: email, name, uri

Image overlays

MapType interface

Properties: alt, maxZoom, minZoom, name, projection, radius, tileSize

Methods: getTile, releaseTile

Projection interface

Methods: fromLatLngToPoint, fromPointToLatLng

ImageMapType class

Properties: alt, maxZoom, minZoom, name, projection, radius, tileSize

Methods: getOpacity, getTile, releaseTile, setOpacity

Events: tilesloaded

ImageMapTypeOptions interface

Properties: alt, getTileUrl, maxZoom, minZoom, name, opacity, tileSize

GroundOverlay class

Methods: getBounds, getMap, getOpacity, getUrl, setMap, setOpacity

Events: click, dblclick

GroundOverlayOptions interface

Properties: clickable, map, opacity

StyledMapType class

Properties: alt, maxZoom, minZoom, name, projection, radius, tileSize

Methods: getTile, releaseTile

StyledMapTypeOptions interface

Properties: alt, maxZoom, minZoom, name

Drawing Library

DrawingManager class

Methods: getDrawingMode, getMap, setDrawingMode, setMap, setOptions

Events: 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

Properties: overlay, type

OverlayType constants

Constants: CIRCLE, MARKER, POLYGON, POLYLINE, RECTANGLE

Heatmaps

HeatmapLayer class

Methods: getData, getMap, setData, setMap, setOptions

HeatmapLayerOptions interface

Properties: data, dissipating, gradient, map, maxIntensity, opacity, radius

WeightedLocation interface

Properties: location, weight

Max Zoom

MaxZoomService class

Methods: getMaxZoomAtLatLng

MaxZoomResult interface

Properties: status, zoom

MaxZoomStatus constants

Constants: ERROR, OK

Marker (legacy)

Marker class

Methods: 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, setZIndex

Constants: MAX_ZINDEX

Events: 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, rightclick

MarkerOptions interface

Properties: anchorPoint, animation, clickable, crossOnDrag, cursor, draggable, icon, label, map, opacity, optimized, position, shape, title, visible, zIndex, BetacollisionBehavior

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

Properties: coords, type

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

Constants: BOUNCE, DROP

Street View

Rendering

StreetViewPanorama class

Properties: controls

Methods: focus, getLinks, getLocation, getMotionTracking, getPano, getPhotographerPov, getPosition, getPov, getStatus, getVisible, getZoom, registerPanoProvider, setLinks, setMotionTracking, setOptions, setPano, setPosition, setPov, setVisible, setZoom

Events: 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, worldSize

Methods: getTileUrl

StreetViewPov interface

Properties: heading, pitch

StreetViewCoverageLayer class

Methods: getMap, setMap

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

Constants: BEST, NEAREST

StreetViewSource constants

Constants: DEFAULT, GOOGLE, OUTDOOR

StreetViewPanoramaData interface

Properties: copyright, imageDate, links, location, tiles

Properties: description, heading, pano

Places

Places Widgets

BasicPlaceAutocompleteElement class

Properties: includedPrimaryTypes, includedRegionCodes, locationBias, locationRestriction, name, origin, requestedLanguage, requestedRegion, unitSystem

Methods: addEventListener, removeEventListener

Events: 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, unitSystem

Methods: addEventListener, removeEventListener

Events: gmp-error, gmp-select

PlaceAutocompleteElementOptions interface

Properties: includedPrimaryTypes, includedRegionCodes, locationBias, locationRestriction, name, origin, requestedLanguage, requestedRegion, unitSystem

PlacePredictionSelectEvent class

Properties: placePrediction

AlphaPlaceContextualElement class

Properties: contextToken

Methods: addEventListener, removeEventListener

AlphaPlaceContextualElementOptions interface

Properties: contextToken

AlphaPlaceContextualListConfigElement class

Properties: layout, mapHidden, mapMode

Methods: addEventListener, removeEventListener

AlphaPlaceContextualListConfigElementOptions interface

Properties: layout, mapHidden, mapMode

AlphaPlaceContextualListLayout constants

Constants: COMPACT, VERTICAL

AlphaPlaceContextualListMapMode constants

Constants: HYBRID, NONE, ROADMAP

PlaceDetailsElement class

Properties: place

Methods: addEventListener, removeEventListener

Events: gmp-error, gmp-load

PlaceDetailsElementOptions interface
PlaceDetailsCompactElement class

Properties: orientation, place, truncationPreferred

Methods: addEventListener, removeEventListener

Events: gmp-error, gmp-load

PlaceDetailsCompactElementOptions interface

Properties: orientation, truncationPreferred

PlaceDetailsOrientation constants

Constants: HORIZONTAL, VERTICAL

PlaceDetailsPlaceRequestElement class

Properties: place

Methods: addEventListener, removeEventListener

PlaceDetailsPlaceRequestElementOptions interface

Properties: place

PlaceDetailsLocationRequestElement class

Properties: location

Methods: addEventListener, removeEventListener

PlaceDetailsLocationRequestElementOptions interface

Properties: location

PlaceSearchElement class

Properties: attributionPosition, orientation, places, selectable, truncationPreferred

Methods: addEventListener, removeEventListener

Events: gmp-error, gmp-load, gmp-select

PlaceSearchElementOptions interface

Properties: attributionPosition, orientation, selectable, truncationPreferred

PlaceSearchAttributionPosition constants

Constants: BOTTOM, TOP

PlaceSearchOrientation constants

Constants: HORIZONTAL, VERTICAL

PlaceSelectEvent class

Properties: place

PlaceNearbySearchRequestElement class

Properties: excludedPrimaryTypes, excludedTypes, includedPrimaryTypes, includedTypes, locationRestriction, maxResultCount, rankPreference

Methods: 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, useStrictTypeFiltering

Methods: addEventListener, removeEventListener

PlaceTextSearchRequestElementOptions interface

Properties: evConnectorTypes, evMinimumChargingRateKw, includedType, isOpenNow, locationBias, locationRestriction, maxResultCount, minRating, priceLevels, rankPreference, textQuery, useStrictTypeFiltering

Autocomplete class

Methods: getBounds, getFields, getPlace, setBounds, setComponentRestrictions, setFields, setOptions, setTypes

Events: place_changed

AutocompleteOptions interface

Properties: bounds, componentRestrictions, fields, strictBounds, types, placeIdOnly

Methods: getBounds, getPlaces, setBounds

Events: 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, preferredSize

Methods: addEventListener, removeEventListener

PlaceMediaElementOptions interface

Properties: lightboxPreferred, preferredSize

MediaSize constants

Constants: LARGE, MEDIUM, SMALL

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, lightSchemeColor

Methods: addEventListener, removeEventListener

PlaceAttributionElementOptions interface

Properties: darkSchemeColor, lightSchemeColor

AttributionColor constants

Constants: BLACK, GRAY, WHITE

Place

Place class

Static Methods: searchByText, searchNearby

Properties: accessibilityOptions, addressComponents, adrFormatAddress, allowsDogs, attributions, businessStatus, 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, openingHours, hasWiFi

Methods: fetchFields, BetagetNextOpeningTime, BetaisOpen, toJSON

PlaceOptions interface

Properties: id, requestedLanguage, requestedRegion

AccessibilityOptions class

Properties: hasWheelchairAccessibleEntrance, hasWheelchairAccessibleParking, hasWheelchairAccessibleRestroom, hasWheelchairAccessibleSeating

AddressComponent class

Properties: longText, shortText, types

Attribution class

Properties: provider, providerURI

AuthorAttribution class

Properties: displayName, photoURI, uri

ConnectorAggregation class

Properties: availabilityLastUpdateTime, availableCount, count, maxChargeRateKw, outOfServiceCount, type

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

Properties: directionsURI, photosURI, placeURI, reviewsURI, writeAReviewURI

Money class

Properties: currencyCode, nanos, units

Methods: toString

OpeningHours class

Properties: periods, weekdayDescriptions

OpeningHoursPeriod class

Properties: close, open

OpeningHoursPoint class

Properties: day, hour, minute

ParkingOptions class

Properties: hasFreeGarageParking, hasFreeParkingLot, hasFreeStreetParking, hasPaidGarageParking, hasPaidParkingLot, hasPaidStreetParking, hasValetParking

PaymentOptions class

Properties: acceptsCashOnly, acceptsCreditCards, acceptsDebitCards, acceptsNFC

Photo class

Properties: authorAttributions, flagContentURI, googleMapsURI, heightPx, widthPx

Methods: 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

SearchByTextRequest interface

Properties: evSearchOptions, fields, includedType, isOpenNow, language, locationBias, locationRestriction, maxResultCount, minRating, priceLevels, rankPreference, region, textQuery, useStrictTypeFiltering, query, BetarankBy

SearchByTextRankPreference constants

Constants: DISTANCE, RELEVANCE

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: fetchAutocompleteSuggestions

Properties: placePrediction

AutocompleteRequest interface

Properties: includedPrimaryTypes, includedRegionCodes, input, inputOffset, language, locationBias, locationRestriction, origin, region, sessionToken

AutocompleteSessionToken class
PlacePrediction class

Properties: distanceMeters, mainText, placeId, secondaryText, text, types

Methods: BetafetchAddressValidation, toPlace

StringRange class

Properties: endOffset, startOffset

FormattableText class

Properties: matches, text

Geocoder

Geocoder class

Methods: geocode

GeocoderRequest interface

Properties: address, bounds, componentRestrictions, BetaextraComputations, fulfillOnZeroResults, language, location, placeId, region

GeocoderComponentRestrictions interface

Properties: administrativeArea, country, locality, postalCode, route

BetaExtraGeocodeComputation constants

Constants: ADDRESS_DESCRIPTORS

GeocoderStatus constants

Constants: ERROR, INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR, ZERO_RESULTS

GeocoderResponse interface

Properties: Betaaddress_descriptor, plus_code, results

GeocoderResult interface

Properties: address_components, Betaaddress_descriptor, formatted_address, geometry, partial_match, place_id, plus_code, postcode_localities, types

BetaAddressDescriptor interface

Properties: areas, landmarks

GeocoderAddressComponent interface

Properties: long_name, short_name, types

GeocoderGeometry interface

Properties: bounds, location, location_type, viewport

GeocoderLocationType constants

Constants: APPROXIMATE, GEOMETRIC_CENTER, RANGE_INTERPOLATED, ROOFTOP

BetaLandmark interface

Properties: display_name, display_name_language_code, place_id, spatial_relationship, straight_line_distance_meters, travel_distance_meters, types

BetaArea interface

Properties: containment, display_name, display_name_language_code, place_id

BetaContainment constants

Constants: NEAR, OUTSKIRTS, WITHIN

BetaSpatialRelationship constants

Constants: ACROSS_THE_ROAD, AROUND_THE_CORNER, BEHIND, BESIDE, DOWN_THE_ROAD, NEAR, WITHIN

Places Service

PlacesService class

Methods: 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: hasNextPage

Methods: 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_offset, permanently_closed

PlaceAspectRating interface

Properties: rating, type

BusinessStatus constants

Constants: CLOSED_PERMANENTLY, CLOSED_TEMPORARILY, OPERATIONAL

PlaceGeometry interface

Properties: location, viewport

PlaceOpeningHours interface

Properties: periods, weekday_text, open_now

Methods: isOpen

PlaceOpeningHoursPeriod interface

Properties: close, open

PlaceOpeningHoursTime interface

Properties: day, hours, minutes, nextDate, time

PlacePlusCode interface

Properties: compound_code, global_code

PlacePhoto interface

Properties: height, html_attributions, width

Methods: getUrl

PhotoOptions interface

Properties: maxHeight, maxWidth

PlaceReview interface

Properties: author_name, author_url, language, profile_photo_url, rating, relative_time_description, text, time, aspects

Places Autocomplete Service

AutocompleteService class

Methods: getPlacePredictions, getQueryPredictions

AutocompletionRequest interface

Properties: componentRestrictions, input, language, locationBias, locationRestriction, offset, origin, region, sessionToken, types, bounds, location, radius

AutocompleteResponse interface

Properties: predictions

QueryAutocompletionRequest interface

Properties: bounds, input, location, offset, radius

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

Properties: offset, value

PredictionSubstring interface

Properties: length, offset

StructuredFormatting interface

Properties: main_text, main_text_matched_substrings, secondary_text

Address Validation (beta)

BetaAddressValidation class

Static Methods: fetchAddressValidation

Properties: address, geocode, metadata, responseId, uspsData, verdict

Methods: toJSON

BetaAddressValidationRequest interface

Properties: address, placeAutocompleteElement, previousResponseId, sessionToken, uspsCASSEnabled

BetaAddress class

Properties: components, formattedAddress, missingComponentTypes, postalAddress, unconfirmedComponentTypes, unresolvedTokens

BetaAddressComponent class

Properties: componentName, componentNameLanguageCode, componentType, confirmationLevel, inferred, replaced, spellCorrected, unexpected

BetaAddressMetadata class

Properties: business, poBox, residential

BetaConfirmationLevel constants

Constants: CONFIRMED, UNCONFIRMED_AND_SUSPICIOUS, UNCONFIRMED_BUT_PLAUSIBLE

Beta