Google Maps JavaScript API v3 Reference

上次更新时间:2026 年 5 月 5 日(星期二)

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

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

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

全局概念

google.maps

google.maps 命名空间

常量: version

静态方法: importLibrary

设置

设置类 库“核心”

静态方法: getInstance

属性: BetaexperienceIds、 fetchAppCheckToken

MapsAppCheckTokenResult 接口

属性: token

事件系统

事件命名空间 库“core”

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

MapsEventListener 接口

方法: remove

MVCObject 类 库“core”

方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

MVCArray 类 扩展自 MVCObject,库为“core”

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

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

活动: insert_at remove_at set_at

ErrorEvent 接口

属性: error

错误

MapsNetworkError 类 扩展自 Error,库为“core”

属性: code、 endpoint

MapsRequestError 类 扩展自 MapsNetworkError,库“core”

继承的属性: code、 endpoint

MapsServerError 类 扩展自 MapsNetworkError,库“core”

继承的属性: code、 endpoint

MapsNetworkErrorEndpoint 常量 库“core”

常量: 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 常量 库“core”

常量: 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 类 (标记:<gmp-map>) 扩展 HTMLElement,实现 MapElementOptions,库“maps”

属性: center(属性:center)、 headingInteractionDisabled(属性:heading-interaction-disabled)、 innerMap、 internalUsageAttributionIds(属性:internal-usage-attribution-ids)、 mapId(属性:map-id)、 renderingType(属性:rendering-type)、 tiltInteractionDisabled(属性:tilt-interaction-disabled)、 zoom(属性:zoom)

广告位: control-block-end-inline-center、 control-block-end-inline-end、 control-block-end-inline-start、 control-block-start-inline-center、 control-block-start-inline-end、 control-block-start-inline-start、 control-inline-end-block-center、 control-inline-end-block-end、 control-inline-end-block-start、 control-inline-start-block-center、 control-inline-start-block-end、 control-inline-start-block-start、 default

继承的方法: addEventListener、 removeEventListener

活动: gmp-zoomchange

MapElementOptions 接口

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

ZoomChangeEvent 类 扩展自 Event,库为“maps”
地图类 扩展自 MVCObject,库为“maps”

常量: DEMO_MAP_ID

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

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

事件: 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 接口 扩展了 MapMouseEvent

属性: placeId

继承的属性: domEvent、 latLng

继承的方法: stop

ColorScheme 常量 library "core"

常量: DARK、 FOLLOW_SYSTEM、 LIGHT

MapTypeId 常量 库“maps”

常量: HYBRID、 ROADMAP、 SATELLITE、 TERRAIN

MapTypeRegistry 类 扩展自 MVCObject,库“maps”

方法: set

继承的方法: addListener、 bindTo、 get、 notify、 setValues、 unbind、 unbindAll

MapRestriction 接口

属性: latLngBounds、 strictBounds

TrafficLayer 类 扩展了 MVCObject,库为“maps”

方法: getMap、 setMap、 setOptions

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

TrafficLayerOptions 接口

属性: autoRefresh、 map

TransitLayer 类 扩展了 MVCObject,库为“maps”

方法: getMap、 setMap

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

BicyclingLayer 类 扩展自 MVCObject,库为“maps”

方法: getMap、 setMap

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

Beta 版CameraOptions 接口

属性: center、 heading、 tilt、 zoom

VisibleRegion 接口

属性: farLeft farRight latLngBounds nearLeft nearRight

RenderingType 常量 库“maps”

常量: RASTER、 UNINITIALIZED、 VECTOR

MapCapabilities 接口

属性: isAdvancedMarkersAvailable、 isDataDrivenStylingAvailable、 isWebGLOverlayViewAvailable

WebGL

WebGLOverlayView 类 扩展自 MVCObject,库为“maps”

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

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

WebGLDrawOptions 接口

属性: gl、 transformer

WebGLStateOptions 接口

属性: gl

CoordinateTransformer 接口

方法: fromLatLngAltitude、 getCameraParams

CameraParams 接口 扩展了 CameraOptions

属性: center、 heading、 tilt、 zoom

坐标

LatLng 类 库“core”

方法: equals lat lng toJSON toString toUrlValue

LatLngLiteral 接口

属性: lat、 lng

LatLngBounds 类 库“core”

常量: MAX_BOUNDS

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

LatLngBoundsLiteral 接口

属性: east、 north、 south、 west

LatLngAltitude 类 实现了 LatLngAltitudeLiteral、LatLngLiteral、库“core”

属性: altitude、 lat、 lng

方法: equals、 toJSON

LatLngAltitudeLiteral 接口 扩展了 LatLngLiteral

属性: altitude、 lat、 lng

点类 库“core”

属性: x、 y

方法: equals、 toString

大小类 库“核心”

属性: height、 width

方法: equals、 toString

填充界面

属性: bottom、 left、 right、 top

CircleLiteral 接口 扩展了 CircleOptions

属性: center、 radius

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

Orientation3D 类 实现了 Orientation3DLiteral,库“core”

属性: heading、 roll、 tilt

方法: equals、 toJSON

Orientation3DLiteral 接口

属性: heading、 roll、 tilt

Vector3D 类 实现了 Vector3DLiteral,库为“core”

属性: x、 y、 z

方法: equals、 toJSON

Vector3DLiteral 接口

属性: x、 y、 z

数据驱动型样式

FeatureLayer 接口

属性: BetadatasetId、 featureType、 isAvailable、 style

方法: addListener

活动: click、 mousemove

FeatureType 常量 库“maps”

常量: 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 接口 扩展自 Feature

属性: placeId

继承的属性: featureType

方法: fetchPlace

Beta 版DatasetFeature 接口 继承自 Feature

属性: datasetAttributes、 datasetId

继承的属性: featureType

FeatureMouseEvent 接口 扩展了 MapMouseEvent

属性: features

继承的属性: domEvent、 latLng

继承的方法: stop

控件

CameraControlOptions 接口

属性: position

FullscreenControlOptions 接口

属性: position

MapTypeControlOptions 接口

属性: mapTypeIds、 position、 style

MapTypeControlStyle 常量 库“maps”

常量: DEFAULT、 DROPDOWN_MENU、 HORIZONTAL_BAR

MotionTrackingControlOptions 接口

属性: position

PanControlOptions 接口

属性: position

RotateControlOptions 接口

属性: position

ScaleControlOptions 接口

属性: style

ScaleControlStyle 常量

常量: DEFAULT

StreetViewControlOptions 接口

属性: position、 sources

ZoomControlOptions 接口

属性: position

ControlPosition 常量 库“core”

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

静态方法: decodePath、 encodePath

球形命名空间 库“geometry”

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

多边形命名空间 库“geometry”

静态方法: containsLocation、 isLocationOnEdge

在地图上绘制

高级标记

AdvancedMarkerElement 类 (标记:<gmp-advanced-marker>) 扩展 HTMLElement,实现 AdvancedMarkerElementOptions,库“marker”

属性: anchorLeft(属性:anchor-left)、 anchorTop(属性:anchor-top)、 collisionBehavior、 gmpClickable(属性:gmp-clickable)、 gmpDraggable、 map、 position(属性:position)、 title(属性:title)、 zIndex、 element、 content

方法: addListener

继承的方法: addEventListener、 removeEventListener

活动: click drag dragend dragstart gmp-click

AdvancedMarkerElementOptions 接口

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

AdvancedMarkerClickEvent 类 扩展了 Event,库为“marker”
PinElement 类 扩展 HTMLElement,实现 PinElementOptions,库“标记”

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

继承的方法: addEventListener、 removeEventListener

PinElementOptions 接口

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

信息窗口

InfoWindow 类 扩展自 MVCObject,库为“maps”“streetView”

属性: isOpen

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

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

活动: 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

多边形

多段线类 扩展自 MVCObject,库为“maps”

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

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

活动: 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

多边形类 扩展自 MVCObject,库为“maps”

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

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

活动: 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 接口 扩展了 MapMouseEvent

属性: edge、 path、 vertex

继承的属性: domEvent、 latLng

继承的方法: stop

矩形类 扩展自 MVCObject,库为“maps”

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

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

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

圆形类 ,扩展自 MVCObject,库为“maps”

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

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

事件: 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 常量 库“maps”

常量: CENTER、 INSIDE、 OUTSIDE

数据

数据类 扩展 MVCObject,库“maps”

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

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

事件: 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 类 “maps”库

方法: forEachProperty、 getGeometry、 getId、 getProperty、 removeProperty、 setGeometry、 setProperty、 toGeoJson

活动: removeproperty setgeometry setproperty

Data.FeatureOptions 接口

属性: geometry、 id、 properties

Data.Geometry 接口

方法: forEachLatLng、 getType

Data.Point 类 实现了 Data.Geometry,库“maps”

方法: forEachLatLng、 get、 getType

Data.MultiPoint 类 实现 Data.Geometry,库“maps”

方法: forEachLatLng、 getArray、 getAt、 getLength、 getType

Data.LineString 类 实现了 Data.Geometry,库为“maps”

方法: forEachLatLng、 getArray、 getAt、 getLength、 getType

Data.MultiLineString 类 实现了 Data.Geometry,库为“maps”

方法: forEachLatLng、 getArray、 getAt、 getLength、 getType

Data.LinearRing 类 实现了 Data.Geometry,库为“maps”

方法: forEachLatLng、 getArray、 getAt、 getLength、 getType

Data.Polygon 类 实现了 Data.Geometry,库“maps”

方法: forEachLatLng、 getArray、 getAt、 getLength、 getType

Data.MultiPolygon 类 实现 Data.Geometry,库“maps”

方法: forEachLatLng、 getArray、 getAt、 getLength、 getType

Data.GeometryCollection 类 实现 Data.Geometry,库“maps”

方法: forEachLatLng、 getArray、 getAt、 getLength、 getType

Data.MouseEvent 接口 扩展自 MapMouseEvent

属性: feature

继承的属性: domEvent、 latLng

继承的方法: stop

Data.AddFeatureEvent 接口

属性: feature

Data.RemoveFeatureEvent 接口

属性: feature

Data.SetGeometryEvent 接口

属性: feature、 newGeometry、 oldGeometry

Data.SetPropertyEvent 接口

属性: feature、 name、 newValue、 oldValue

Data.RemovePropertyEvent 接口

属性: feature、 name、 oldValue

DOM 元素

OverlayView 类 扩展自 MVCObject,库为“maps”“streetView”

静态方法: preventMapHitsAndGesturesFrom、 preventMapHitsFrom

方法: draw getMap getPanes getProjection onAdd onRemove setMap

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

MapPanes 接口

属性: floatPane mapPane markerLayer overlayLayer overlayMouseTarget

MapCanvasProjection 接口

方法: fromContainerPixelToLatLng fromDivPixelToLatLng fromLatLngToContainerPixel fromLatLngToDivPixel getVisibleRegion getWorldWidth

KML

KmlLayer 类 扩展自 MVCObject,库 "maps"

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

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

活动: click defaultviewport_changed status_changed

KmlLayerOptions 接口

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

KmlLayerMetadata 接口

属性: author description hasScreenOverlays name snippet

KmlLayerStatus 常量 库“maps”

常量: 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 类 扩展自 MVCObject,实现 MapType,库“maps”

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

方法: getOpacity、 getTile、 releaseTile、 setOpacity

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

活动: tilesloaded

ImageMapTypeOptions 接口

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

GroundOverlay 类 extends MVCObject,库 "maps"

方法: getBounds getMap getOpacity getUrl setMap setOpacity

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

活动: click、 dblclick

GroundOverlayOptions 接口

属性: clickable、 map、 opacity

StyledMapType 类 扩展 MVCObject,实现 MapType,库 "maps"

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

方法: getTile、 releaseTile

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

StyledMapTypeOptions 接口

属性: alt、 maxZoom、 minZoom、 name

绘图库

DrawingManager 类 扩展自 MVCObject,库“drawing”

方法: getDrawingMode、 getMap、 setDrawingMode、 setMap、 setOptions

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

活动: circlecomplete markercomplete overlaycomplete polygoncomplete polylinecomplete rectanglecomplete

DrawingManagerOptions 接口

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

DrawingControlOptions 接口

属性: drawingModes、 position

OverlayCompleteEvent 接口

属性: overlay、 type

OverlayType 常量 库“drawing”

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

热图

HeatmapLayer 类 扩展了 MVCObject,库为“visualization”

方法: getData、 getMap、 setData、 setMap、 setOptions

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

HeatmapLayerOptions 接口

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

WeightedLocation 接口

属性: location、 weight

最大缩放级别

MaxZoomService 类 库 "maps"

方法: getMaxZoomAtLatLng

MaxZoomResult 接口

属性: status、 zoom

MaxZoomStatus 常量 “maps”库

常量: ERROR、 OK

标记(旧版)

标记类 扩展 MVCObject,库“marker”

常量: MAX_ZINDEX

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

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

事件: 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 常量 库“marker”

常量: 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 常量 库“core”

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

动画常量 库“标记”

常量: BOUNCE、 DROP

街景

渲染

StreetViewPanorama 类 扩展自 MVCObject,库为“streetView”

属性: controls

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

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

活动: 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 类 扩展 MVCObject,库“streetView”

方法: getMap、 setMap

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

服务

StreetViewService 类 “streetView”库

方法: getPanorama

StreetViewStatus 常量 库“streetView”

常量: OK、 UNKNOWN_ERROR、 ZERO_RESULTS

StreetViewLocationRequest 接口

属性: location preference radius sources source

StreetViewPanoRequest 接口

属性: pano

StreetViewResponse 接口

属性: data

StreetViewLocation 接口

属性: description、 latLng、 pano、 shortDescription

StreetViewPreference 常量 库“streetView”

常量: BEST、 NEAREST

StreetViewSource 常量 库“streetView”

常量: DEFAULT、 GOOGLE、 OUTDOOR

StreetViewPanoramaData 接口

属性: copyright imageDate links location tiles

属性: description、 heading、 pano

地点

地点 Widget

PlaceAutocompleteElement 类 (标记:<gmp-place-autocomplete>) 扩展 HTMLElement,实现 PlaceAutocompleteElementOptions,库“places”

属性: description(属性:description)、 disabled(属性:disabled)、 futureOpeningBusinessesIncluded(属性:future-opening-businesses-included)、 includedPrimaryTypes(属性:included-primary-types)、 includedRegionCodes(属性:included-region-codes)、 locationBias、 locationRestriction、 maxlength(属性:maxlength)、 name(属性:name)、 noInputIcon(属性:no-input-icon)、 origin(属性:origin)、 placeholder(属性:placeholder)、 pureServiceAreaBusinessesIncluded(属性:pure-service-area-businesses-included)、 readonly(属性:readonly)、 requestedLanguage(属性:requested-language)、 requestedRegion(属性:requested-region)、 unitSystem(属性:unit-system)、 value

广告资源: prediction-item-icon

部件: focus-ring、 input、 prediction-item、 prediction-item-icon、 prediction-item-main-text、 prediction-item-match、 prediction-item-selected、 prediction-list

CSS 属性: background-color、 border、 border-radius、 color、 color-scheme、 font、 font-family、 font-size、 font-style、 font-weight、 line-height

继承的方法: addEventListener、 removeEventListener

活动: gmp-error、 gmp-select

PlaceAutocompleteElementOptions 接口

属性: description、 disabled、 futureOpeningBusinessesIncluded、 includedPrimaryTypes、 includedRegionCodes、 locationBias、 locationRestriction、 maxlength、 name、 noInputIcon、 origin、 placeholder、 pureServiceAreaBusinessesIncluded、 readonly、 requestedLanguage、 requestedRegion、 unitSystem、 value

PlacePredictionSelectEvent 类 扩展了“places”库中的 Event

属性: placePrediction

BasicPlaceAutocompleteElement 类 (标记:<gmp-basic-place-autocomplete>) 扩展 HTMLElement,实现 BasicPlaceAutocompleteElementOptions,库“places”

属性: description(属性:description)、 disabled(属性:disabled)、 futureOpeningBusinessesIncluded(属性:future-opening-businesses-included)、 includedPrimaryTypes(属性:included-primary-types)、 includedRegionCodes(属性:included-region-codes)、 locationBias、 locationRestriction、 maxlength(属性:maxlength)、 name(属性:name)、 noInputIcon(属性:no-input-icon)、 origin(属性:origin)、 placeholder(属性:placeholder)、 pureServiceAreaBusinessesIncluded(属性:pure-service-area-businesses-included)、 readonly(属性:readonly)、 requestedLanguage(属性:requested-language)、 requestedRegion(属性:requested-region)、 unitSystem(属性:unit-system)

广告资源: prediction-item-icon

部件: focus-ring、 input、 prediction-item、 prediction-item-icon、 prediction-item-main-text、 prediction-item-match、 prediction-item-selected、 prediction-list

CSS 属性: background-color、 border、 border-radius、 color、 color-scheme、 font、 font-family、 font-size、 font-style、 font-weight、 line-height

继承的方法: addEventListener、 removeEventListener

活动: gmp-error、 gmp-select

BasicPlaceAutocompleteElementOptions 接口

属性: description、 disabled、 futureOpeningBusinessesIncluded、 includedPrimaryTypes、 includedRegionCodes、 locationBias、 locationRestriction、 maxlength、 name、 noInputIcon、 origin、 placeholder、 pureServiceAreaBusinessesIncluded、 readonly、 requestedLanguage、 requestedRegion、 unitSystem

PlaceDetailsElement 类 (标记:<gmp-place-details>) 扩展 HTMLElement,实现 PlaceDetailsElementOptions,库“places”

属性: place

CSS 属性:--gmp-button-border-color、--gmp-button-border-radius、--gmp-button-border-width、--gmp-collage-border-radius-outer、--gmp-dialog-border-radius、--gmp-mat-color-disabled-surface、--gmp-mat-color-info、--gmp-mat-color-negative、--gmp-mat-color-neutral-container、--gmp-mat-color-on-neutral-container、--gmp-mat-color-on-positive-container、--gmp-mat-color-on-secondary-container、--gmp-mat-color-on-surface、--gmp-mat-color-on-surface-variant、--gmp-mat-color-outline-decorative、--gmp-mat-color-positive、--gmp-mat-color-positive-container、--gmp-mat-color-primary、--gmp-mat-color-secondary-container、--gmp-mat-color-surface、--gmp-mat-font-body-medium、--gmp-mat-font-body-small、--gmp-mat-font-display-small、--gmp-mat-font-family、--gmp-mat-font-headline-medium、--gmp-mat-font-label-large、--gmp-mat-font-label-medium、--gmp-mat-font-title-small、--gmp-mat-spacing-extra-large、--gmp-mat-spacing-extra-small、--gmp-mat-spacing-large、--gmp-mat-spacing-medium、--gmp-mat-spacing-small、--gmp-mat-spacing-two-extra-large、--gmp-star-rating-color、background-color、border、border-radius、color-scheme、font-size

继承的方法: addEventListener、 removeEventListener

活动: gmp-error、 gmp-load

PlaceDetailsElementOptions 接口
PlaceDetailsCompactElement 类 (标记:<gmp-place-details-compact>) 扩展 HTMLElement,实现 PlaceDetailsCompactElementOptions,库“places”

属性: orientation(属性:orientation)、 place、 truncationPreferred(属性:truncation-preferred)

CSS 属性: --gmp-button-border-color、 --gmp-button-border-radius、 --gmp-button-border-width、 --gmp-dialog-border-radius、 --gmp-mat-color-info、 --gmp-mat-color-negative、 --gmp-mat-color-neutral-container、 --gmp-mat-color-on-secondary-container、 --gmp-mat-color-on-surface、 --gmp-mat-color-on-surface-variant、 --gmp-mat-color-outline-decorative、 --gmp-mat-color-positive、 --gmp-mat-color-primary、 --gmp-mat-color-secondary-container、 --gmp-mat-color-surface、 --gmp-mat-font-body-medium、 --gmp-mat-font-body-small、 --gmp-mat-font-family、 --gmp-mat-font-headline-medium、 --gmp-mat-font-label-large、 --gmp-mat-font-label-medium、 --gmp-mat-font-title-small、 --gmp-mat-spacing-extra-small、 --gmp-mat-spacing-large、 --gmp-mat-spacing-medium、 --gmp-mat-spacing-small、 --gmp-star-rating-color、 --gmp-thumbnail-border-radius、 background-color、 border、 border-radius、 color-scheme、 font-size

继承的方法: addEventListener、 removeEventListener

活动: gmp-error、 gmp-load

PlaceDetailsCompactElementOptions 接口

属性: orientation、 truncationPreferred

PlaceDetailsOrientation 常量 库“places”

常量: HORIZONTAL、 VERTICAL

PlaceDetailsPlaceRequestElement 类 (标记:<gmp-place-details-place-request>) 扩展 HTMLElement,实现 PlaceDetailsPlaceRequestElementOptions,库“places”

属性: place(属性:place)

继承的方法: addEventListener、 removeEventListener

PlaceDetailsPlaceRequestElementOptions 接口

属性: place

PlaceDetailsLocationRequestElement 类 (标记:<gmp-place-details-location-request>) 扩展 HTMLElement,实现 PlaceDetailsLocationRequestElementOptions,库“places”

属性: location(属性:location)

继承的方法: addEventListener、 removeEventListener

PlaceDetailsLocationRequestElementOptions 接口

属性: location

PlaceSearchElement 类 (标记:<gmp-place-search>) 扩展 HTMLElement,实现 PlaceSearchElementOptions,库“places”

属性:attributionPosition(属性:attribution-position)、orientation(属性:orientation)、places、selectable(属性:selectable)、truncationPreferred(属性:truncation-preferred)

CSS 属性: --gmp-button-border-color、 --gmp-button-border-radius、 --gmp-button-border-width、 --gmp-card-border-radius、 --gmp-dialog-border-radius、 --gmp-mat-color-info、 --gmp-mat-color-negative、 --gmp-mat-color-neutral-container、 --gmp-mat-color-on-neutral-container、 --gmp-mat-color-on-secondary-container、 --gmp-mat-color-on-surface、 --gmp-mat-color-on-surface-variant、 --gmp-mat-color-outline-decorative、 --gmp-mat-color-positive、 --gmp-mat-color-primary、 --gmp-mat-color-secondary-container、 --gmp-mat-color-surface、 --gmp-mat-font-body-small、 --gmp-mat-font-family、 --gmp-mat-font-headline-medium、 --gmp-mat-font-label-large、 --gmp-mat-font-title-medium、 --gmp-mat-spacing-extra-small、 --gmp-mat-spacing-large、 --gmp-mat-spacing-medium、 --gmp-mat-spacing-small、 --gmp-star-rating-color、 --gmp-thumbnail-border-radius、 background-color、 border、 border-radius、 color-scheme、 font-size

继承的方法: addEventListener、 removeEventListener

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

PlaceSearchElementOptions 接口

属性: attributionPosition、 orientation、 selectable、 truncationPreferred

PlaceSearchAttributionPosition 常量 库“places”

常量: BOTTOM、 TOP

PlaceSearchOrientation 常量 “places”库

常量: HORIZONTAL、 VERTICAL

PlaceSelectEvent 类 扩展了 Event,库为“places”

属性: place

PlaceNearbySearchRequestElement 类 (标记:<gmp-place-nearby-search-request>) 扩展自 HTMLElement,实现 PlaceNearbySearchRequestElementOptions,库“places”

属性: excludedPrimaryTypes(属性:excluded-primary-types)、 excludedTypes(属性:excluded-types)、 futureOpeningBusinessesIncluded、 includedPrimaryTypes(属性:included-primary-types)、 includedTypes(属性:included-types)、 locationRestriction(属性:location-restriction)、 maxResultCount(属性:max-result-count)、 rankPreference(属性:rank-preference)

继承的方法: addEventListener、 removeEventListener

PlaceNearbySearchRequestElementOptions 接口

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

PlaceTextSearchRequestElement 类 (标记:<gmp-place-text-search-request>) 扩展 HTMLElement,实现 PlaceTextSearchRequestElementOptions,库“places”

属性: evConnectorTypes(属性:ev-connector-types)、evMinimumChargingRateKw(属性:ev-minimum-charging-rate-kw)、futureOpeningBusinessesIncluded、includedType(属性:included-type)、isOpenNow(属性:is-open-now)、locationBias(属性:location-bias)、locationRestriction(属性:location-restriction)、maxResultCount(属性:max-result-count)、minRating(属性:min-rating)、priceLevels(属性:price-levels)、rankPreference(属性:rank-preference)、textQuery(属性:text-query)、useStrictTypeFiltering(属性:use-strict-type-filtering)

继承的方法: addEventListener、 removeEventListener

PlaceTextSearchRequestElementOptions 接口

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

自动补全类 扩展自 MVCObject,库为“places”

方法: getBounds、 getFields、 getPlace、 setBounds、 setComponentRestrictions、 setFields、 setOptions、 setTypes

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

活动: place_changed

AutocompleteOptions 接口

属性: bounds componentRestrictions fields strictBounds types placeIdOnly

方法: getBounds、 getPlaces、 setBounds

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

活动: places_changed

SearchBoxOptions 接口

属性: bounds

Alpha 版PlaceContextualElement 类 (标记:<gmp-place-contextual>) 扩展 HTMLElement,实现 PlaceContextualElementOptions,库“places”

属性: contextToken(属性:context-token)

继承的方法: addEventListener、 removeEventListener

Alpha 版PlaceContextualElementOptions 接口

属性: contextToken

Alpha 版PlaceContextualListConfigElement 类 (标记:<gmp-place-contextual-list-config>) 扩展 HTMLElement,实现 PlaceContextualListConfigElementOptions,库“places”

属性: layout(属性:layout)、 mapHidden(属性:map-hidden)

继承的方法: addEventListener、 removeEventListener

Alpha 版PlaceContextualListConfigElementOptions 接口

属性: layout、 mapHidden

Alpha 版PlaceContextualListLayout 常量 库“places”

常量: COMPACT、 VERTICAL

地点 widget 内容自定义

PlaceContentConfigElement 类 (标记:<gmp-place-content-config>) 扩展 HTMLElement,实现 PlaceContentConfigElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceContentConfigElementOptions 接口
PlaceAllContentElement 类 (标记:<gmp-place-all-content>) 扩展 HTMLElement,实现 PlaceAllContentElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceAllContentElementOptions 接口
PlaceStandardContentElement 类 (标记:<gmp-place-standard-content>) 扩展 HTMLElement,实现 PlaceStandardContentElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceStandardContentElementOptions 接口
PlaceMediaElement 类 (标记:<gmp-place-media>) 扩展 HTMLElement,实现 PlaceMediaElementOptions,库“places”

属性: lightboxPreferred(属性:lightbox-preferred)、 preferredSize(属性:preferred-size)

继承的方法: addEventListener、 removeEventListener

PlaceMediaElementOptions 接口

属性: lightboxPreferred、 preferredSize

MediaSize 常量 库“places”

常量: LARGE、 MEDIUM、 SMALL

PlaceAddressElement 类 (tag: <gmp-place-address>) extends HTMLElement, implements PlaceAddressElementOptions, library "places"

继承的方法: addEventListener、 removeEventListener

PlaceAddressElementOptions 接口
PlaceRatingElement 类 (标记:<gmp-place-rating>) 扩展 HTMLElement,实现 PlaceRatingElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceRatingElementOptions 接口
PlaceTypeElement 类 (标记:<gmp-place-type>) 扩展 HTMLElement,实现 PlaceTypeElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceTypeElementOptions 接口
PlacePriceElement 类 (标记:<gmp-place-price>) 扩展 HTMLElement,实现 PlacePriceElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlacePriceElementOptions 接口
PlaceAccessibleEntranceIconElement 类 (标记:<gmp-place-accessible-entrance-icon>) extends HTMLElement,实现 PlaceAccessibleEntranceIconElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceAccessibleEntranceIconElementOptions 接口
PlaceOpenNowStatusElement 类 (标记:<gmp-place-open-now-status>) 扩展 HTMLElement,实现 PlaceOpenNowStatusElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceOpenNowStatusElementOptions 接口
PlaceReviewSummaryElement 类 (标记:<gmp-place-review-summary>) 扩展 HTMLElement,实现 PlaceReviewSummaryElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceReviewSummaryElementOptions 接口
PlaceReviewsElement 类 (标记:<gmp-place-reviews>) 扩展 HTMLElement,实现 PlaceReviewsElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceReviewsElementOptions 接口
PlaceSummaryElement 类 (标记:<gmp-place-summary>) 扩展 HTMLElement,实现 PlaceSummaryElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceSummaryElementOptions 接口
PlaceFeatureListElement 类 (标记:<gmp-place-feature-list>) 扩展 HTMLElement,实现 PlaceFeatureListElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceFeatureListElementOptions 接口
PlaceOpeningHoursElement 类 (标记:<gmp-place-opening-hours>) extends HTMLElement,实现 PlaceOpeningHoursElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceOpeningHoursElementOptions 接口
PlacePhoneNumberElement 类 (标记:<gmp-place-phone-number>) 扩展 HTMLElement,实现 PlacePhoneNumberElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlacePhoneNumberElementOptions 接口
PlacePlusCodeElement 类 (标记:<gmp-place-plus-code>) 扩展 HTMLElement,实现 PlacePlusCodeElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlacePlusCodeElementOptions 接口
PlaceTypeSpecificHighlightsElement 类 (标记:<gmp-place-type-specific-highlights>) 扩展 HTMLElement,实现 PlaceTypeSpecificHighlightsElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceTypeSpecificHighlightsElementOptions 接口
PlaceWebsiteElement 类 (标记:<gmp-place-website>) 扩展 HTMLElement,实现 PlaceWebsiteElementOptions,库“places”

继承的方法: addEventListener、 removeEventListener

PlaceWebsiteElementOptions 接口
PlaceAttributionElement 类 (标记:<gmp-place-attribution>) 扩展 HTMLElement,实现 PlaceAttributionElementOptions,库“places”

属性: darkSchemeColor(属性:dark-scheme-color)、 lightSchemeColor(属性:light-scheme-color)

继承的方法: addEventListener、 removeEventListener

PlaceAttributionElementOptions 接口

属性: darkSchemeColor、 lightSchemeColor

AttributionColor 常量 “places”库

常量: BLACK、 GRAY、 WHITE

地点数据

地点类 实现了 PlaceOptions,库“places”

静态方法: searchByText、 searchNearby

属性:accessibilityOptions、addressComponents、addressDescriptor、adrFormatAddress、allowsDogs、attributions、businessStatus、consumerAlert、containingPlaces、currentOpeningHours、currentSecondaryOpeningHours、displayName、displayNameLanguageCode、editorialSummary、editorialSummaryLanguageCode、evChargeAmenitySummary、evChargeOptions、formattedAddress、fuelOptions、futureOpeningDate、generativeSummary、googleMapsLinks、googleMapsURI、hasCurbsidePickup、hasDelivery、hasDineIn、hasLiveMusic、hasMenuForChildren、hasOutdoorSeating、hasRestroom、hasTakeout、iconBackgroundColor、id、internationalPhoneNumber、isGoodForChildren、isGoodForGroups、isGoodForWatchingSports、isPureServiceAreaBusiness、isReservable、location、nationalPhoneNumber、neighborhoodSummary、parkingOptions、paymentOptions、photos、plusCode、postalAddress、priceLevel、priceRange、primaryType、primaryTypeDisplayName、primaryTypeDisplayNameLanguageCode、rating、regularOpeningHours、regularSecondaryOpeningHours、requestedLanguage、requestedRegion、resourceName、reviews、reviewSummary、servesBeer、servesBreakfast、servesBrunch、servesCocktails、servesCoffee、servesDessert、servesDinner、servesLunch、servesVegetarianFood、servesWine、shortFormattedAddress、subDestinations、svgIconMaskURI、timeZone、types、userRatingCount、utcOffsetMinutes、viewport、websiteURI、openingHours、hasWiFi

方法: fetchFields、 BetagetNextOpeningTime、 BetaisOpen

继承的方法: toJSON

PlaceOptions 接口

属性: id、 requestedLanguage、 requestedRegion、 resourceName

AccessibilityOptions 类 库“places”

属性: hasWheelchairAccessibleEntrance、 hasWheelchairAccessibleParking、 hasWheelchairAccessibleRestroom、 hasWheelchairAccessibleSeating

AddressComponent 类 库“places”

属性: longText、 shortText、 types

继承的方法: toJSON

AddressDescriptor 类 库“places”

属性: areas、 landmarks

继承的方法: toJSON

区域类 库“places”

属性: containment、 place

继承的方法: toJSON

归因类 库“places”

属性: provider、 providerURI

继承的方法: toJSON

AuthorAttribution 类 库“places”

属性: displayName、 photoURI、 uri

继承的方法: toJSON

ConnectorAggregation 类 库“places”

属性: availabilityLastUpdateTime availableCount count maxChargeRateKw outOfServiceCount type

ConsumerAlert 类 库“places”

属性: details、 languageCode、 overview

继承的方法: toJSON

ConsumerAlertDetails 类 库“places”

属性: aboutLinkTitle、 aboutLinkURI、 description、 title

包含常量 “places”库

常量: NEAR、 OUTSKIRTS、 WITHIN

ContentBlock 类 库“places”

属性: content、 contentLanguageCode、 referencedPlaces

继承的方法: toJSON

EVChargeAmenitySummary 类 库“places”

属性: coffee、 disclosureText、 disclosureTextLanguageCode、 flagContentURI、 overview、 restaurant、 store

继承的方法: toJSON

EVChargeOptions 类 库“places”

属性: connectorAggregations、 connectorCount

继承的方法: toJSON

EVConnectorType 常量 库“places”

常量: 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 类 库“places”

属性: fuelPrices

继承的方法: toJSON

FuelPrice 类 库“places”

属性: price、 type、 updateTime

FuelType 常量 “places”库

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

GenerativeSummary 类 库“places”

属性: disclosureText disclosureTextLanguageCode flagContentURI overview overviewLanguageCode

继承的方法: toJSON

属性: directionsURI photosURI placeURI reviewsURI writeAReviewURI

继承的方法: toJSON

地标类 库“places”

属性: place、 spatialRelationship、 straightLineDistanceMeters、 travelDistanceMeters

继承的方法: toJSON

货币类 库“places”

属性: currencyCode、 nanos、 units

方法: toString

继承的方法: toJSON

NeighborhoodSummary 类 “places”库

属性: description disclosureText disclosureTextLanguageCode flagContentURI overview

继承的方法: toJSON

OpeningHours 类 库“places”

属性: periods、 specialDays、 weekdayDescriptions

继承的方法: toJSON

OpeningHoursPeriod 类 库“places”

属性: close、 open

继承的方法: toJSON

OpeningHoursPoint 类 library "places"

属性: day、 hour、 minute

继承的方法: toJSON

SecondaryOpeningHours 类 扩展了 OpeningHours,库为“places”

属性: type

继承的属性: periods、 specialDays、 weekdayDescriptions

继承的方法: toJSON

ParkingOptions 类 “places”库

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

PaymentOptions 类 库“places”

属性: acceptsCashOnly、 acceptsCreditCards、 acceptsDebitCards、 acceptsNFC

照片类 库“地点”

属性: authorAttributions flagContentURI googleMapsURI heightPx widthPx

方法: getURI

继承的方法: toJSON

PlusCode 类 “places”库

属性: compoundCode、 globalCode

继承的方法: toJSON

PostalAddress 类 实现了 PostalAddressLiteral,库“places”

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

继承的方法: toJSON

PostalAddressLiteral 接口

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

PriceLevel 常量 “places”库

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

PriceRange 类 库“places”

属性: endPrice、 startPrice

继承的方法: toJSON

查看类 库“地点”

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

继承的方法: toJSON

ReviewSummary 类 “places”库

属性: disclosureText disclosureTextLanguageCode flagContentURI reviewsURI text textLanguageCode

继承的方法: toJSON

SearchByTextRequest 接口

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

SearchByTextRankPreference 常量 “places”库

常量: DISTANCE、 RELEVANCE

SearchNearbyRequest 接口

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

SearchNearbyRankPreference 常量 “places”库

常量: DISTANCE、 POPULARITY

SpatialRelationship 常量 “places”库

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

TimeZone 类 库“places”

属性: id、 version

继承的方法: toJSON

自动补全数据

AutocompleteSuggestion 类 库“places”

静态方法: fetchAutocompleteSuggestions

属性: placePrediction

AutocompleteRequest 接口

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

AutocompleteSessionToken 类 库“places”
PlacePrediction 类 “places”库

属性: distanceMeters mainText placeId secondaryText text types

方法: BetafetchAddressValidation、 toPlace

StringRange 类 库“places”

属性: endOffset、 startOffset

FormattableText 类 库“places”

属性: matches、 text

地理编码器

地理编码器类 库“geocoding”

方法: geocode

GeocoderRequest 接口

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

GeocoderComponentRestrictions 接口

属性: administrativeArea country locality postalCode route

Beta 版ExtraGeocodeComputation 常量 库“geocoding”

常量: 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 常量 库“geocoding”

常量: 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 版包含常量 库“geocoding”

常量: NEAR、 OUTSKIRTS、 WITHIN

Beta 版SpatialRelationship 常量 库“geocoding”

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

地点自动补全服务(已弃用)

AutocompleteService 类 “places”库

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

地址验证

AddressValidation 类 库“addressValidation”

静态方法: fetchAddressValidation

属性: address geocode metadata responseId uspsData verdict

继承的方法: toJSON

AddressValidationRequest 接口

属性: address placeAutocompleteElement previousResponseId sessionToken uspsCASSEnabled

地址类 库“addressValidation”

属性: components formattedAddress missingComponentTypes postalAddress unconfirmedComponentTypes unresolvedTokens

继承的方法: toJSON

AddressComponent 类 库“addressValidation”

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

AddressMetadata 类 库“addressValidation”

属性: business、 poBox、 residential

继承的方法: toJSON

ConfirmationLevel 常量 库“addressValidation”

常量: CONFIRMED、 UNCONFIRMED_AND_SUSPICIOUS、 UNCONFIRMED_BUT_PLAUSIBLE

地理编码类 库“addressValidation”

属性: bounds featureSizeMeters location placeId placeTypes plusCode

方法: fetchPlace

继承的方法: toJSON

粒度常量 库“addressValidation”

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

Beta 版PossibleNextAction 常量 库“addressValidation”

常量: ACCEPT、 CONFIRM、 CONFIRM_ADD_SUBPREMISES、 FIX

USPSAddress 类 库“addressValidation”

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

继承的方法: toJSON

USPSData 类 库“addressValidation”

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

继承的方法: toJSON

判决类 库“addressValidation”

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

地点服务(已弃用)

PlacesService 类 库“places”

方法: 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 常量 “places”库

常量: DISTANCE、 PROMINENCE

LocationBias typedef
LocationRestriction typedef
PlacesServiceStatus 常量 库“places”

常量: 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 常量 “places”库

常量: CLOSED_PERMANENTLY、 CLOSED_TEMPORARILY、 FUTURE_OPENING、 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

路由

“路线”微件

Alpha 版Route3DElement 类 (tag: <gmp-route-3d>) extends HTMLElement, implements Route3DElementOptions, library "routes"

属性: autofitsCamera(属性:autofits-camera)、 departureTime(属性:departure-time)、 destination(属性:destination)、 origin(属性:origin)、 routingPreference(属性:routing-preference)、 travelMode(属性:travel-mode)

继承的方法: addEventListener、 removeEventListener

Route3DElementOptions 接口

属性: autofitsCamera departureTime destination origin routingPreference travelMode

“路线”数据

路由类 库“routes”

静态方法: computeRoutes

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

方法: Alphacreate3DPolylines、 createPolylines、 AlphacreatePopover、 createWaypointAdvancedMarkers

继承的方法: toJSON

ComputeRoutesRequest 接口

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

ComputeRoutesExtraComputation 常量 库“routes”

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

DirectionalLocationLiteral 接口 扩展自 LatLngAltitudeLiteral

属性: heading

继承的属性: altitude、 lat、 lng

DirectionalLocation 类 扩展自 LatLngAltitude,实现 DirectionalLocationLiteral,库“routes”

属性: heading

继承的属性: altitude、 lat、 lng

方法: toJSON

继承的方法: equals

FallbackInfo 类 库“routes”

属性: reason、 routingMode

继承的方法: toJSON

FallbackReason 常量 库“routes”

常量: LATENCY_EXCEEDED、 SERVER_ERROR

FallbackRoutingMode 常量 库“routes”

常量: TRAFFIC_AWARE、 TRAFFIC_UNAWARE

GeocodedWaypoint 类 库“routes”

属性: geocoderStatus intermediateWaypointRequestIndex partialMatch placeId types

继承的方法: toJSON

GeocodingResults 类 库“routes”

属性: destination、 intermediates、 origin

继承的方法: toJSON

MultiModalSegment 类 库“routes”

属性: instructions maneuver stepEndIndex stepStartIndex travelMode

继承的方法: toJSON

PolylineDetailInfo 类 “routes”库

属性: endIndex、 presence、 startIndex

继承的方法: toJSON

PolylineDetails 类 “routes”库

属性: flyoverInfo、 narrowRoadInfo

继承的方法: toJSON

PolylineQuality 常量 库“routes”

常量: HIGH_QUALITY、 OVERVIEW

ReferenceRoute 常量 “routes”库

常量: FUEL_EFFICIENT、 SHORTER_DISTANCE

RoadFeatureState 常量 “routes”库

常量: DOES_NOT_EXIST、 EXISTS

RouteLabel 常量 库“routes”

常量: DEFAULT_ROUTE、 DEFAULT_ROUTE_ALTERNATE、 FUEL_EFFICIENT、 SHORTER_DISTANCE

RouteLeg 类 库“routes”

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

继承的方法: toJSON

RouteLegLocalizedValues 类 库“routes”

属性: distance distanceLanguage duration durationLanguage staticDuration staticDurationLanguage

继承的方法: toJSON

RouteLegStep 类 库“routes”

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

继承的方法: toJSON

RouteLegStepLocalizedValues 类 库“routes”

属性: distance、 distanceLanguage、 staticDuration、 staticDurationLanguage

继承的方法: toJSON

RouteLegTravelAdvisory 类 库“routes”

属性: speedReadingIntervals、 tollInfo

继承的方法: toJSON

RouteLocalizedValues 类 库“routes”

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

继承的方法: toJSON

RouteModifiers 接口

属性: avoidFerries avoidHighways avoidIndoor avoidTolls tollPasses vehicleInfo

Alpha 版RoutePolyline3DOptions 接口

属性: colorScheme、 polylineOptions

RoutePolylineDetails 接口

属性: speed、 transitDetails、 travelMode

RoutePolylineOptions 接口

属性: colorScheme、 polylineOptions

RouteTravelAdvisory 类 库“routes”

属性: fuelConsumptionMicroliters routeRestrictionsPartiallyIgnored speedReadingIntervals tollInfo transitFare

继承的方法: toJSON

RoutingPreference 常量 “routes”库

常量: TRAFFIC_AWARE、 TRAFFIC_AWARE_OPTIMAL、 TRAFFIC_UNAWARE

速度常量 库“routes”

常量: NORMAL、 SLOW、 TRAFFIC_JAM

SpeedPath 接口

属性: path、 speed

SpeedReadingInterval 类 库“routes”

属性: endPolylinePointIndex、 speed、 startPolylinePointIndex

StepsOverview 类 库“routes”

属性: multiModalSegments

继承的方法: toJSON

TollInfo 类 “routes”库

属性: estimatedPrices

继承的方法: toJSON

TransitAgency 类 库“路线”

属性: name、 phoneNumber、 url

继承的方法: toJSON

TransitDetails 类 库“routes”

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

继承的方法: toJSON

TransitLine 类 库“routes”

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

继承的方法: toJSON

TransitPreference 接口

属性: allowedTransitModes、 routingPreference

TransitStop 类 库“routes”

属性: location、 name

继承的方法: toJSON

TransitVehicle 类 库“routes”

属性: iconURL localIconURL name nameLanguage vehicleType

继承的方法: toJSON

VehicleEmissionType 常量 库“routes”

常量: DIESEL、 ELECTRIC、 GASOLINE、 HYBRID

VehicleInfo 接口

属性: emissionType

航点界面

属性: location、 sideOfRoad、 vehicleStopover、 via

WaypointMarkerDetails 接口

属性: index、 leg、 totalMarkers

路线矩阵

RouteMatrix 类 库“routes”

静态方法: computeRouteMatrix

属性: rows

继承的方法: toJSON

RouteMatrixRow 类 库“routes”

属性: items

继承的方法: toJSON

RouteMatrixItem 类 库“routes”

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

ComputeRouteMatrixRequest 接口

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

ComputeRouteMatrixExtraComputation 常量 库“routes”

常量: TOLLS

RouteMatrixItemCondition 常量 “routes”库

常量: ROUTE_EXISTS、 ROUTE_NOT_FOUND

RouteMatrixItemError 类 扩展了 Error,库为“routes”

继承的方法: toJSON

RouteMatrixItemLocalizedValues 类 库“routes”

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

继承的方法: toJSON

RouteMatrixOrigin 接口

属性: routeModifiers、 waypoint

海拔

ElevationService 类 库“elevation”

方法: getElevationAlongPath、 getElevationForLocations

LocationElevationRequest 接口

属性: locations

LocationElevationResponse 接口

属性: results

PathElevationRequest 接口

属性: path、 samples

PathElevationResponse 接口

属性: results

ElevationResult 接口

属性: elevation、 location、 resolution

ElevationStatus 常量 库“elevation”

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

路线(已废弃)

DirectionsService 类 “routes”库

方法: route

DirectionsRequest 接口

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

DirectionsStatus 常量 “routes”库

常量: 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 类 扩展自 MVCObject,库“routes”

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

继承的方法: addListener、 bindTo、 get、 notify、 set、 setValues、 unbind、 unbindAll

活动: 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 常量 库“routes”

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

DrivingOptions 接口

属性: departureTime、 trafficModel

TrafficModel 常量 库“routes”

常量: BEST_GUESS、 OPTIMISTIC、 PESSIMISTIC

TransitOptions 接口

属性: arrivalTime、 departureTime、 modes、 routingPreference

TransitMode 常量 库“routes”

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

TransitRoutePreference 常量 库“routes”

常量: 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 常量 库“routes”

常量: 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 常量 库“core”

常量: IMPERIAL、 METRIC

距离界面

属性: text、 value

时长界面

属性: text、 value

时间界面

属性: text、 time_zone、 value

距离矩阵(已弃用)

DistanceMatrixService 类 库“routes”

方法: 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 常量 库“routes”

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

DistanceMatrixElementStatus 常量 “routes”库

常量: NOT_FOUND、 OK、 ZERO_RESULTS

3D Maps

3D 地图

Map3DElement 类 (标记:<gmp-map-3d>) 扩展 HTMLElement,实现 Map3DElementOptions,库“maps3d”

属性:AlphaautofitsCameraAnimation(属性:autofits-camera-animation)、bounds、cameraPosition(属性:camera-position)、center(属性:center)、defaultUIHidden(属性:default-ui-hidden)、description(属性:description)、fov(属性:fov)、gestureHandling(属性:gesture-handling)、heading(属性:heading)、internalUsageAttributionIds(属性:internal-usage-attribution-ids)、language、mapId(属性:map-id)、maxAltitude(属性:max-altitude)、maxHeading(属性:max-heading)、maxTilt(属性:max-tilt)、minAltitude(属性:min-altitude)、minHeading(属性:min-heading)、minTilt(属性:min-tilt)、mode(属性:mode)、range(属性:range)、region、roll(属性:roll)、tilt(属性:tilt)、defaultUIDisabled(属性:default-ui-disabled)

方法: flyCameraAround、 flyCameraTo、 stopCameraAnimation

继承的方法: addEventListener、 removeEventListener

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

Map3DElementOptions 接口

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

MapMode 常量 库“maps3d”

常量: HYBRID、 AlphaROADMAP、 SATELLITE

手势处理常量 库“maps3d”

常量: AUTO、 COOPERATIVE、 GREEDY

Alpha 版AutofitsCameraAnimation 常量 库“maps3d”

常量: FLY_TO、 NONE

FlyAroundAnimationOptions 接口

属性: camera、 durationMillis、 repeatCount、 rounds

FlyToAnimationOptions 接口

属性: durationMillis、 endCamera

CameraOptions 接口

属性: altitudeMode、 cameraPosition、 center、 fov、 heading、 range、 roll、 tilt

SteadyChangeEvent 类 扩展了 Event,库为“maps3d”

属性: isSteady

LocationClickEvent 类 扩展自 Event,库为“maps3d”

属性: position

PlaceClickEvent 类 扩展自 LocationClickEvent,库为“maps3d”

属性: placeId

继承的属性: position

方法: fetchPlace

在地图上绘制

MarkerElement 类 (标记:<gmp-marker>) extends HTMLElement,实现 MarkerElementOptions,库“maps3d”

属性: altitudeMode(属性:altitude-mode)、 anchorLeft(属性:anchor-left)、 anchorTop(属性:anchor-top)、 AlphaautofitsCamera(属性:autofits-camera)、 collisionBehavior(属性:collision-behavior)、 collisionPriority(属性:collision-priority)、 position(属性:position)、 title(属性:title)

广告资源: default

CSS 属性: z-index

继承的方法: addEventListener、 removeEventListener

MarkerElementOptions 接口

属性: altitudeMode、 anchorLeft、 anchorTop、 AlphaautofitsCamera、 collisionBehavior、 collisionPriority、 position、 title

MarkerInteractiveElement 类 (标记:<gmp-marker-interactive>) 扩展 MarkerElement,实现 MarkerInteractiveElementOptions,库“maps3d”

属性: gmpPopoverTargetElement(属性:gmp-popover-target-element)

继承的属性:altitudeMode(属性:altitude-mode)、anchorLeft(属性:anchor-left)、anchorTop(属性:anchor-top)、AlphaautofitsCamera(属性:autofits-camera)、collisionBehavior(属性:collision-behavior)、collisionPriority(属性:collision-priority)、position(属性:position)、title(属性:title)

继承的槽数: default

继承的 CSS 属性: z-index

继承的方法: addEventListener、 removeEventListener

活动: gmp-click

MarkerInteractiveElementOptions 接口 扩展了 MarkerElementOptions

属性: gmpPopoverTargetElement

继承的属性: altitudeMode、 anchorLeft、 anchorTop、 AlphaautofitsCamera、 collisionBehavior、 collisionPriority、 position、 title

Marker3DElement 类 (标记:<gmp-marker-3d>) 扩展 HTMLElement,实现 Marker3DElementOptions,库“maps3d”

属性: altitudeMode(属性:altitude-mode)、AlphaautofitsCamera(属性:autofits-camera)、collisionBehavior(属性:collision-behavior)、collisionPriority(属性:collision-priority)、drawsWhenOccluded(属性:draws-when-occluded)、extruded(属性:extruded)、label(属性:label)、position(属性:position)、sizePreserved(属性:size-preserved)、zIndex(属性:z-index)

广告资源: default

继承的方法: addEventListener、 removeEventListener

Marker3DElementOptions 接口

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

Marker3DInteractiveElement 类 (标记:<gmp-marker-3d-interactive>) 扩展 Marker3DElement,实现 Marker3DInteractiveElementOptions,库“maps3d”

属性: gmpPopoverTargetElement(属性:gmp-popover-target-element)、 title(属性:title)

继承的属性:altitudeMode(属性:altitude-mode)、AlphaautofitsCamera(属性:autofits-camera)、collisionBehavior(属性:collision-behavior)、collisionPriority(属性:collision-priority)、drawsWhenOccluded(属性:draws-when-occluded)、extruded(属性:extruded)、label(属性:label)、position(属性:position)、sizePreserved(属性:size-preserved)、zIndex(属性:z-index)

广告资源: default

继承的方法: addEventListener、 removeEventListener

活动: gmp-click

Marker3DInteractiveElementOptions 接口 扩展了 Marker3DElementOptions

属性: gmpPopoverTargetElement、 title

继承的属性: altitudeMode、 AlphaautofitsCamera、 collisionBehavior、 collisionPriority、 drawsWhenOccluded、 extruded、 label、 position、 sizePreserved、 zIndex

Model3DElement 类 (标记:<gmp-model-3d>) 扩展 HTMLElement,实现 Model3DElementOptions,库“maps3d”

属性:altitudeMode(属性:altitude-mode)、orientation(属性:orientation)、position(属性:position)、scale(属性:scale)、src(属性:src)

继承的方法: addEventListener、 removeEventListener

Model3DElementOptions 接口

属性: altitudeMode orientation position scale src

Model3DInteractiveElement 类 (tag: <gmp-model-3d-interactive>) extends Model3DElement, implements Model3DInteractiveElementOptions, library "maps3d"

继承的属性:altitudeMode(属性:altitude-mode)、orientation(属性:orientation)、position(属性:position)、scale(属性:scale)、src(属性:src)

继承的方法: addEventListener、 removeEventListener

活动: gmp-click

Model3DInteractiveElementOptions 接口 扩展自 Model3DElementOptions

继承的属性: altitudeMode、 orientation、 position、 scale、 src

Polyline3DElement 类 (标记:<gmp-polyline-3d>) 扩展 HTMLElement,实现 Polyline3DElementOptions,库“maps3d”

属性: altitudeMode(属性:altitude-mode)、 AlphaautofitsCamera(属性:autofits-camera)、 drawsOccludedSegments(属性:draws-occluded-segments)、 extruded(属性:extruded)、 geodesic(属性:geodesic)、 outerColor(属性:outer-color)、 outerWidth(属性:outer-width)、 path(属性:path)、 strokeColor(属性:stroke-color)、 strokeWidth(属性:stroke-width)、 zIndex(属性:z-index)、 coordinates

继承的方法: addEventListener、 removeEventListener

Polyline3DElementOptions 接口

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

Polyline3DInteractiveElement 类 (标记:<gmp-polyline-3d-interactive>) 扩展自 Polyline3DElement,实现 Polyline3DInteractiveElementOptions,库为“maps3d”

继承的属性: altitudeMode(属性:altitude-mode)、 AlphaautofitsCamera(属性:autofits-camera)、 drawsOccludedSegments(属性:draws-occluded-segments)、 extruded(属性:extruded)、 geodesic(属性:geodesic)、 outerColor(属性:outer-color)、 outerWidth(属性:outer-width)、 path(属性:path)、 strokeColor(属性:stroke-color)、 strokeWidth(属性:stroke-width)、 zIndex(属性:z-index)、 coordinates

继承的方法: addEventListener、 removeEventListener

活动: gmp-click

Polyline3DInteractiveElementOptions 接口 扩展了 Polyline3DElementOptions

继承的属性: altitudeMode、AlphaautofitsCamera、coordinates、drawsOccludedSegments、extruded、geodesic、outerColor、outerWidth、path、strokeColor、strokeWidth、zIndex

Polygon3DElement 类 (标记:<gmp-polygon-3d>) 扩展自 HTMLElement,实现 Polygon3DElementOptions,库“maps3d”

属性: altitudeMode、 AlphaautofitsCamera(属性:autofits-camera)、 drawsOccludedSegments(属性:draws-occluded-segments)、 extruded(属性:extruded)、 fillColor(属性:fill-color)、 geodesic(属性:geodesic)、 innerPaths、 path(属性:path)、 strokeColor(属性:stroke-color)、 strokeWidth(属性:stroke-width)、 zIndex(属性:z-index)、 outerCoordinates、 innerCoordinates

继承的方法: addEventListener、 removeEventListener

Polygon3DElementOptions 接口

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

Polygon3DInteractiveElement 类 (标记:<gmp-polygon-3d-interactive>) 扩展 Polygon3DElement,实现 Polygon3DInteractiveElementOptions,库“maps3d”

继承的属性: altitudeMode、 AlphaautofitsCamera(属性:autofits-camera)、 drawsOccludedSegments(属性:draws-occluded-segments)、 extruded(属性:extruded)、 fillColor(属性:fill-color)、 geodesic(属性:geodesic)、 innerPaths、 path(属性:path)、 strokeColor(属性:stroke-color)、 strokeWidth(属性:stroke-width)、 zIndex(属性:z-index)、 outerCoordinates、 innerCoordinates

继承的方法: addEventListener、 removeEventListener

活动: gmp-click

Polygon3DInteractiveElementOptions 接口 扩展了 Polygon3DElementOptions

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

FlattenerElement 类 (tag: <gmp-flattener>) extends HTMLElement, implements FlattenerElementOptions, library "maps3d"

属性: innerPaths、 path(属性:path)

继承的方法: addEventListener、 removeEventListener

FlattenerElementOptions 接口

属性: innerPaths、 path

PopoverElement 类 (标记:<gmp-popover>) 扩展 HTMLElement,实现 PopoverElementOptions,库“maps3d”

属性: altitudeMode、 autoPanDisabled(属性:auto-pan-disabled)、 lightDismissDisabled(属性:light-dismiss-disabled)、 open(属性:open)、 positionAnchor(属性:position-anchor)

广告资源: default、 header

CSS 属性: --gmp-popover-max-width、 --gmp-popover-min-width、 --gmp-popover-pixel-offset-x、 --gmp-popover-pixel-offset-y、 background-color、 border-radius、 box-shadow、 color-scheme、 padding

继承的方法: addEventListener、 removeEventListener

PopoverElementOptions 接口

属性: altitudeMode autoPanDisabled lightDismissDisabled open positionAnchor

AltitudeMode 常量 库“maps3d”

常量: ABSOLUTE、 CLAMP_TO_GROUND、 RELATIVE_TO_GROUND、 RELATIVE_TO_MESH

Alpha 版CirclePathElement 类 (标记:<gmp-circle-path>) 扩展 HTMLElement,实现 CirclePathElementOptions,库“maps3d”

属性: center(属性:center)、 radius(属性:radius)

继承的方法: addEventListener、 removeEventListener

Alpha 版CirclePathElementOptions 接口

属性: center、 radius

环境(Alpha 版)

空气质量

Alpha 版AirQualityMeterElement 类 (标记:<gmp-air-quality-meter>) 扩展 HTMLElement,实现 AirQualityMeterElementOptions,库“airQuality”

属性: location(属性:location)、 requestedLanguage

继承的方法: addEventListener、 removeEventListener

活动: gmp-error、 gmp-load

AirQualityMeterElementOptions 接口

属性: location、 requestedLanguage

旅程分享

地图视图

JourneySharingMapView 类 库“journeySharing”

属性: 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 常量 库“journeySharing”

常量: FIT_ANTICIPATED_ROUTE、 NONE

LocationProvider 抽象类

方法: addListener

PollingLocationProvider 抽象类 扩展自 LocationProvider

属性: isPolling、 pollingIntervalMillis

继承的方法: addListener

活动: ispollingchange

PollingLocationProviderIsPollingChangeEvent 接口

属性: error

Authentication

AuthToken 接口

属性: expiresInSeconds、 token

AuthTokenContext 接口

属性: deliveryVehicleId taskId trackingId tripId vehicleId

AuthTokenFetcher typedef
AuthTokenFetcherOptions 接口

属性: context、 serviceType

FleetEngineServiceType 常量 库“journeySharing”

常量: 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 接口 扩展了 MarkerCustomizationFunctionParams

属性: vehicle

继承的属性: defaultOptions、 isNew、 marker

PlannedStopMarkerCustomizationFunctionParams 接口 扩展了 DeliveryVehicleMarkerCustomizationFunctionParams

属性: stopIndex

继承的属性: defaultOptions、 isNew、 marker、 vehicle

TaskMarkerCustomizationFunctionParams 接口 扩展了 DeliveryVehicleMarkerCustomizationFunctionParams

属性: task

继承的属性: defaultOptions、 isNew、 marker、 vehicle

ShipmentMarkerCustomizationFunctionParams 接口 扩展了 MarkerCustomizationFunctionParams

属性: taskTrackingInfo

继承的属性: defaultOptions、 isNew、 marker

TripMarkerCustomizationFunctionParams 接口 扩展自 MarkerCustomizationFunctionParams

属性: trip

继承的属性: defaultOptions、 isNew、 marker

TripWaypointMarkerCustomizationFunctionParams 接口 扩展了 TripMarkerCustomizationFunctionParams

属性: waypointIndex

继承的属性: defaultOptions、 isNew、 marker、 trip

VehicleMarkerCustomizationFunctionParams 接口 扩展自 MarkerCustomizationFunctionParams

属性: vehicle

继承的属性: defaultOptions、 isNew、 marker

VehicleWaypointMarkerCustomizationFunctionParams 接口 扩展了 VehicleMarkerCustomizationFunctionParams

属性: waypointIndex

继承的属性: defaultOptions、 isNew、 marker、 vehicle

PolylineCustomizationFunctionParams 接口

属性: defaultOptions、 isNew、 polylines

ShipmentPolylineCustomizationFunctionParams 接口 扩展了 PolylineCustomizationFunctionParams

属性: taskTrackingInfo

继承的属性: defaultOptions、 isNew、 polylines

TripPolylineCustomizationFunctionParams 接口 扩展了 PolylineCustomizationFunctionParams

属性: trip

继承的属性: defaultOptions、 isNew、 polylines

VehiclePolylineCustomizationFunctionParams 接口 扩展了 PolylineCustomizationFunctionParams

属性: vehicle

继承的属性: defaultOptions、 isNew、 polylines

DeliveryVehiclePolylineCustomizationFunctionParams 接口 扩展了 PolylineCustomizationFunctionParams

属性: deliveryVehicle

继承的属性: defaultOptions、 isNew、 polylines

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 常量 library "journeySharing"

常量: 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 常量 库“journeySharing”

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

VehicleState 常量 库“journeySharing”

常量: OFFLINE、 ONLINE、 UNKNOWN_VEHICLE_STATE

VehicleType 常量 库“journeySharing”

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

TripType 常量 库“journeySharing”

常量: EXCLUSIVE、 SHARED、 UNKNOWN_TRIP_TYPE

TripWaypoint 接口

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

WaypointType 常量 库“journeySharing”

常量: DROP_OFF_WAYPOINT_TYPE、 INTERMEDIATE_DESTINATION_WAYPOINT_TYPE、 PICKUP_WAYPOINT_TYPE、 UNKNOWN_WAYPOINT_TYPE

TimeWindow 界面

属性: endTime、 startTime

速度常量 库“journeySharing”

常量: NORMAL、 SLOW、 TRAFFIC_JAM

SpeedReadingInterval 接口

属性: endPolylinePointIndex、 speed、 startPolylinePointIndex

行程和订单进度

FleetEngineTripLocationProvider 类 扩展了 PollingLocationProvider,库为“journeySharing”

静态方法: TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTION、 TRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTION

属性: tripId

继承的属性: isPolling、 pollingIntervalMillis

方法: refresh

继承的方法: addListener

活动: error、 update

继承的事件: ispollingchange

FleetEngineTripLocationProviderOptions 接口

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

FleetEngineTripLocationProviderUpdateEvent 接口

属性: trip

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

FleetEngineDeliveryVehicleLocationProvider 类 扩展了 PollingLocationProvider,库为“journeySharing”

属性: deliveryVehicleId shouldShowOutcomeLocations shouldShowTasks staleLocationThresholdMillis taskFilterOptions

继承的属性: isPolling、 pollingIntervalMillis

继承的方法: addListener

活动: error、 update

继承的事件: ispollingchange

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 类 扩展自 PollingLocationProvider,库为“journeySharing”

属性: deliveryVehicleFilter、 locationRestriction、 staleLocationThresholdMillis

继承的属性: isPolling、 pollingIntervalMillis

继承的方法: addListener

活动: update

继承的事件: ispollingchange

FleetEngineDeliveryFleetLocationProviderOptions 接口

属性: authTokenFetcher deliveryVehicleFilter deliveryVehicleMarkerCustomization locationRestriction projectId staleLocationThresholdMillis

FleetEngineDeliveryFleetLocationProviderUpdateEvent 接口

属性: deliveryVehicles

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

FleetEngineVehicleLocationProvider 类 扩展了 PollingLocationProvider,库为“journeySharing”

静态方法: TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTION、 TRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTION

属性: staleLocationThresholdMillis、 vehicleId

继承的属性: isPolling、 pollingIntervalMillis

继承的方法: addListener

活动: error、 update

继承的事件: ispollingchange

FleetEngineVehicleLocationProviderOptions 接口

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

FleetEngineVehicleLocationProviderUpdateEvent 接口

属性: trips、 vehicle

FleetEngineFleetLocationProvider 类 扩展了 PollingLocationProvider,库为“journeySharing”

属性: locationRestriction、 staleLocationThresholdMillis、 vehicleFilter

继承的属性: isPolling、 pollingIntervalMillis

继承的方法: addListener

活动: update

继承的事件: ispollingchange

FleetEngineFleetLocationProviderOptions 接口

属性: authTokenFetcher locationRestriction projectId staleLocationThresholdMillis vehicleFilter vehicleMarkerCustomization

FleetEngineFleetLocationProviderUpdateEvent 接口

属性: vehicles

货运跟踪

FleetEngineShipmentLocationProvider 类 扩展了 PollingLocationProvider,库为“journeySharing”

属性: trackingId

继承的属性: isPolling、 pollingIntervalMillis

方法: refresh

继承的方法: addListener

活动: error、 update

继承的事件: ispollingchange

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、 AlphaAutofitsCameraAnimation、 AlphaCirclePathElement、 FlattenerElement、 GestureHandling、 LocationClickEvent、 Map3DElement、 MapMode、 Marker3DElement、 Marker3DInteractiveElement、 MarkerElement、 MarkerInteractiveElement、 Model3DElement、 Model3DInteractiveElement、 PlaceClickEvent、 Polygon3DElement、 Polygon3DInteractiveElement、 Polyline3DElement、 Polyline3DInteractiveElement、 PopoverElement、 SteadyChangeEvent

PlacesLibrary 接口

属性:AccessibilityOptions、AddressComponent、AddressDescriptor、Area、Attribution、AuthorAttribution、Autocomplete、AutocompleteService、AutocompleteSessionToken、AutocompleteSuggestion、BusinessStatus、ConnectorAggregation、ConsumerAlert、ConsumerAlertDetails、Containment、ContentBlock、EVChargeAmenitySummary、EVChargeOptions、EVConnectorType、FormattableText、FuelOptions、FuelPrice、FuelType、GenerativeSummary、GoogleMapsLinks、Landmark、Money、NeighborhoodSummary、OpeningHours、OpeningHoursPeriod、OpeningHoursPoint、ParkingOptions、PaymentOptions、Photo、Place、PlaceContextualElement、PlaceContextualListConfigElement、PlaceContextualListLayout、PlacePrediction、PlacesService、PlacesServiceStatus、PlusCode、PostalAddress、PriceLevel、PriceRange、RankBy、Review、ReviewSummary、SearchBox、SearchByTextRankPreference、SearchNearbyRankPreference、SecondaryOpeningHours、SpatialRelationship、StringRange、TimeZone

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、AlphaRoute3DElement、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

AddressValidationLibrary 接口

属性: Address、 AddressComponent、 AddressMetadata、 AddressValidation、 ConfirmationLevel、 Geocode、 Granularity、 BetaPossibleNextAction、 USPSAddress、 USPSData、 Verdict