Google Maps JavaScript API v3 Reference

上次更新时间:2025 年 10 月 23 日(星期四)

此索引列出了 Maps JavaScript API 版本 3.62 中的所有类、方法和接口。

如需了解详情,请参阅版本说明和版本控制。

点击任何项的名称即可查看详细文档。

全局概念

google.maps

google.maps 命名空间

静态方法: importLibrary

常量: version

设置

设置类

静态方法: getInstance

属性: BetaexperienceIds、 fetchAppCheckToken

MapsAppCheckTokenResult 接口

事件系统

活动类别

静态方法: addListener、 addListenerOnce、 clearInstanceListeners、 clearListeners、 hasListeners、 removeListener、 trigger、 addDomListener、 addDomListenerOnce

MapsEventListener 接口

方法: remove

MVCObject 类

方法: addListener bindTo get notify set setValues unbind unbindAll

MVCArray 类

方法: clear、 forEach、 getArray、 getAt、 getLength、 insertAt、 pop、 push、 removeAt、 setAt

活动: insert_at remove_at set_at

ErrorEvent 接口

属性: error

错误

MapsNetworkError 类

属性: code、 endpoint

MapsRequestError 类
MapsServerError 类
MapsNetworkErrorEndpoint 常量

常量: 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 常量

常量: 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

地图

Google 地图

MapElement 类

属性: center、 headingInteractionDisabled、 innerMap、 internalUsageAttributionIds、 mapId、 renderingType、 tiltInteractionDisabled、 zoom

方法: addEventListener、 removeEventListener

活动: gmp-zoomchange

MapElementOptions 接口

属性: center、 headingInteractionDisabled、 internalUsageAttributionIds、 mapId、 renderingType、 tiltInteractionDisabled、 zoom

ZoomChangeEvent 类
地图类

属性: controls、 data、 mapTypes、 overlayMapTypes

方法: 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

常量: DEMO_MAP_ID

事件: 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 接口

属性: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 接口

属性: elementType、 featureType、 stylers

MapMouseEvent 接口

属性: domEvent、 latLng

方法: stop

IconMouseEvent 接口

属性: placeId

ColorScheme 常量

常量: DARK、 FOLLOW_SYSTEM、LIGHT

MapTypeId 常量

常量: HYBRID、 ROADMAP、 SATELLITE、 TERRAIN

MapTypeRegistry 类

方法: set

MapRestriction 接口

属性: latLngBounds、 strictBounds

TrafficLayer 类

方法: getMap、 setMap、 setOptions

TrafficLayerOptions 接口

属性: autoRefresh、 map

TransitLayer 类

方法: getMap、 setMap

BicyclingLayer 类

方法: getMap、 setMap

Beta 版CameraOptions 接口

属性: center、 heading、 tilt、 zoom

VisibleRegion 接口

属性: farLeft、 farRight、 latLngBounds、 nearLeft、 nearRight

RenderingType 常量

常量: RASTER、 UNINITIALIZED、VECTOR

MapCapabilities 接口

属性: isAdvancedMarkersAvailable、 isDataDrivenStylingAvailable、 isWebGLOverlayViewAvailable

WebGL

WebGLOverlayView 类

方法: getMap、 onAdd、 onContextLost、 onContextRestored、 onDraw、 onRemove、 onStateUpdate、 requestRedraw、 requestStateUpdate、 setMap

WebGLDrawOptions 接口

属性: gl、 transformer

WebGLStateOptions 接口

属性: gl

CoordinateTransformer 接口

方法: fromLatLngAltitude、 getCameraParams

CameraParams 接口

属性: center、 heading、 tilt、 zoom

坐标

LatLng 类

方法: equals、 lat、 lng、 toJSON、 toString、 toUrlValue

LatLngLiteral 接口

属性: lat、 lng

LatLngBounds 类

方法: contains、 equals、 extend、 getCenter、 getNorthEast、 getSouthWest、 intersects、 isEmpty、 toJSON、 toSpan、 toString、 toUrlValue、 union

常量: MAX_BOUNDS

LatLngBoundsLiteral 接口

属性: east、 north、 south、 west

LatLngAltitude 类

属性: altitude、 lat、 lng

方法: equals、 toJSON

LatLngAltitudeLiteral 接口

属性: altitude、 lat、 lng

Point 类

属性: x、 y

方法: equals、 toString

大小类

属性: height、 width

方法: equals、 toString

填充界面

属性: bottom、 left、 right、 top

CircleLiteral 接口

属性: center、 radius

Orientation3D 类

属性: heading、 roll、 tilt

方法: equals、 toJSON

Orientation3DLiteral 接口

属性: heading、 roll、 tilt

Vector3D 类

属性: x、 y、 z

方法: equals、 toJSON

Vector3DLiteral 接口

属性: x、 y、 z

数据驱动型样式

FeatureLayer 接口

属性: BetadatasetId、 featureType、 isAvailable、 style

方法: addListener

活动: click mousemove

FeatureType 常量

常量: ADMINISTRATIVE_AREA_LEVEL_1、 ADMINISTRATIVE_AREA_LEVEL_2、 COUNTRY、 BetaDATASET、 LOCALITY、 POSTAL_CODE、 SCHOOL_DISTRICT

FeatureStyleFunction typedef
FeatureStyleFunctionOptions 接口

属性: feature

FeatureStyleOptions 接口

属性: fillColor、 fillOpacity、 strokeColor、 strokeOpacity、 strokeWeight

功能界面

属性: featureType

PlaceFeature 接口

属性: placeId

方法: fetchPlace

Beta 版DatasetFeature 接口

属性: datasetAttributes、 datasetId

FeatureMouseEvent 接口

属性: features

控件

CameraControlOptions 接口

属性: position

FullscreenControlOptions 接口

属性: position

MapTypeControlOptions 接口

属性: mapTypeIds、 position、 style

MapTypeControlStyle 常量

常量: DEFAULT、 DROPDOWN_MENU、HORIZONTAL_BAR

MotionTrackingControlOptions 接口

属性: position

PanControlOptions 接口

属性: position

RotateControlOptions 接口

属性: position

ScaleControlOptions 接口

属性: style

ScaleControlStyle 常量

常量: DEFAULT

StreetViewControlOptions 接口

属性: position、 sources

ZoomControlOptions 接口

属性: position

ControlPosition 常量

常量: 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

几何图形库

编码类

静态方法: decodePath、 encodePath

球形类

静态方法: computeArea、 computeDistanceBetween、 computeHeading、 computeLength、 computeOffset、 computeOffsetOrigin、 computeSignedArea、 interpolate

poly 类

静态方法: containsLocation、 isLocationOnEdge

在地图上绘制

高级标记

AdvancedMarkerElement 类

属性: anchorLeft、 anchorTop、 collisionBehavior、 gmpClickable、 gmpDraggable、 map、 position、 title、 zIndex、 element、 content

方法: addEventListener、 addListener、 removeEventListener

活动: click drag dragend dragstart Betagmp-click

AdvancedMarkerElementOptions 接口

属性: anchorLeft、 anchorTop、 collisionBehavior、 content、 BetagmpClickable、 gmpDraggable、 map、 position、 title、 zIndex

AdvancedMarkerClickEvent 类
PinElement 类

属性: background、 borderColor、 glyphColor、 glyphSrc、 glyphText、 scale、 element、 glyph

方法: BetaaddEventListener、 removeEventListener

PinElementOptions 接口

属性: background、 borderColor、 glyphColor、 glyphSrc、 glyphText、 scale、 glyph

信息窗口

InfoWindow 类

属性: isOpen

方法: close、 focus、 getContent、 getHeaderContent、 getHeaderDisabled、 getPosition、 getZIndex、 open、 setContent、 setHeaderContent、 setHeaderDisabled、 setOptions、 setPosition、 setZIndex

活动: close closeclick content_changed domready headercontent_changed headerdisabled_changed position_changed visible zindex_changed

InfoWindowOptions 接口

属性: ariaLabel、 content、 disableAutoPan、 headerContent、 headerDisabled、 maxWidth、 minWidth、 pixelOffset、 position、 zIndex

InfoWindowOpenOptions 接口

属性: anchor、 map、 shouldFocus

多边形

Polyline 类

方法: getDraggable、 getEditable、 getMap、 getPath、 getVisible、 setDraggable、 setEditable、 setMap、 setOptions、 setPath、 setVisible

事件: click、 contextmenu、 dblclick、 drag、 dragend、 dragstart、 mousedown、 mousemove、 mouseout、 mouseover、 mouseup、 rightclick

PolylineOptions 接口

属性: clickable、 draggable、 editable、 geodesic、 icons、 map、 path、 strokeColor、 strokeOpacity、 strokeWeight、 visible、 zIndex

IconSequence 接口

属性: fixedRotation、 icon、 offset、 repeat

多边形类

方法: getDraggable、 getEditable、 getMap、 getPath、 getPaths、 getVisible、 setDraggable、 setEditable、 setMap、 setOptions、 setPath、 setPaths、 setVisible

事件: click、 contextmenu、 dblclick、 drag、 dragend、 dragstart、 mousedown、 mousemove、 mouseout、 mouseover、 mouseup、 rightclick

PolygonOptions 接口

属性: clickable、 draggable、 editable、 fillColor、 fillOpacity、 geodesic、 map、 paths、 strokeColor、 strokeOpacity、 strokePosition、 strokeWeight、 visible、 zIndex

PolyMouseEvent 接口

属性: edge、 path、 vertex

Rectangle 类

方法: getBounds、 getDraggable、 getEditable、 getMap、 getVisible、 setBounds、 setDraggable、 setEditable、 setMap、 setOptions、 setVisible

事件: bounds_changed click contextmenu dblclick drag dragend dragstart mousedown mousemove mouseout mouseover mouseup rightclick

RectangleOptions 接口

属性: bounds、 clickable、 draggable、 editable、 fillColor、 fillOpacity、 map、 strokeColor、 strokeOpacity、 strokePosition、 strokeWeight、 visible、 zIndex

Circle 类

方法: getBounds、 getCenter、 getDraggable、 getEditable、 getMap、 getRadius、 getVisible、 setCenter、 setDraggable、 setEditable、 setMap、 setOptions、 setRadius、 setVisible

事件: center_changed click dblclick drag dragend dragstart mousedown mousemove mouseout mouseover mouseup radius_changed rightclick

CircleOptions 接口

属性: center、 clickable、 draggable、 editable、 fillColor、 fillOpacity、 map、 radius、 strokeColor、 strokeOpacity、 strokePosition、 strokeWeight、 visible、 zIndex

StrokePosition 常量

常量: CENTER、 INSIDE、OUTSIDE

数据

数据类

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

事件: addfeature click contextmenu dblclick mousedown mouseout mouseover mouseup removefeature removeproperty setgeometry setproperty rightclick

Data.DataOptions 接口

属性: controlPosition controls drawingMode featureFactory map style

Data.GeoJsonOptions 接口

属性: idPropertyName

Data.StyleOptions 接口

属性: animation、 clickable、 cursor、 draggable、 editable、 fillColor、 fillOpacity、 icon、 icons、 label、 opacity、 shape、 strokeColor、 strokeOpacity、 strokeWeight、 title、 visible、 zIndex

Data.StylingFunction typedef
Data.Feature 类

方法: forEachProperty getGeometry getId getProperty removeProperty setGeometry setProperty toGeoJson

活动: removeproperty setgeometry setproperty

Data.FeatureOptions 接口

属性: geometry、 id、 properties

Data.Geometry 接口

方法: forEachLatLng、 getType

Data.Point 类

方法: forEachLatLng、 get、 getType

Data.MultiPoint 类

方法: forEachLatLng getArray getAt getLength getType

Data.LineString 类

方法: forEachLatLng getArray getAt getLength getType

Data.MultiLineString 类

方法: forEachLatLng getArray getAt getLength getType

Data.LinearRing 类

方法: forEachLatLng getArray getAt getLength getType

Data.Polygon 类

方法: forEachLatLng getArray getAt getLength getType

Data.MultiPolygon 类

方法: forEachLatLng getArray getAt getLength getType

Data.GeometryCollection 类

方法: forEachLatLng getArray getAt getLength getType

Data.MouseEvent 接口

属性: feature

Data.AddFeatureEvent 接口

属性: feature

Data.RemoveFeatureEvent 接口

属性: feature

Data.SetGeometryEvent 接口

属性: feature、 newGeometry、 oldGeometry

Data.SetPropertyEvent 接口

属性: feature、 name、 newValue、 oldValue

Data.RemovePropertyEvent 接口

属性: feature、 name、 oldValue

DOM 元素

OverlayView 类

静态方法: preventMapHitsAndGesturesFrom、 preventMapHitsFrom

方法: draw、 getMap、 getPanes、 getProjection、 onAdd、 onRemove、 setMap

MapPanes 接口

属性: floatPane、 mapPane、 markerLayer、 overlayLayer、 overlayMouseTarget

MapCanvasProjection 接口

方法: fromContainerPixelToLatLng、 fromDivPixelToLatLng、 fromLatLngToContainerPixel、 fromLatLngToDivPixel、 getVisibleRegion、 getWorldWidth

KML

KmlLayer 类

方法: getDefaultViewport、 getMap、 getMetadata、 getStatus、 getUrl、 getZIndex、 setMap、 setOptions、 setUrl、 setZIndex

活动: click defaultviewport_changed status_changed

KmlLayerOptions 接口

属性: clickable、 map、 preserveViewport、 screenOverlays、 suppressInfoWindows、 url、 zIndex

KmlLayerMetadata 接口

属性: author、 description、 hasScreenOverlays、 name、 snippet

KmlLayerStatus 常量

常量: DOCUMENT_NOT_FOUND、 DOCUMENT_TOO_LARGE、 FETCH_ERROR、 INVALID_DOCUMENT、 INVALID_REQUEST、 LIMITS_EXCEEDED、 OK、 TIMED_OUT、 UNKNOWN

KmlMouseEvent 接口

属性: featureData、 latLng、 pixelOffset

KmlFeatureData 接口

属性: author description id infoWindowHtml name snippet

KmlAuthor 接口

属性: email、 name、 uri

图像叠加层

MapType 接口

属性: alt、 maxZoom、 minZoom、 name、 projection、 radius、 tileSize

方法: getTile、 releaseTile

投影界面

方法: fromLatLngToPoint、 fromPointToLatLng

ImageMapType 类

属性: alt、 maxZoom、 minZoom、 name、 projection、 radius、 tileSize

方法: getOpacity、 getTile、 releaseTile、 setOpacity

活动: tilesloaded

ImageMapTypeOptions 接口

属性: alt、 getTileUrl、 maxZoom、 minZoom、 name、 opacity、 tileSize

GroundOverlay 类

方法: getBounds、 getMap、 getOpacity、 getUrl、 setMap、 setOpacity

活动: click dblclick

GroundOverlayOptions 接口

属性: clickable、 map、 opacity

StyledMapType 类

属性: alt、 maxZoom、 minZoom、 name、 projection、 radius、 tileSize

方法: getTile、 releaseTile

StyledMapTypeOptions 接口

属性: alt、 maxZoom、 minZoom、 name

绘图库

DrawingManager 类

方法: getDrawingMode getMap setDrawingMode setMap setOptions

活动: circlecomplete markercomplete overlaycomplete polygoncomplete polylinecomplete rectanglecomplete

DrawingManagerOptions 接口

属性: circleOptions、 drawingControl、 drawingControlOptions、 drawingMode、 map、 markerOptions、 polygonOptions、 polylineOptions、 rectangleOptions

DrawingControlOptions 接口

属性: drawingModes、 position

OverlayCompleteEvent 接口

属性: overlay、 type

OverlayType 常量

常量: CIRCLE、 MARKER、 POLYGON、 POLYLINE、 RECTANGLE

热图

HeatmapLayer 类

方法: getData getMap setData setMap setOptions

HeatmapLayerOptions 接口

属性: data、 dissipating、 gradient、 map、 maxIntensity、 opacity、 radius

WeightedLocation 接口

属性: location、 weight

最大缩放级别

MaxZoomService 类

方法: getMaxZoomAtLatLng

MaxZoomResult 接口

属性: status、 zoom

MaxZoomStatus 常量

常量: ERROR、 OK

标记(旧版)

标记类

方法: 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

常量: MAX_ZINDEX

事件: 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 接口

属性: anchorPoint、 animation、 clickable、 crossOnDrag、 cursor、 draggable、 icon、 label、 map、 opacity、 optimized、 position、 shape、 title、 visible、 zIndex、 BetacollisionBehavior

CollisionBehavior 常量

常量: OPTIONAL_AND_HIDES_LOWER_PRIORITY、 REQUIRED、REQUIRED_AND_HIDES_OPTIONAL

图标界面

属性: anchor labelOrigin origin scaledSize size url

MarkerLabel 接口

属性: className color fontFamily fontSize fontWeight text

MarkerShape 接口

属性: coords、 type

符号界面

属性: anchor、 fillColor、 fillOpacity、 labelOrigin、 path、 rotation、 scale、 strokeColor、 strokeOpacity、 strokeWeight

SymbolPath 常量

常量: BACKWARD_CLOSED_ARROW、 BACKWARD_OPEN_ARROW、 CIRCLE、 FORWARD_CLOSED_ARROW、 FORWARD_OPEN_ARROW

动画常量

常量: BOUNCE、 DROP

街景

渲染

StreetViewPanorama 类

属性: controls

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

活动: closeclick pano_changed position_changed pov_changed resize status_changed visible_changed zoom_changed

StreetViewPanoramaOptions 接口

属性: 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 接口

属性: position

PanoProviderOptions 接口

属性: cors

StreetViewTileData 接口

属性: centerHeading、 tileSize、 worldSize

方法: getTileUrl

StreetViewPov 接口

属性: heading、 pitch

StreetViewCoverageLayer 类

方法: getMap、 setMap

服务

StreetViewService 类

方法: getPanorama

StreetViewStatus 常量

常量: OK、 UNKNOWN_ERROR、ZERO_RESULTS

StreetViewLocationRequest 接口

属性: location、 preference、 radius、 sources、 source

StreetViewPanoRequest 接口

属性: pano

StreetViewResponse 接口

属性: data

StreetViewLocation 接口

属性: description、 latLng、 pano、 shortDescription

StreetViewPreference 常量

常量: BEST、 NEAREST

StreetViewSource 常量

常量: DEFAULT、 GOOGLE、OUTDOOR

StreetViewPanoramaData 接口

属性: copyright、 imageDate、 links、 location、 tiles

属性: description、 heading、 pano

地点

地点微件

BasicPlaceAutocompleteElement 类

属性: includedPrimaryTypes、 includedRegionCodes、 locationBias、 locationRestriction、 name、 origin、 requestedLanguage、 requestedRegion、 unitSystem

方法: addEventListener、 removeEventListener

活动: gmp-error gmp-select

BasicPlaceAutocompleteElementOptions 接口

属性: includedPrimaryTypes、 includedRegionCodes、 locationBias、 locationRestriction、 name、 origin、 requestedLanguage、 requestedRegion、 unitSystem

PlaceAutocompleteElement 类

属性: includedPrimaryTypes、 includedRegionCodes、 locationBias、 locationRestriction、 name、 origin、 requestedLanguage、 requestedRegion、 unitSystem

方法: addEventListener、 removeEventListener

活动: gmp-error gmp-select

PlaceAutocompleteElementOptions 接口

属性: includedPrimaryTypes、 includedRegionCodes、 locationBias、 locationRestriction、 name、 origin、 requestedLanguage、 requestedRegion、 unitSystem

PlacePredictionSelectEvent 类

属性: placePrediction

Alpha 版PlaceContextualElement 类

属性: contextToken

方法: addEventListener、 removeEventListener

Alpha 版PlaceContextualElementOptions 接口

属性: contextToken

Alpha 版PlaceContextualListConfigElement 类

属性: layout、 mapHidden

方法: addEventListener、 removeEventListener

Alpha 版PlaceContextualListConfigElementOptions 接口

属性: layout、 mapHidden

Alpha 版PlaceContextualListLayout 常量

常量: COMPACT、 VERTICAL

PlaceDetailsElement 类

属性: place

方法: addEventListener、 removeEventListener

活动: gmp-error gmp-load

PlaceDetailsElementOptions 接口
PlaceDetailsCompactElement 类

属性: orientation、 place、 truncationPreferred

方法: addEventListener、 removeEventListener

活动: gmp-error gmp-load

PlaceDetailsCompactElementOptions 接口

属性: orientation、 truncationPreferred

PlaceDetailsOrientation 常量

常量: HORIZONTAL、 VERTICAL

PlaceDetailsPlaceRequestElement 类

属性: place

方法: addEventListener、 removeEventListener

PlaceDetailsPlaceRequestElementOptions 接口

属性: place

PlaceDetailsLocationRequestElement 类

属性: location

方法: addEventListener、 removeEventListener

PlaceDetailsLocationRequestElementOptions 接口

属性: location

PlaceSearchElement 类

属性: attributionPosition、 orientation、 places、 selectable、 truncationPreferred

方法: addEventListener、 removeEventListener

活动: gmp-error gmp-load gmp-select

PlaceSearchElementOptions 接口

属性: attributionPosition、 orientation、 selectable、 truncationPreferred

PlaceSearchAttributionPosition 常量

常量: BOTTOM、 TOP

PlaceSearchOrientation 常量

常量: HORIZONTAL、 VERTICAL

PlaceSelectEvent 类

属性: place

PlaceNearbySearchRequestElement 类

属性: excludedPrimaryTypes、 excludedTypes、 includedPrimaryTypes、 includedTypes、 locationRestriction、 maxResultCount、 rankPreference

方法: addEventListener、 removeEventListener

PlaceNearbySearchRequestElementOptions 接口

属性: excludedPrimaryTypes、 excludedTypes、 includedPrimaryTypes、 includedTypes、 locationRestriction、 maxResultCount、 rankPreference

PlaceTextSearchRequestElement 类

属性: evConnectorTypes、 evMinimumChargingRateKw、 includedType、 isOpenNow、 locationBias、 locationRestriction、 maxResultCount、 minRating、 priceLevels、 rankPreference、 textQuery、 useStrictTypeFiltering

方法: addEventListener、 removeEventListener

PlaceTextSearchRequestElementOptions 接口

属性: evConnectorTypes、 evMinimumChargingRateKw、 includedType、 isOpenNow、 locationBias、 locationRestriction、 maxResultCount、 minRating、 priceLevels、 rankPreference、 textQuery、 useStrictTypeFiltering

自动补全类

方法: getBounds getFields getPlace setBounds setComponentRestrictions setFields setOptions setTypes

活动: place_changed

AutocompleteOptions 接口

属性: bounds componentRestrictions fields strictBounds types placeIdOnly

方法: getBounds、 getPlaces、 setBounds

活动: places_changed

SearchBoxOptions 接口

属性: bounds

地点微件内容自定义

PlaceContentConfigElement 类

方法: addEventListener、 removeEventListener

PlaceContentConfigElementOptions 接口
PlaceAllContentElement 类

方法: addEventListener、 removeEventListener

PlaceAllContentElementOptions 接口
PlaceStandardContentElement 类

方法: addEventListener、 removeEventListener

PlaceStandardContentElementOptions 接口
PlaceMediaElement 类

属性: lightboxPreferred、 preferredSize

方法: addEventListener、 removeEventListener

PlaceMediaElementOptions 接口

属性: lightboxPreferred、 preferredSize

MediaSize 常量

常量: LARGE、 MEDIUM、SMALL

PlaceAddressElement 类

方法: addEventListener、 removeEventListener

PlaceAddressElementOptions 接口
PlaceRatingElement 类

方法: addEventListener、 removeEventListener

PlaceRatingElementOptions 接口
PlaceTypeElement 类

方法: addEventListener、 removeEventListener

PlaceTypeElementOptions 接口
PlacePriceElement 类

方法: addEventListener、 removeEventListener

PlacePriceElementOptions 接口
PlaceAccessibleEntranceIconElement 类

方法: addEventListener、 removeEventListener

PlaceAccessibleEntranceIconElementOptions 接口
PlaceOpenNowStatusElement 类

方法: addEventListener、 removeEventListener

PlaceOpenNowStatusElementOptions 接口
PlaceReviewsElement 类

方法: addEventListener、 removeEventListener

PlaceReviewsElementOptions 接口
PlaceSummaryElement 类

方法: addEventListener、 removeEventListener

PlaceSummaryElementOptions 接口
PlaceFeatureListElement 类

方法: addEventListener、 removeEventListener

PlaceFeatureListElementOptions 接口
PlaceOpeningHoursElement 类

方法: addEventListener、 removeEventListener

PlaceOpeningHoursElementOptions 接口
PlacePhoneNumberElement 类

方法: addEventListener、 removeEventListener

PlacePhoneNumberElementOptions 接口
PlacePlusCodeElement 类

方法: addEventListener、 removeEventListener

PlacePlusCodeElementOptions 接口
PlaceTypeSpecificHighlightsElement 类

方法: addEventListener、 removeEventListener

PlaceTypeSpecificHighlightsElementOptions 接口
PlaceWebsiteElement 类

方法: addEventListener、 removeEventListener

PlaceWebsiteElementOptions 接口
PlaceAttributionElement 类

属性: darkSchemeColor、 lightSchemeColor

方法: addEventListener、 removeEventListener

PlaceAttributionElementOptions 接口

属性: darkSchemeColor、 lightSchemeColor

AttributionColor 常量

常量: BLACK、 GRAY、WHITE

Place

地点类

静态方法: searchByText、 searchNearby

属性: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、openingHours、hasWiFi

方法: fetchFields、 BetagetNextOpeningTime、 BetaisOpen、 toJSON

PlaceOptions 接口

属性: id、 requestedLanguage、 requestedRegion

AccessibilityOptions 类

属性: hasWheelchairAccessibleEntrance、 hasWheelchairAccessibleParking、 hasWheelchairAccessibleRestroom、 hasWheelchairAccessibleSeating

AddressComponent 类

属性: longText、 shortText、 types

归因类

属性: provider、 providerURI

AuthorAttribution 类

属性: displayName、 photoURI、 uri

ConnectorAggregation 类

属性: availabilityLastUpdateTime availableCount count maxChargeRateKw outOfServiceCount type

ConsumerAlert 类

属性: details、 languageCode、 overview

ConsumerAlertDetails 类

属性: aboutLinkTitle、 aboutLinkURI、 description、 title

EVChargeOptions 类

属性: connectorAggregations、 connectorCount

EVConnectorType 常量

常量: CCS_COMBO_1、 CCS_COMBO_2、 CHADEMO、 J1772、 NACS、 OTHER、 TESLA、 TYPE_2、 UNSPECIFIED_GB_T、 UNSPECIFIED_WALL_OUTLET

EVSearchOptions 接口

属性: connectorTypes、 minimumChargingRateKw

FetchFieldsRequest 接口

属性: fields

FuelOptions 类

属性: fuelPrices

FuelPrice 类

属性: price、 type、 updateTime

FuelType 常量

常量: 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

属性: directionsURI、 photosURI、 placeURI、 reviewsURI、 writeAReviewURI

Money 类

属性: currencyCode、 nanos、 units

方法: toString

OpeningHours 类

属性: periods、 weekdayDescriptions

OpeningHoursPeriod 类

属性: close、 open

OpeningHoursPoint 类

属性: day、 hour、 minute

ParkingOptions 类

属性: hasFreeGarageParking、 hasFreeParkingLot、 hasFreeStreetParking、 hasPaidGarageParking、 hasPaidParkingLot、 hasPaidStreetParking、 hasValetParking

PaymentOptions 类

属性: acceptsCashOnly、 acceptsCreditCards、 acceptsDebitCards、 acceptsNFC

照片类

属性: authorAttributions、 flagContentURI、 googleMapsURI、 heightPx、 widthPx

方法: getURI

PlusCode 类

属性: compoundCode、 globalCode

PostalAddress 类

属性: addressLines、 administrativeArea、 languageCode、 locality、 organization、 postalCode、 recipients、 regionCode、 sortingCode、 sublocality

PostalAddressLiteral 接口

属性: addressLines、 administrativeArea、 languageCode、 locality、 organization、 postalCode、 recipients、 regionCode、 sortingCode、 sublocality

PriceLevel 常量

常量: EXPENSIVE、 FREE、 INEXPENSIVE、 MODERATE、 VERY_EXPENSIVE

PriceRange 类

属性: endPrice、 startPrice

查看课程

属性: authorAttribution、 flagContentURI、 googleMapsURI、 originalText、 originalTextLanguageCode、 publishTime、 rating、 relativePublishTimeDescription、 text、 textLanguageCode、 visitDateMonth、 visitDateYear

SearchByTextRequest 接口

属性: evSearchOptions、 fields、 includedType、 isOpenNow、 language、 locationBias、 locationRestriction、 maxResultCount、 minRating、 priceLevels、 rankPreference、 region、 textQuery、 useStrictTypeFiltering、 query、 BetarankBy

SearchByTextRankPreference 常量

常量: DISTANCE、 RELEVANCE

SearchNearbyRequest 接口

属性: excludedPrimaryTypes、 excludedTypes、 fields、 includedPrimaryTypes、 includedTypes、 language、 locationRestriction、 maxResultCount、 rankPreference、 region

SearchNearbyRankPreference 常量

常量: DISTANCE、 POPULARITY

自动补全数据(新)

AutocompleteSuggestion 类

静态方法: fetchAutocompleteSuggestions

属性: placePrediction

AutocompleteRequest 接口

属性: includedPrimaryTypes、 includedRegionCodes、 input、 inputOffset、 language、 locationBias、 locationRestriction、 origin、 region、 sessionToken

AutocompleteSessionToken 类
PlacePrediction 类

属性: distanceMeters mainText placeId secondaryText text types

方法: BetafetchAddressValidation、 toPlace

StringRange 类

属性: endOffset、 startOffset

FormattableText 类

属性: matches、 text

地理编码器

Geocoder 类

方法: geocode

GeocoderRequest 接口

属性: address、 bounds、 componentRestrictions、 BetaextraComputations、 fulfillOnZeroResults、 language、 location、 placeId、 region

GeocoderComponentRestrictions 接口

属性: administrativeArea、 country、 locality、 postalCode、 route

Beta 版ExtraGeocodeComputation 常量

常量: ADDRESS_DESCRIPTORS

GeocoderStatus 常量

常量: ERROR、 INVALID_REQUEST、 OK、 OVER_QUERY_LIMIT、 REQUEST_DENIED、 UNKNOWN_ERROR、 ZERO_RESULTS

GeocoderResponse 接口

属性: Betaaddress_descriptor、 plus_code、 results

GeocoderResult 接口

属性: address_components、 Betaaddress_descriptor、 formatted_address、 geometry、 partial_match、 place_id、 plus_code、 postcode_localities、 types

Beta 版AddressDescriptor 接口

属性: areas、 landmarks

GeocoderAddressComponent 接口

属性: long_name、 short_name、 types

GeocoderGeometry 接口

属性: bounds、 location、 location_type、 viewport

GeocoderLocationType 常量

常量: APPROXIMATE、 GEOMETRIC_CENTER、 RANGE_INTERPOLATED、 ROOFTOP

Beta 版地标界面

属性: display_name、 display_name_language_code、 place_id、 spatial_relationship、 straight_line_distance_meters、 travel_distance_meters、 types

Beta 版区域界面

属性: containment、 display_name、 display_name_language_code、 place_id

Beta 版包含常量

常量: NEAR、 OUTSKIRTS、WITHIN

Beta 版SpatialRelationship 常量

常量: ACROSS_THE_ROAD、 AROUND_THE_CORNER、 BEHIND、 BESIDE、 DOWN_THE_ROAD、 NEAR、 WITHIN

地点服务

PlacesService 类

方法: findPlaceFromPhoneNumber findPlaceFromQuery getDetails nearbySearch textSearch

PlaceDetailsRequest 接口

属性: fields、 language、 placeId、 region、 sessionToken

FindPlaceFromPhoneNumberRequest 接口

属性: fields、 language、 locationBias、 phoneNumber

FindPlaceFromQueryRequest 接口

属性: fields、 language、 locationBias、 query

PlaceSearchRequest 接口

属性: bounds、 keyword、 language、 location、 maxPriceLevel、 minPriceLevel、 openNow、 radius、 rankBy、 type、 name

TextSearchRequest 接口

属性: bounds、 language、 location、 query、 radius、 region、 type

RankBy 常量

常量: DISTANCE、 PROMINENCE

LocationBias typedef
LocationRestriction typedef
PlacesServiceStatus 常量

常量: INVALID_REQUEST、 NOT_FOUND、 OK、 OVER_QUERY_LIMIT、 REQUEST_DENIED、 UNKNOWN_ERROR、 ZERO_RESULTS

PlaceSearchPagination 接口

属性: hasNextPage

方法: nextPage

PlaceResult 接口

属性: 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 接口

属性: rating、 type

BusinessStatus 常量

常量: CLOSED_PERMANENTLY、 CLOSED_TEMPORARILY、OPERATIONAL

PlaceGeometry 接口

属性: location、 viewport

PlaceOpeningHours 接口

属性: periods、 weekday_text、 open_now

方法: isOpen

PlaceOpeningHoursPeriod 接口

属性: close、 open

PlaceOpeningHoursTime 接口

属性: day、 hours、 minutes、 nextDate、 time

PlacePlusCode 接口

属性: compound_code、 global_code

PlacePhoto 接口

属性: height、 html_attributions、 width

方法: getUrl

PhotoOptions 接口

属性: maxHeight、 maxWidth

PlaceReview 接口

属性: author_name、 author_url、 language、 profile_photo_url、 rating、 relative_time_description、 text、 time、 aspects

地点自动补全服务

AutocompleteService 类

方法: getPlacePredictions、 getQueryPredictions

AutocompletionRequest 接口

属性: componentRestrictions、 input、 language、 locationBias、 locationRestriction、 offset、 origin、 region、 sessionToken、 types、 bounds、 location、 radius

AutocompleteResponse 接口

属性: predictions

QueryAutocompletionRequest 接口

属性: bounds、 input、 location、 offset、 radius

ComponentRestrictions 接口

属性: country

AutocompletePrediction 接口

属性: description、 distance_meters、 matched_substrings、 place_id、 structured_formatting、 terms、 types

QueryAutocompletePrediction 接口

属性: description、 matched_substrings、 place_id、 terms

PredictionTerm 接口

属性: offset、 value

PredictionSubstring 接口

属性: length、 offset

StructuredFormatting 接口

属性: main_text、 main_text_matched_substrings、 secondary_text

地址验证(Beta 版)

Beta 版AddressValidation 类

静态方法: fetchAddressValidation

属性: address geocode metadata responseId uspsData verdict

方法: toJSON

Beta 版AddressValidationRequest 接口

属性: address、 placeAutocompleteElement、 previousResponseId、 sessionToken、 uspsCASSEnabled

Beta 版地址类

属性: components formattedAddress missingComponentTypes postalAddress unconfirmedComponentTypes unresolvedTokens

Beta 版AddressComponent 类

属性: componentName、 componentNameLanguageCode、 componentType、 confirmationLevel、 inferred、 replaced、 spellCorrected、 unexpected

Beta 版AddressMetadata 类

属性: business、 poBox、 residential

Beta 版ConfirmationLevel 常量

常量: CONFIRMED、 UNCONFIRMED_AND_SUSPICIOUS、UNCONFIRMED_BUT_PLAUSIBLE

Beta 版地理编码类

属性: bounds featureSizeMeters location placeId placeTypes plusCode

方法: fetchPlace

Beta 版粒度常量

常量: BLOCK、 OTHER、 PREMISE、 PREMISE_PROXIMITY、 ROUTE、 SUB_PREMISE

Beta 版PossibleNextAction 常量

常量: ACCEPT、 CONFIRM、 CONFIRM_ADD_SUBPREMISES、 FIX

Beta 版USPSAddress 类

属性: city、 cityStateZipAddressLine、 firm、 firstAddressLine、 secondAddressLine、 state、 urbanization、 zipCode、 zipCodeExtension

Beta 版USPSData 类

属性: 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、 suiteLinkFootnote

Beta 版判决类

属性: addressComplete、 geocodeGranularity、 hasInferredComponents、 hasReplacedComponents、 hasUnconfirmedComponents、 inputGranularity、 possibleNextAction、 validationGranularity

路由

路由

路线类

静态方法: computeRoutes

属性: description、 distanceMeters、 durationMillis、 legs、 localizedValues、 optimizedIntermediateWaypointIndices、 path、 polylineDetails、 routeLabels、 routeToken、 speedPaths、 staticDurationMillis、 travelAdvisory、 viewport、 warnings

方法: createPolylines、 createWaypointAdvancedMarkers、 toJSON

ComputeRoutesRequest 接口

属性: arrivalTime、 computeAlternativeRoutes、 departureTime、 destination、 extraComputations、 fields、 intermediates、 language、 optimizeWaypointOrder、 origin、 polylineQuality、 region、 requestedReferenceRoutes、 routeModifiers、 routingPreference、 trafficModel、 transitPreference、 travelMode、 units

ComputeRoutesExtraComputation 常量

常量: FLYOVER_INFO_ON_POLYLINE、 FUEL_CONSUMPTION、 HTML_FORMATTED_NAVIGATION_INSTRUCTIONS、 NARROW_ROAD_INFO_ON_POLYLINE、 TOLLS、 TRAFFIC_ON_POLYLINE

DirectionalLocationLiteral 接口

属性: heading

DirectionalLocation 类

属性: heading

方法: toJSON

FallbackInfo 类

属性: reason、 routingMode

方法: toJSON

FallbackReason 常量

常量: LATENCY_EXCEEDED、 SERVER_ERROR

FallbackRoutingMode 常量

常量: TRAFFIC_AWARE、 TRAFFIC_UNAWARE

GeocodedWaypoint 类

属性: geocoderStatus、 intermediateWaypointRequestIndex、 partialMatch、 placeId、 types

方法: toJSON

GeocodingResults 类

属性: destination、 intermediates、 origin

方法: toJSON

MultiModalSegment 类

属性: instructions、 maneuver、 stepEndIndex、 stepStartIndex、 travelMode

方法: toJSON

PolylineDetailInfo 类

属性: endIndex、 presence、 startIndex

方法: toJSON

PolylineDetails 类

属性: flyoverInfo、 narrowRoadInfo

方法: toJSON

PolylineQuality 常量

常量: HIGH_QUALITY、 OVERVIEW

ReferenceRoute 常量

常量: FUEL_EFFICIENT、 SHORTER_DISTANCE

RoadFeatureState 常量

常量: DOES_NOT_EXIST、 EXISTS

RouteLabel 常量

常量: DEFAULT_ROUTE、 DEFAULT_ROUTE_ALTERNATE、 FUEL_EFFICIENT、 SHORTER_DISTANCE

RouteLeg 类

属性: distanceMeters、 durationMillis、 endLocation、 localizedValues、 path、 speedPaths、 startLocation、 staticDurationMillis、 steps、 stepsOverview、 travelAdvisory

方法: toJSON

RouteLegLocalizedValues 类

属性: distance distanceLanguage duration durationLanguage staticDuration staticDurationLanguage

方法: toJSON

RouteLegStep 类

属性: distanceMeters、 endLocation、 instructions、 localizedValues、 maneuver、 path、 startLocation、 staticDurationMillis、 transitDetails、 travelMode

方法: toJSON

RouteLegStepLocalizedValues 类

属性: distance、 distanceLanguage、 staticDuration、 staticDurationLanguage

方法: toJSON

RouteLegTravelAdvisory 类

属性: speedReadingIntervals、 tollInfo

方法: toJSON

RouteLocalizedValues 类

属性: distance、 distanceLanguage、 duration、 durationLanguage、 staticDuration、 staticDurationLanguage、 transitFare、 transitFareLanguage

方法: toJSON

RouteModifiers 接口

属性: avoidFerries avoidHighways avoidIndoor avoidTolls tollPasses vehicleInfo

RoutePolylineDetails 接口

属性: speed、 transitDetails、 travelMode

RoutePolylineOptions 接口

属性: colorScheme、 polylineOptions

RouteTravelAdvisory 类

属性: fuelConsumptionMicroliters、 routeRestrictionsPartiallyIgnored、 speedReadingIntervals、 tollInfo、 transitFare

方法: toJSON

RoutingPreference 常量

常量: TRAFFIC_AWARE、 TRAFFIC_AWARE_OPTIMAL、TRAFFIC_UNAWARE

速度常量

常量: NORMAL、 SLOW、TRAFFIC_JAM

SpeedPath 接口

属性: path、 speed

SpeedReadingInterval 类

属性: endPolylinePointIndex、 speed、 startPolylinePointIndex

方法: toJSON

StepsOverview 类

属性: multiModalSegments

方法: toJSON

TollInfo 类

属性: estimatedPrices

方法: toJSON

TransitAgency 类

属性: name、 phoneNumber、 url

方法: toJSON

TransitDetails 类

属性: arrivalStop、 arrivalTime、 departureStop、 departureTime、 headsign、 headwayMillis、 stopCount、 transitLine、 tripShortText

方法: toJSON

TransitLine 类

属性: agencies、 color、 iconURL、 name、 shortName、 textColor、 url、 vehicle

方法: toJSON

TransitPreference 接口

属性: allowedTransitModes、 routingPreference

TransitStop 类

属性: location、 name

方法: toJSON

TransitVehicle 类

属性: iconURL、 localIconURL、 name、 nameLanguage、 vehicleType

方法: toJSON

VehicleEmissionType 常量

常量: DIESEL、 ELECTRIC、 GASOLINE、 HYBRID

VehicleInfo 接口

属性: emissionType

航点界面

属性: location、 sideOfRoad、 vehicleStopover、 via

WaypointMarkerDetails 接口

属性: index、 leg、 totalMarkers

路线矩阵

RouteMatrix 类

静态方法: computeRouteMatrix

属性: rows

方法: toJSON

RouteMatrixRow 类

属性: items

方法: toJSON

RouteMatrixItem 类

属性: condition、 distanceMeters、 durationMillis、 error、 fallbackInfo、 localizedValues、 staticDurationMillis、 travelAdvisory

方法: toJSON

ComputeRouteMatrixRequest 接口

属性: arrivalTime、 departureTime、 destinations、 extraComputations、 fields、 language、 origins、 region、 routingPreference、 trafficModel、 transitPreference、 travelMode、 units

ComputeRouteMatrixExtraComputation 常量

常量: TOLLS

RouteMatrixItemCondition 常量

常量: ROUTE_EXISTS、 ROUTE_NOT_FOUND

RouteMatrixItemError 类

方法: toJSON

RouteMatrixItemLocalizedValues 类

属性: distance、 distanceLanguage、 duration、 durationLanguage、 staticDuration、 staticDurationLanguage、 transitFare、 transitFareLanguage

方法: toJSON

RouteMatrixOrigin 接口

属性: routeModifiers、 waypoint

路线

DirectionsService 类

方法: route

DirectionsRequest 接口

属性: avoidFerries、 avoidHighways、 avoidTolls、 destination、 drivingOptions、 language、 optimizeWaypoints、 origin、 provideRouteAlternatives、 region、 transitOptions、 travelMode、 unitSystem、 waypoints

DirectionsStatus 常量

常量: INVALID_REQUEST、 MAX_WAYPOINTS_EXCEEDED、 NOT_FOUND、 OK、 OVER_QUERY_LIMIT、 REQUEST_DENIED、 UNKNOWN_ERROR、 ZERO_RESULTS

DirectionsResult 接口

属性: available_travel_modes、 geocoded_waypoints、 request、 routes

DirectionsRenderer 类

方法: getDirections、 getMap、 getPanel、 getRouteIndex、 setDirections、 setMap、 setOptions、 setPanel、 setRouteIndex

活动: directions_changed

DirectionsRendererOptions 接口

属性: directions、 draggable、 hideRouteList、 infoWindow、 map、 markerOptions、 panel、 polylineOptions、 preserveViewport、 routeIndex、 suppressBicyclingLayer、 suppressInfoWindows、 suppressMarkers、 suppressPolylines

DirectionsWaypoint 接口

属性: location、 stopover

DirectionsGeocodedWaypoint 接口

属性: partial_match、 place_id、 types

DirectionsRoute 接口

属性: bounds、 copyrights、 fare、 legs、 overview_path、 overview_polyline、 summary、 warnings、 waypoint_order

DirectionsLeg 接口

属性: arrival_time、 departure_time、 distance、 duration、 duration_in_traffic、 end_address、 end_location、 start_address、 start_location、 steps、 via_waypoints、 traffic_speed_entry

DirectionsStep 接口

属性: distance、 duration、 encoded_lat_lngs、 end_location、 instructions、 maneuver、 path、 start_location、 steps、 transit、 transit_details、 travel_mode、 start_point、 end_point、 lat_lngs、 polyline

DirectionsPolyline 接口

属性: points

地点界面

属性: location、 placeId、 query

TravelMode 常量

常量: BICYCLING、 DRIVING、 TRANSIT、 BetaTWO_WHEELER、 WALKING

DrivingOptions 接口

属性: departureTime、 trafficModel

TrafficModel 常量

常量: BEST_GUESS、 OPTIMISTIC、PESSIMISTIC

TransitOptions 接口

属性: arrivalTime、 departureTime、 modes、 routingPreference

TransitMode 常量

常量: BUS、 BetaLIGHT_RAIL、 RAIL、 SUBWAY、 TRAIN、 TRAM

TransitRoutePreference 常量

常量: FEWER_TRANSFERS、 LESS_WALKING

TransitFare 接口

属性: currency、 text、 value

TransitDetails 接口

属性: arrival_stop、 arrival_time、 departure_stop、 departure_time、 headsign、 headway、 line、 num_stops、 trip_short_name

TransitStop 接口

属性: location、 name

TransitLine 接口

属性: agencies、 color、 icon、 name、 short_name、 text_color、 url、 vehicle

TransitAgency 接口

属性: name、 phone、 url

TransitVehicle 接口

属性: icon、 local_icon、 name、 type

VehicleType 常量

常量: 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 常量

常量: IMPERIAL、 METRIC

距离界面

属性: text、 value

时长界面

属性: text、 value

时间界面

属性: text、 time_zone、 value

DirectionsTravelMode 常量
DirectionsUnitSystem 常量

距离矩阵

DistanceMatrixService 类

方法: getDistanceMatrix

DistanceMatrixRequest 接口

属性: avoidFerries、 avoidHighways、 avoidTolls、 destinations、 drivingOptions、 language、 origins、 region、 transitOptions、 travelMode、 unitSystem

DistanceMatrixResponse 接口

属性: destinationAddresses、 originAddresses、 rows

DistanceMatrixResponseRow 接口

属性: elements

DistanceMatrixResponseElement 接口

属性: distance、 duration、 duration_in_traffic、 fare、 status

DistanceMatrixStatus 常量

常量: INVALID_REQUEST、 MAX_DIMENSIONS_EXCEEDED、 MAX_ELEMENTS_EXCEEDED、 OK、 OVER_QUERY_LIMIT、 REQUEST_DENIED、 UNKNOWN_ERROR

DistanceMatrixElementStatus 常量

常量: NOT_FOUND、 OK、ZERO_RESULTS

海拔

ElevationService 类

方法: getElevationAlongPath、 getElevationForLocations

LocationElevationRequest 接口

属性: locations

LocationElevationResponse 接口

属性: results

PathElevationRequest 接口

属性: path、 samples

PathElevationResponse 接口

属性: results

ElevationResult 接口

属性: elevation、 location、 resolution

ElevationStatus 常量

常量: INVALID_REQUEST、 OK、 OVER_QUERY_LIMIT、 REQUEST_DENIED、 UNKNOWN_ERROR

3D Maps

3D 地图

Map3DElement 类

属性: bounds、 center、 defaultUIHidden、 description、 gestureHandling、 heading、 internalUsageAttributionIds、 language、 mapId、 maxAltitude、 maxHeading、 maxTilt、 minAltitude、 minHeading、 minTilt、 mode、 range、 region、 roll、 tilt、 defaultUIDisabled

方法: addEventListener flyCameraAround flyCameraTo removeEventListener stopCameraAnimation

活动: gmp-animationend gmp-centerchange gmp-click gmp-error gmp-headingchange gmp-map-id-error gmp-rangechange gmp-rollchange gmp-steadychange gmp-tiltchange

Map3DElementOptions 接口

属性: bounds、 center、 defaultUIHidden、 description、 gestureHandling、 heading、 internalUsageAttributionIds、 language、 mapId、 maxAltitude、 maxHeading、 maxTilt、 minAltitude、 minHeading、 minTilt、 mode、 range、 region、 roll、 tilt、 defaultUIDisabled

MapMode 常量

常量: HYBRID、 SATELLITE

GestureHandling 常量

常量: AUTO、 COOPERATIVE、GREEDY

FlyAroundAnimationOptions 接口

属性: camera、 durationMillis、 repeatCount、 rounds

FlyToAnimationOptions 接口

属性: durationMillis、 endCamera

CameraOptions 接口

属性: center、 heading、 range、 roll、 tilt

SteadyChangeEvent 类

属性: isSteady

LocationClickEvent 类

属性: position

PlaceClickEvent 类

属性: placeId

方法: fetchPlace

在地图上绘制

Marker3DElement 类

属性: altitudeMode、 collisionBehavior、 drawsWhenOccluded、 extruded、 label、 position、 sizePreserved、 zIndex

方法: addEventListener、 removeEventListener

Marker3DElementOptions 接口

属性: altitudeMode、 collisionBehavior、 drawsWhenOccluded、 extruded、 label、 position、 sizePreserved、 zIndex

Marker3DInteractiveElement 类

属性: gmpPopoverTargetElement、 title

方法: addEventListener、 removeEventListener

活动: gmp-click

Marker3DInteractiveElementOptions 接口

属性: gmpPopoverTargetElement、 title

Model3DElement 类

属性: altitudeMode、 orientation、 position、 scale、 src

方法: addEventListener、 removeEventListener

Model3DElementOptions 接口

属性: altitudeMode、 orientation、 position、 scale、 src

Model3DInteractiveElement 类

方法: addEventListener、 removeEventListener

活动: gmp-click

Model3DInteractiveElementOptions 接口
Polyline3DElement 类

属性: altitudeMode、 drawsOccludedSegments、 extruded、 geodesic、 outerColor、 outerWidth、 path、 strokeColor、 strokeWidth、 zIndex、 coordinates

方法: addEventListener、 removeEventListener

Polyline3DElementOptions 接口

属性: altitudeMode、 coordinates、 drawsOccludedSegments、 extruded、 geodesic、 outerColor、 outerWidth、 strokeColor、 strokeWidth、 zIndex

Polyline3DInteractiveElement 类

方法: addEventListener、 removeEventListener

活动: gmp-click

Polyline3DInteractiveElementOptions 接口
Polygon3DElement 类

属性: altitudeMode、 drawsOccludedSegments、 extruded、 fillColor、 geodesic、 innerPaths、 path、 strokeColor、 strokeWidth、 zIndex、 outerCoordinates、 innerCoordinates

方法: addEventListener、 removeEventListener

Polygon3DElementOptions 接口

属性: altitudeMode、 drawsOccludedSegments、 extruded、 fillColor、 geodesic、 innerCoordinates、 outerCoordinates、 strokeColor、 strokeWidth、 zIndex

Polygon3DInteractiveElement 类

方法: addEventListener、 removeEventListener

活动: gmp-click

Polygon3DInteractiveElementOptions 接口
PopoverElement 类

属性: altitudeMode、 lightDismissDisabled、 open、 positionAnchor

方法: addEventListener、 removeEventListener

PopoverElementOptions 接口

属性: altitudeMode、 lightDismissDisabled、 open、 positionAnchor

AltitudeMode 常量

常量: ABSOLUTE、 CLAMP_TO_GROUND、 RELATIVE_TO_GROUND、 RELATIVE_TO_MESH

环境(Alpha)

空气质量

Alpha 版AirQualityMeterElement 类

属性: location、 requestedLanguage

方法: addEventListener、 removeEventListener

活动: gmp-error gmp-load

AirQualityMeterElementOptions 接口

属性: location、 requestedLanguage

旅程分享

地图视图

JourneySharingMapView 类

属性: automaticViewportMode、 element、 enableTraffic、 locationProviders、 map、 mapOptions、 locationProvider、 destinationMarkerSetup、 originMarkerSetup、 taskOutcomeMarkerSetup、 unsuccessfulTaskMarkerSetup、 vehicleMarkerSetup、 waypointMarkerSetup、 anticipatedRoutePolylineSetup、 takenRoutePolylineSetup、 pingMarkerSetup、 successfulTaskMarkerSetup、 destinationMarkers、 originMarkers、 successfulTaskMarkers、 taskOutcomeMarkers、 unsuccessfulTaskMarkers、 vehicleMarkers、 waypointMarkers、 anticipatedRoutePolylines、 takenRoutePolylines

方法: addLocationProvider、 removeLocationProvider

JourneySharingMapViewOptions 接口

属性: automaticViewportMode、 element、 locationProviders、 mapOptions、 locationProvider、 destinationMarkerSetup、 originMarkerSetup、 taskOutcomeMarkerSetup、 unsuccessfulTaskMarkerSetup、 vehicleMarkerSetup、 waypointMarkerSetup、 anticipatedRoutePolylineSetup、 takenRoutePolylineSetup、 pingMarkerSetup、 successfulTaskMarkerSetup

AutomaticViewportMode 常量

常量: FIT_ANTICIPATED_ROUTE、 NONE

LocationProvider 抽象类

方法: addListener

PollingLocationProvider 抽象类

属性: isPolling、 pollingIntervalMillis

活动: ispollingchange

PollingLocationProviderIsPollingChangeEvent 接口

属性: error

Authentication

AuthToken 接口

属性: expiresInSeconds、 token

AuthTokenContext 接口

属性: deliveryVehicleId、 taskId、 trackingId、 tripId、 vehicleId

AuthTokenFetcher typedef
AuthTokenFetcherOptions 接口

属性: context、 serviceType

FleetEngineServiceType 常量

常量: DELIVERY_VEHICLE_SERVICE、 TASK_SERVICE、 TRIP_SERVICE、 UNKNOWN_SERVICE

界面自定义

PolylineSetup typedef
PolylineSetupOptions 接口

属性: polylineOptions、 visible

DefaultPolylineSetupOptions 接口

属性: defaultPolylineOptions、 defaultVisible

MarkerSetup typedef
MarkerSetupOptions 接口

属性: markerOptions

DefaultMarkerSetupOptions 接口

属性: defaultMarkerOptions

MarkerCustomizationFunctionParams 接口

属性: defaultOptions、 isNew、 marker

DeliveryVehicleMarkerCustomizationFunctionParams 接口

属性: vehicle

PlannedStopMarkerCustomizationFunctionParams 接口

属性: stopIndex

TaskMarkerCustomizationFunctionParams 接口

属性: task

ShipmentMarkerCustomizationFunctionParams 接口

属性: taskTrackingInfo

TripMarkerCustomizationFunctionParams 接口

属性: trip

TripWaypointMarkerCustomizationFunctionParams 接口

属性: waypointIndex

VehicleMarkerCustomizationFunctionParams 接口

属性: vehicle

VehicleWaypointMarkerCustomizationFunctionParams 接口

属性: waypointIndex

PolylineCustomizationFunctionParams 接口

属性: defaultOptions、 isNew、 polylines

ShipmentPolylineCustomizationFunctionParams 接口

属性: taskTrackingInfo

TripPolylineCustomizationFunctionParams 接口

属性: trip

VehiclePolylineCustomizationFunctionParams 接口

属性: vehicle

DeliveryVehiclePolylineCustomizationFunctionParams 接口

属性: deliveryVehicle

Fleet Engine 实体

任务界面

属性: attributes、 estimatedCompletionTime、 latestVehicleLocationUpdate、 name、 outcome、 outcomeLocation、 outcomeLocationSource、 outcomeTime、 plannedLocation、 remainingVehicleJourneySegments、 status、 targetTimeWindow、 trackingId、 type、 vehicleId

TaskInfo 接口

属性: extraDurationMillis、 id、 targetTimeWindow

TaskTrackingInfo 接口

属性: attributes、 estimatedArrivalTime、 estimatedTaskCompletionTime、 latestVehicleLocationUpdate、 name、 plannedLocation、 remainingDrivingDistanceMeters、 remainingStopCount、 routePolylinePoints、 state、 targetTimeWindow、 taskOutcome、 taskOutcomeTime、 trackingId

行程界面

属性: actualDropOffLocation、 actualPickupLocation、 dropOffTime、 latestVehicleLocationUpdate、 name、 passengerCount、 pickupTime、 plannedDropOffLocation、 plannedPickupLocation、 remainingWaypoints、 status、 type、 vehicleId

DeliveryVehicle 接口

属性: attributes、 currentRouteSegmentEndPoint、 latestVehicleLocationUpdate、 name、 navigationStatus、 remainingDistanceMeters、 remainingDurationMillis、 remainingVehicleJourneySegments

DeliveryVehicleStop 接口

属性: plannedLocation、 state、 tasks

DeliveryVehicleStopState 常量

常量: ARRIVED、 ENROUTE、 NEW、 UNSPECIFIED

VehicleJourneySegment 接口

属性: drivingDistanceMeters、 drivingDurationMillis、 path、 stop

VehicleLocationUpdate 接口

属性: heading、 location、 speedKilometersPerHour、 time

VehicleWaypoint 接口

属性: distanceMeters、 durationMillis、 location、 path、 speedReadingIntervals

车辆接口

属性: attributes、 currentRouteSegmentEndPoint、 currentRouteSegmentVersion、 currentTrips、 etaToFirstWaypoint、 latestLocation、 maximumCapacity、 name、 navigationStatus、 remainingDistanceMeters、 supportedTripTypes、 vehicleState、 vehicleType、 waypoints、 waypointsVersion

VehicleNavigationStatus 常量

常量: ARRIVED_AT_DESTINATION、 ENROUTE_TO_DESTINATION、 NO_GUIDANCE、 OFF_ROUTE、 UNKNOWN_NAVIGATION_STATUS

VehicleState 常量

常量: OFFLINE、 ONLINE、UNKNOWN_VEHICLE_STATE

VehicleType 常量

常量: AUTO、 TAXI、 TRUCK、 TWO_WHEELER、 UNKNOWN

TripType 常量

常量: EXCLUSIVE、 SHARED、UNKNOWN_TRIP_TYPE

TripWaypoint 接口

属性: distanceMeters、 durationMillis、 location、 path、 speedReadingIntervals、 tripId、 waypointType

WaypointType 常量

常量: DROP_OFF_WAYPOINT_TYPE、 INTERMEDIATE_DESTINATION_WAYPOINT_TYPE、 PICKUP_WAYPOINT_TYPE、 UNKNOWN_WAYPOINT_TYPE

TimeWindow 界面

属性: endTime、 startTime

速度常量

常量: NORMAL、 SLOW、TRAFFIC_JAM

SpeedReadingInterval 接口

属性: endPolylinePointIndex、 speed、 startPolylinePointIndex

行程和订单进度

FleetEngineTripLocationProvider 类

静态方法: TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTION、 TRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTION

属性: tripId

方法: refresh

活动: error update

FleetEngineTripLocationProviderOptions 接口

属性: activePolylineCustomization、 authTokenFetcher、 destinationMarkerCustomization、 originMarkerCustomization、 pollingIntervalMillis、 projectId、 remainingPolylineCustomization、 takenPolylineCustomization、 tripId、 vehicleMarkerCustomization、 waypointMarkerCustomization

FleetEngineTripLocationProviderUpdateEvent 接口

属性: trip

车队跟踪 - 最后一公里车队

FleetEngineDeliveryVehicleLocationProvider 类

属性: deliveryVehicleId、 shouldShowOutcomeLocations、 shouldShowTasks、 staleLocationThresholdMillis、 taskFilterOptions

活动: error update

FleetEngineDeliveryVehicleLocationProviderOptions 接口

属性: activePolylineCustomization、 authTokenFetcher、 deliveryVehicleId、 deliveryVehicleMarkerCustomization、 plannedStopMarkerCustomization、 pollingIntervalMillis、 projectId、 remainingPolylineCustomization、 shouldShowOutcomeLocations、 shouldShowTasks、 staleLocationThresholdMillis、 takenPolylineCustomization、 taskFilterOptions、 taskMarkerCustomization、 taskOutcomeMarkerCustomization

FleetEngineTaskFilterOptions 接口

属性: completionTimeFrom、 completionTimeTo、 state

FleetEngineDeliveryVehicleLocationProviderUpdateEvent 接口

属性: completedVehicleJourneySegments、 deliveryVehicle、 tasks

FleetEngineDeliveryFleetLocationProvider 类

属性: deliveryVehicleFilter、 locationRestriction、 staleLocationThresholdMillis

活动: update

FleetEngineDeliveryFleetLocationProviderOptions 接口

属性: authTokenFetcher deliveryVehicleFilter deliveryVehicleMarkerCustomization locationRestriction projectId staleLocationThresholdMillis

FleetEngineDeliveryFleetLocationProviderUpdateEvent 接口

属性: deliveryVehicles

车队跟踪 - 按需乘车与配送

FleetEngineVehicleLocationProvider 类

静态方法: TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTION、 TRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTION

属性: staleLocationThresholdMillis、 vehicleId

活动: error update

FleetEngineVehicleLocationProviderOptions 接口

属性: activePolylineCustomization、 authTokenFetcher、 destinationMarkerCustomization、 intermediateDestinationMarkerCustomization、 originMarkerCustomization、 pollingIntervalMillis、 projectId、 remainingPolylineCustomization、 staleLocationThresholdMillis、 takenPolylineCustomization、 vehicleId、 vehicleMarkerCustomization

FleetEngineVehicleLocationProviderUpdateEvent 接口

属性: trips、 vehicle

FleetEngineFleetLocationProvider 类

属性: locationRestriction、 staleLocationThresholdMillis、 vehicleFilter

活动: update

FleetEngineFleetLocationProviderOptions 接口

属性: authTokenFetcher locationRestriction projectId staleLocationThresholdMillis vehicleFilter vehicleMarkerCustomization

FleetEngineFleetLocationProviderUpdateEvent 接口

属性: vehicles

货运跟踪

FleetEngineShipmentLocationProvider 类

属性: trackingId

方法: refresh

活动: error update

FleetEngineShipmentLocationProviderOptions 接口

属性: activePolylineCustomization、 authTokenFetcher、 deliveryVehicleMarkerCustomization、 destinationMarkerCustomization、 pollingIntervalMillis、 projectId、 remainingPolylineCustomization、 takenPolylineCustomization、 trackingId

FleetEngineShipmentLocationProviderUpdateEvent 接口

属性: taskTrackingInfo

库接口

库接口

CoreLibrary 接口

属性: ColorScheme、 ControlPosition、 event、 LatLng、 LatLngAltitude、 LatLngBounds、 MapsNetworkError、 MapsNetworkErrorEndpoint、 MapsRequestError、 MapsServerError、 MVCArray、 MVCObject、 Orientation3D、 Point、 RPCStatus、 Settings、 Size、 SymbolPath、 UnitSystem、 Vector3D

MapsLibrary 接口

属性: 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 接口

属性: AltitudeMode、 GestureHandling、 LocationClickEvent、 Map3DElement、 MapMode、 Marker3DElement、 Marker3DInteractiveElement、 Model3DElement、 Model3DInteractiveElement、 PlaceClickEvent、 Polygon3DElement、 Polygon3DInteractiveElement、 Polyline3DElement、 Polyline3DInteractiveElement、 PopoverElement、 SteadyChangeEvent

PlacesLibrary 接口

属性: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 接口

属性: Containment ExtraGeocodeComputation Geocoder GeocoderLocationType GeocoderStatus SpatialRelationship

RoutesLibrary 接口

属性: 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 接口

属性: AdvancedMarkerClickEvent AdvancedMarkerElement Animation CollisionBehavior Marker PinElement

GeometryLibrary 接口

属性: encoding、 poly、 spherical

ElevationLibrary 接口

属性: ElevationService、 ElevationStatus

StreetViewLibrary 接口

属性: InfoWindow、 OverlayView、 StreetViewCoverageLayer、 StreetViewPanorama、 StreetViewPreference、 StreetViewService、 StreetViewSource、 StreetViewStatus

JourneySharingLibrary 接口

属性: AutomaticViewportMode、 DeliveryVehicleStopState、 FleetEngineDeliveryFleetLocationProvider、 FleetEngineDeliveryVehicleLocationProvider、 FleetEngineFleetLocationProvider、 FleetEngineServiceType、 FleetEngineShipmentLocationProvider、 FleetEngineTripLocationProvider、 FleetEngineVehicleLocationProvider、 JourneySharingMapView、 Speed、 TripType、 VehicleNavigationStatus、 VehicleState、 VehicleType、 WaypointType

DrawingLibrary 接口

属性: DrawingManager、 OverlayType

VisualizationLibrary 接口

属性: HeatmapLayer

AirQualityLibrary 接口

属性: AirQualityMeterElement

Beta 版AddressValidationLibrary 接口

属性: BetaAddress、 BetaAddressComponent、 BetaAddressMetadata、 BetaAddressValidation、 BetaConfirmationLevel、 BetaGeocode、 BetaGranularity、 BetaPossibleNextAction、 BetaUSPSAddress、 BetaUSPSData、 BetaVerdict