Google Maps JavaScript API v3 Reference

上次更新时间:2024 年 7 月 23 日,星期二

这是 中所有类、方法和接口的索引, Maps JavaScript API 版本 3.57(每周渠道)。 此参考会及时更新,与 API 的最新更改保持同步。

如需更多信息,请参阅 版本说明版本控制
另请参阅 版本 3.56(季度渠道)、 版本 3.55 3.54 版

点击任意项目的名称可查看详细文档。

全局概念

google.maps

google.maps 命名空间

静态方法: importLibrary

常量: version

设置(Beta 版)

Beta 版Settings 类

静态方法: BetagetInstance

媒体资源: BetaexperienceIds

事件系统

事件类

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

Google 地图

地图

映射类

媒体资源: controls, data, mapTypes, overlayMapTypes

方法: fitBounds, getBounds, getCenter, getClickableIcons, BetagetDatasetFeatureLayer, getDiv, getFeatureLayer, getHeading, getHeadingInteractionEnabled, 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, center, clickableIcons, controlSize, disableDefaultUI, disableDoubleClickZoom, draggableCursor, draggingCursor, fullscreenControl, fullscreenControlOptions, gestureHandling, heading, headingInteractionEnabled, 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

Beta 版MapElement 类

媒体资源: center, headingInteractionDisabled, innerMap, mapId, renderingType, tiltInteractionDisabled, zoom

方法: BetaaddEventListener, BetaremoveEventListener

活动: gmp-zoomchange

Beta 版MapElementOptions 接口

媒体资源: center, headingInteractionDisabled, mapId, renderingType, tiltInteractionDisabled, zoom

Beta 版ZoomChangeEvent 类
MapTypeStyle 接口

媒体资源: elementType, featureType, stylers

MapMouseEvent 接口

媒体资源: domEvent, latLng

方法: stop

IconMouseEvent 接口

媒体资源: placeId

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

积分类别

媒体资源: x, y

方法: equals, toString

大小类别

媒体资源: height, width

方法: equals, toString

内边距接口

媒体资源: bottom, left, right, top

CircleLiteral 接口

媒体资源: center, radius

数据驱动型样式

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 类型定义
FeatureStyleFunctionOptions 接口

媒体资源: feature

FeatureStyleOptions 接口

媒体资源: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

功能接口

媒体资源: featureType

PlaceFeature 接口

媒体资源: placeId

方法: fetchPlace

Beta 版DatasetFeature 接口

媒体资源: datasetAttributes, datasetId

FeatureMouseEvent 接口

媒体资源: features

控件

FullscreenControlOptions 接口

媒体资源: position

MapTypeControlOptions 接口

媒体资源: mapTypeIds, position, style

MapTypeControlStyle 常量

常量: DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

MotionTrackingControlOptions 接口

媒体资源: position

PanControlOptions 接口

媒体资源: position

rotationControlOptions 接口

媒体资源: 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 类

媒体资源: collisionBehavior, content, element, BetagmpClickable, gmpDraggable, map, position, title, zIndex

方法: BetaaddEventListener, addListener, BetaremoveEventListener

活动: click, drag, dragend, dragstart, Betagmp-click

AdvancedMarkerElementOptions 接口

媒体资源: collisionBehavior, content, BetagmpClickable, gmpDraggable, map, position, title, zIndex

Beta 版AdvancedMarkerClickEvent 类
PinElement 类

媒体资源: background, borderColor, element, glyph, glyphColor, scale

方法: BetaaddEventListener, BetaremoveEventListener

PinElementOptions 接口

媒体资源: background, borderColor, glyph, glyphColor, scale

信息窗口

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

Polygon 类

方法: 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 类型定义
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

标记(旧版)

Marker 类

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

地点

地点 widget

Beta 版PlaceAutocompleteElement 类

媒体资源: componentRestrictions, locationBias, locationRestriction, name, requestedLanguage, requestedRegion, types

方法: BetaaddEventListener, BetaremoveEventListener

活动: gmp-placeselect, gmp-requesterror

Beta 版PlaceAutocompleteElementOptions 接口

媒体资源: componentRestrictions, locationBias, locationRestriction, requestedLanguage, requestedRegion, types

Beta 版PlaceAutocompletePlaceSelectEvent 类

媒体资源: Betaplace

Beta 版PlaceAutocompleteRequestErrorEvent 类
自动补全类

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

活动: place_changed

AutocompleteOptions 接口

媒体资源: bounds, componentRestrictions, fields, strictBounds, types, placeIdOnly

方法: getBounds, getPlaces, setBounds

活动: places_changed

SearchBoxOptions 接口

媒体资源: bounds

Place

地点类

静态方法: searchByText, searchNearby

媒体资源: accessibilityOptions, addressComponents, adrFormatAddress, allowsDogs, attributions, businessStatus, displayName, displayNameLanguageCode, editorialSummary, editorialSummaryLanguageCode, evChargeOptions, formattedAddress, fuelOptions, googleMapsURI, hasCurbsidePickup, hasDelivery, hasDineIn, hasLiveMusic, hasMenuForChildren, hasOutdoorSeating, hasRestroom, hasTakeout, hasWiFi, iconBackgroundColor, id, internationalPhoneNumber, isGoodForChildren, isGoodForGroups, isGoodForWatchingSports, isReservable, location, nationalPhoneNumber, parkingOptions, paymentOptions, photos, plusCode, priceLevel, 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

方法: fetchFields, BetagetNextOpeningTime, BetaisOpen, toJSON

PlaceOptions 接口

媒体资源: id, requestedLanguage, requestedRegion

AccessibilityOptions 类

媒体资源: hasWheelchairAccessibleEntrance, hasWheelchairAccessibleParking, hasWheelchairAccessibleRestroom, hasWheelchairAccessibleSeating

Beta 版AddressComponent 类

媒体资源: longText, shortText, types

Beta 版归因类

媒体资源: provider, providerURI

Beta 版AuthorAttribution 类

媒体资源: displayName, photoURI, uri

ConnectorAggregation 类

媒体资源: availabilityLastUpdateTime, availableCount, count, maxChargeRateKw, outOfServiceCount, type

EVChargeOptions 类

媒体资源: connectorAggregations, connectorCount

EVConnectorType 常量

常量: CCS_COMBO_1, CCS_COMBO_2, CHADEMO, J1772, 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, E80, E85, LPG, METHANE, MIDGRADE, PREMIUM, REGULAR_UNLEADED, SP100, SP91, SP91_E10, SP92, SP95, SP95_E10, SP98, SP99, TRUCK_DIESEL

货币等级

媒体资源: currencyCode, nanos, units

方法: toString

Beta 版OpeningHours 类

媒体资源: periods, weekdayDescriptions

Beta 版OpeningHoursPeriod 类

媒体资源: close, open

Beta 版OpeningHoursPoint 类

媒体资源: day, hour, minute

ParkingOptions 类

媒体资源: hasFreeGarageParking, hasFreeParkingLot, hasFreeStreetParking, hasPaidGarageParking, hasPaidParkingLot, hasPaidStreetParking, hasValetParking

PaymentOptions 类

媒体资源: acceptsCashOnly, acceptsCreditCards, acceptsDebitCards, acceptsNFC

Beta 版照片类

媒体资源: authorAttributions, heightPx, widthPx

方法: getURI

Beta 版PlusCode 类

媒体资源: compoundCode, globalCode

Beta 版PriceLevel 常量

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

Beta 版查看课程

媒体资源: authorAttribution, publishTime, rating, relativePublishTimeDescription, text, textLanguageCode

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

自动补全数据(新)

AutocompleteRequest 接口

媒体资源: includedPrimaryTypes, includedRegionCodes, input, inputOffset, language, locationBias, locationRestriction, origin, region, sessionToken

AutocompleteSessionToken 类
AutocompleteSuggestion 类

静态方法: fetchAutocompleteSuggestions

媒体资源: placePrediction

PlacePrediction 类

媒体资源: distanceMeters, mainText, placeId, secondaryText, text, types

方法: 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 版空间关系常量

常量: 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 类型定义
LocationRestriction 类型定义
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

路线

路线

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

DrivingOptions 接口

媒体资源: departureTime, trafficModel

TrafficModel 常量

常量: BEST_GUESS, OPTIMISTIC, PESSIMISTIC

TransitOptions 接口

媒体资源: arrivalTime, departureTime, modes, routingPreference

TransitMode 常量

常量: BUS, RAIL, SUBWAY, TRAIN, TRAM

TransitRoutePreference 常量

常量: FEWER_TRANSFERS, LESS_WALKING

TransitFare 接口

媒体资源: currency, 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

Duration 界面

媒体资源: 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

旅程分享

地图视图

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 类型定义
AuthTokenFetcherOptions 接口

媒体资源: context, serviceType

FleetEngineServiceType 常量

常量: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

界面自定义

PolylineSetup typedef
PolylineSetupOptions 接口

媒体资源: polylineOptions, visible

DefaultPolylineSetupOptions 接口

媒体资源: defaultPolylineOptions, defaultVisible

MarkerSetup 类型定义
MarkerSetupOptions 界面

媒体资源: markerOptions

DefaultMarkerSetupOptions 接口

媒体资源: defaultMarkerOptions

MarkerCustomFunctionParams 接口

媒体资源: defaultOptions, isNew, marker

DeliveryVehicleMarkerCustomizeFunctionParams 接口

媒体资源: vehicle

PlannedStopMarkerCustomizeFunctionParams 接口

媒体资源: stopIndex

TaskMarkerCustomFunctionParams 接口

媒体资源: task

ShipmentMarkerCustomizeFunctionParams 接口

媒体资源: taskTrackingInfo

TripMarkerCustomizeFunctionParams 接口

媒体资源: trip

TripWaypointMarkerCustomizeFunctionParams 接口

媒体资源: waypointIndex

Beta 版VehicleMarkerCustomizeFunctionParams 接口

媒体资源: vehicle

Beta 版VehicleWaypointMarkerCustomizeFunctionParams 接口

媒体资源: waypointIndex

多段线自定义 FunctionParams 接口

媒体资源: defaultOptions, isNew, polylines

ShipmentPolylineCustomizeFunctionParams 接口

媒体资源: taskTrackingInfo

Trip 多段线自定义 FunctionParams 接口

媒体资源: trip

VehiclePolygonCustomizeFunctionParams 接口

媒体资源: vehicle

DeliveryVehiclePolygonCustomizeFunctionParams 接口

媒体资源: 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

Beta 版车载接口

媒体资源: attributes, currentRouteSegmentEndPoint, currentRouteSegmentVersion, currentTrips, etaToFirstWaypoint, latestLocation, maximumCapacity, name, navigationStatus, remainingDistanceMeters, supportedTripTypes, vehicleState, vehicleType, waypoints, waypointsVersion

Beta 版VehicleNavigationStatus 常量

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

Beta 版VehicleState 常量

常量: OFFLINE, ONLINE, UNKNOWN_VEHICLE_STATE

Beta 版VehicleType 常量

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

Beta 版TripType 常量

常量: EXCLUSIVE, SHARED, UNKNOWN_TRIP_TYPE

Beta 版TripWaypoint 接口

媒体资源: distanceMeters, durationMillis, location, path, speedReadingIntervals, tripId, waypointType

Beta 版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

车队跟踪 - 按需行程和投放(Beta 版)

Beta 版FleetEngineVehicleLocationProvider 类

静态方法: TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTION, TRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTION

媒体资源: staleLocationThresholdMillis, vehicleId

活动: error, update

Beta 版FleetEngineVehicleLocationProviderOptions 接口

媒体资源: activePolylineCustomization, authTokenFetcher, destinationMarkerCustomization, intermediateDestinationMarkerCustomization, originMarkerCustomization, pollingIntervalMillis, projectId, remainingPolylineCustomization, staleLocationThresholdMillis, takenPolylineCustomization, vehicleId, vehicleMarkerCustomization

Beta 版FleetEngineVehicleLocationProviderUpdateEvent 接口

媒体资源: trips, vehicle

Beta 版FleetEngineFleetLocationProvider 类

媒体资源: locationRestriction, staleLocationThresholdMillis, vehicleFilter

活动: update

Beta 版FleetEngineFleetLocationProviderOptions 接口

媒体资源: authTokenFetcher, locationRestriction, projectId, staleLocationThresholdMillis, vehicleFilter, vehicleMarkerCustomization

Beta 版FleetEngineFleetLocationProviderUpdateEvent 接口

媒体资源: vehicles

货运跟踪

FleetEngineShipmentLocationProvider 类

媒体资源: trackingId

方法: refresh

活动: error, update

FleetEngineShipmentLocationProviderOptions 接口

媒体资源: activePolylineCustomization, authTokenFetcher, deliveryVehicleMarkerCustomization, destinationMarkerCustomization, pollingIntervalMillis, projectId, remainingPolylineCustomization, takenPolylineCustomization, trackingId

FleetEngineShipmentLocationProviderUpdateEvent 接口

媒体资源: taskTrackingInfo

3D 地图(Alpha 版)

3D 地图

Alpha 版Map3DElement 类

媒体资源: bounds, center, defaultLabelsDisabled, heading, maxAltitude, maxHeading, maxTilt, minAltitude, minHeading, minTilt, range, roll, tilt

方法: BetaaddEventListener, BetaremoveEventListener

活动: gmp-centerchange, gmp-click, gmp-headingchange, gmp-rangechange, gmp-rollchange, gmp-steadychange, gmp-tiltchange

Alpha 版Map3DElementOptions 接口

媒体资源: bounds, center, defaultLabelsDisabled, heading, maxAltitude, maxHeading, maxTilt, minAltitude, minHeading, minTilt, range, roll, tilt

Alpha 版SteadyChangeEvent 类

媒体资源: isSteady

Alpha 版ClickEvent 类

媒体资源: position

Alpha 版CenterChangeEvent 类
Alpha 版HeadingChangeEvent 类
Alpha 版RangeChangeEvent 类
Alpha 版RollChangeEvent 类
Alpha 版TiltChangeEvent 类
Alpha 版Polyline3DElement 类

媒体资源: altitudeMode, coordinates, drawsOccludedSegments, extruded, geodesic, outerColor, outerOpacity, outerWidth, strokeColor, strokeOpacity, strokeWidth, zIndex

方法: BetaaddEventListener, BetaremoveEventListener

Alpha 版Polyline3DElementOptions 接口

媒体资源: altitudeMode, coordinates, drawsOccludedSegments, extruded, geodesic, outerColor, outerOpacity, outerWidth, strokeColor, strokeOpacity, strokeWidth, zIndex

Alpha 版Polygon3DElement 类

媒体资源: altitudeMode, drawsOccludedSegments, extruded, fillColor, fillOpacity, geodesic, innerCoordinates, outerCoordinates, strokeColor, strokeOpacity, strokeWidth, zIndex

方法: BetaaddEventListener, BetaremoveEventListener

Alpha 版Polygon3DElementOptions 接口

媒体资源: altitudeMode, drawsOccludedSegments, extruded, fillColor, fillOpacity, geodesic, innerCoordinates, outerCoordinates, strokeColor, strokeOpacity, strokeWidth, zIndex

Alpha 版AltitudeMode 常量

常量: ABSOLUTE, CLAMP_TO_GROUND, RELATIVE_TO_GROUND, RELATIVE_TO_MESH

Local Context(Beta 版)

地图视图

Beta 版LocalContextMapView 类

媒体资源: directionsOptions, element, isTransitioningMapBounds, locationBias, locationRestriction, maxPlaceCount, placeTypePreferences

方法: addListener, hidePlaceDetailsView, search

活动: error, placedetailsviewhidestart, placedetailsviewshowstart

Beta 版LocalContextMapViewOptions 接口

媒体资源: directionsOptions, element, locationBias, locationRestriction, map, maxPlaceCount, pinOptionsSetup, placeChooserViewSetup, placeDetailsViewSetup, placeTypePreferences

Beta 版PlaceTypePreference 类型定义
Beta 版MapDirectionsOptions 类

方法: addListener

Beta 版MapDirectionsOptionsLiteral 接口

媒体资源: origin

Beta 版PinOptions 接口

媒体资源: background, glyphColor, scale

PlaceChooserViewSetupOptions 界面

媒体资源: layoutMode, position

Beta 版PlaceChooserLayoutMode 常量

常量: HIDDEN, SHEET

Beta 版PlaceChooserPosition 常量

常量: BLOCK_END, INLINE_END, INLINE_START

PlaceDetailsViewSetupOptions 界面

媒体资源: hidesOnMapClick, layoutMode, position

Beta 版PlaceDetailsLayoutMode 常量

常量: INFO_WINDOW, SHEET

Beta 版PlaceDetailsPosition 常量

常量: INLINE_END, INLINE_START

库接口

库接口

CoreLibrary 接口

媒体资源: ControlPosition, event, LatLng, LatLngAltitude, LatLngBounds, MapsNetworkError, MapsNetworkErrorEndpoint, MapsRequestError, MapsServerError, MVCArray, MVCObject, Point, Settings, Size, SymbolPath, UnitSystem

MapsLibrary 接口

媒体资源: BicyclingLayer, Circle, Data, FeatureType, GroundOverlay, ImageMapType, InfoWindow, KmlLayer, KmlLayerStatus, Map, MapTypeControlStyle, MapTypeId, MapTypeRegistry, MaxZoomService, MaxZoomStatus, OverlayView, Polygon, Polyline, Rectangle, RenderingType, StrokePosition, StyledMapType, TrafficLayer, TransitLayer, WebGLOverlayView, BetaZoomChangeEvent

Alpha 版Maps3DLibrary 接口

媒体资源: AltitudeMode, CenterChangeEvent, ClickEvent, HeadingChangeEvent, Map3DElement, Polygon3DElement, Polyline3DElement, RangeChangeEvent, RollChangeEvent, SteadyChangeEvent, TiltChangeEvent

PlacesLibrary 接口

媒体资源: AccessibilityOptions, AddressComponent, Attribution, AuthorAttribution, Autocomplete, AutocompleteService, AutocompleteSessionToken, AutocompleteSuggestion, BusinessStatus, ConnectorAggregation, EVChargeOptions, EVConnectorType, FormattableText, FuelOptions, FuelPrice, FuelType, Money, OpeningHours, OpeningHoursPeriod, OpeningHoursPoint, ParkingOptions, PaymentOptions, Photo, Place, PlacePrediction, PlacesService, PlacesServiceStatus, PlusCode, PriceLevel, RankBy, Review, SearchBox, SearchByTextRankPreference, SearchNearbyRankPreference, StringRange

GeocodingLibrary 接口

媒体资源: Containment, ExtraGeocodeComputation, Geocoder, GeocoderLocationType, GeocoderStatus, SpatialRelationship

RoutesLibrary 接口

媒体资源: DirectionsRenderer, DirectionsService, DirectionsStatus, DistanceMatrixElementStatus, DistanceMatrixService, DistanceMatrixStatus, TrafficModel, TransitMode, TransitRoutePreference, TravelMode, 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