Google Maps JavaScript API v3 Reference

上次更新时间:2024 年 5 月 8 日,星期三

这是 中所有类、方法和接口的索引, Maps JavaScript API 3.56 版。

如需更多信息,请参阅 版本说明版本控制

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

全局概念

google.maps

google.maps 命名空间

静态方法: importLibrary

常量: version

设置(Beta 版)

Beta 版Settings 类

静态方法: BetagetInstance

媒体资源: BetaexperienceIds

事件系统

事件类

静态方法: addListener, addListenerOnce, clearInstanceListeners, clearListenershasListeners, removeListener, trigger, addDomListener, addDomListenerOnce

MapsEventListener 接口

方法: remove

MVCObject 类

方法: addListener, bindTo, get, notifyset, setValues, unbind, unbindAll

MVCArray 类

方法: clear, forEach, getArray, getAtgetLength, 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_LOCATIONSFLEET_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, getClickableIconsBetagetDatasetFeatureLayer, 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, contextmenudblclick, 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, controlSizedisableDefaultUI, 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, mapIdrenderingType, tiltInteractionDisabled, zoom

方法: BetaaddEventListener, BetaremoveEventListener

活动: gmp-zoomchange

Beta 版MapElementOptions 接口

媒体资源: center, headingInteractionDisabled, mapId, renderingTypetiltInteractionDisabled, 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, nearLeftnearRight

RenderingType 常量

常量: RASTER, UNINITIALIZED, VECTOR

MapCapabilities 接口

媒体资源: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable, isWebGLOverlayViewAvailable

WebGL

WebGLOverlayView 类

方法: getMap, onAdd, onContextLost, onContextRestoredonDraw, onRemove, onStateUpdate, requestRedraw, requestStateUpdate, setMap

WebGLDrawOptions 接口

媒体资源: gl, transformer

WebGLStateOptions 接口

媒体资源: gl

CoordinateTransformer 接口

方法: fromLatLngAltitude, getCameraParams

CameraParams 接口

媒体资源: center, heading, tilt, zoom

坐标

LatLng 类

方法: equals, lat, lng, toJSONtoString, toUrlValue

LatLngLiteral 接口

媒体资源: lat, lng

LatLngBounds 类

方法: contains, equals, extend, getCentergetNorthEast, 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, BetaDATASETLOCALITY, POSTAL_CODE, SCHOOL_DISTRICT

FeatureStyleFunction 类型定义
FeatureStyleFunctionOptions 接口

媒体资源: feature

FeatureStyleOptions 接口

媒体资源: fillColor, fillOpacity, strokeColor, strokeOpacitystrokeWeight

功能接口

媒体资源: 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_CENTERBLOCK_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, computeLengthcomputeOffset, computeOffsetOrigin, computeSignedArea, interpolate

poly 命名空间

静态方法: containsLocation, isLocationOnEdge

在地图上绘制

高级标记

AdvancedMarkerElement 类

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

方法: BetaaddEventListener, addListener, BetaremoveEventListener

活动: click, drag, dragend, dragstartBetagmp-click

AdvancedMarkerElementOptions 接口

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

Beta 版AdvancedMarkerClickEvent 类
PinElement 类

媒体资源: background, borderColor, element, glyphglyphColor, scale

方法: BetaaddEventListener, BetaremoveEventListener

PinElementOptions 接口

媒体资源: background, borderColor, glyph, glyphColorscale

信息窗口

InfoWindow 类

方法: close, focus, getContent, getPositiongetZIndex, open, setContent, setOptions, setPosition, setZIndex

活动: close, closeclick, content_changed, domreadyBetaheadercontent_changed, Betaheaderdisabled_changed, position_changed, visible, zindex_changed

InfoWindowOptions 接口

媒体资源: ariaLabel, content, disableAutoPan, BetaheaderContentBetaheaderDisabled, maxWidth, minWidth, pixelOffset, position, zIndex

InfoWindowOpenOptions 接口

媒体资源: anchor, map, shouldFocus

多边形

Polyline 类

方法: getDraggable, getEditable, getMap, getPathgetVisible, setDraggable, setEditable, setMap, setOptions, setPath, setVisible

活动: click, contextmenu, dblclick, dragdragend, dragstart, mousedown, mousemove, mouseout, mouseover, mouseup, rightclick

PolylineOptions 接口

媒体资源: clickable, draggable, editable, geodesicicons, map, path, strokeColor, strokeOpacity, strokeWeight, visible, zIndex

IconSequence 接口

媒体资源: fixedRotation, icon, offset, repeat

Polygon 类

方法: getDraggable, getEditable, getMap, getPathgetPaths, getVisible, setDraggable, setEditable, setMap, setOptions, setPath, setPaths, setVisible

活动: click, contextmenu, dblclick, dragdragend, dragstart, mousedown, mousemove, mouseout, mouseover, mouseup, rightclick

PolygonOptions 接口

媒体资源: clickable, draggable, editable, fillColorfillOpacity, geodesic, map, paths, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, zIndex

PolyMouseEvent 接口

媒体资源: edge, path, vertex

Rectangle 类

方法: getBounds, getDraggable, getEditable, getMapgetVisible, setBounds, setDraggable, setEditable, setMap, setOptions, setVisible

活动: bounds_changed, click, contextmenu, dblclickdrag, dragend, dragstart, mousedown, mousemove, mouseout, mouseover, mouseup, rightclick

RectangleOptions 接口

媒体资源: bounds, clickable, draggable, editablefillColor, fillOpacity, map, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, zIndex

Circle 类

方法: getBounds, getCenter, getDraggable, getEditablegetMap, getRadius, getVisible, setCenter, setDraggable, setEditable, setMap, setOptions, setRadius, setVisible

活动: center_changed, click, dblclick, dragdragend, dragstart, mousedown, mousemove, mouseout, mouseover, mouseup, radius_changed, rightclick

CircleOptions 接口

媒体资源: center, clickable, draggable, editablefillColor, fillOpacity, map, radius, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, zIndex

StrokePosition 常量

常量: CENTER, INSIDE, OUTSIDE

数据

数据类

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

活动: addfeature, click, contextmenu, dblclickmousedown, mouseout, mouseover, mouseup, removefeature, removeproperty, setgeometry, setproperty, rightclick

Data.DataOptions 接口

媒体资源: controlPosition, controls, drawingMode, featureFactorymap, style

Data.GeoJsonOptions 接口

媒体资源: idPropertyName

Data.StyleOptions 接口

媒体资源: animation, clickable, cursor, draggableeditable, fillColor, fillOpacity, icon, icons, label, opacity, shape, strokeColor, strokeOpacity, strokeWeight, title, visible, zIndex

Data.StylingFunction 类型定义
Data.Feature 类

方法: forEachProperty, getGeometry, getId, getPropertyremoveProperty, 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, getLengthgetType

Data.LineString 类

方法: forEachLatLng, getArray, getAt, getLengthgetType

Data.MultiLineString 类

方法: forEachLatLng, getArray, getAt, getLengthgetType

Data.LinearRing 类

方法: forEachLatLng, getArray, getAt, getLengthgetType

Data.Polygon 类

方法: forEachLatLng, getArray, getAt, getLengthgetType

Data.MultiPolygon 类

方法: forEachLatLng, getArray, getAt, getLengthgetType

Data.GeometryCollection 类

方法: forEachLatLng, getArray, getAt, getLengthgetType

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, getProjectiononAdd, onRemove, setMap

MapPanes 接口

媒体资源: floatPane, mapPane, markerLayer, overlayLayeroverlayMouseTarget

MapCanvasProjection 接口

方法: fromContainerPixelToLatLng, fromDivPixelToLatLng, fromLatLngToContainerPixel, fromLatLngToDivPixelgetVisibleRegion, getWorldWidth

KML

KmlLayer 类

方法: getDefaultViewport, getMap, getMetadata, getStatusgetUrl, getZIndex, setMap, setOptions, setUrl, setZIndex

活动: click, defaultviewport_changed, status_changed

KmlLayerOptions 接口

媒体资源: clickable, map, preserveViewport, screenOverlayssuppressInfoWindows, url, zIndex

KmlLayerMetadata 接口

媒体资源: author, description, hasScreenOverlays, namesnippet

KmlLayerStatus 常量

常量: DOCUMENT_NOT_FOUND, DOCUMENT_TOO_LARGE, FETCH_ERROR, INVALID_DOCUMENTINVALID_REQUEST, LIMITS_EXCEEDED, OK, TIMED_OUT, UNKNOWN

KmlMouseEvent 接口

媒体资源: featureData, latLng, pixelOffset

KmlFeatureData 接口

媒体资源: author, description, id, infoWindowHtmlname, snippet

KmlAuthor 接口

媒体资源: email, name, uri

图像叠加层

MapType 接口

媒体资源: alt, maxZoom, minZoom, nameprojection, radius, tileSize

方法: getTile, releaseTile

投影接口

方法: fromLatLngToPoint, fromPointToLatLng

ImageMapType 类

媒体资源: alt, maxZoom, minZoom, nameprojection, radius, tileSize

方法: getOpacity, getTile, releaseTile, setOpacity

活动: tilesloaded

ImageMapTypeOptions 接口

媒体资源: alt, getTileUrl, maxZoom, minZoomname, opacity, tileSize

GroundOverlay 类

方法: getBounds, getMap, getOpacity, getUrlsetMap, setOpacity

活动: click, dblclick

GroundOverlayOptions 接口

媒体资源: clickable, map, opacity

StyledMapType 类

媒体资源: alt, maxZoom, minZoom, nameprojection, radius, tileSize

方法: getTile, releaseTile

StyledMapTypeOptions 接口

媒体资源: alt, maxZoom, minZoom, name

绘图库

DrawingManager 类

方法: getDrawingMode, getMap, setDrawingMode, setMapsetOptions

活动: circlecomplete, markercomplete, overlaycomplete, polygoncompletepolylinecomplete, rectanglecomplete

DrawingManagerOptions 接口

媒体资源: circleOptions, drawingControl, drawingControlOptions, drawingModemap, markerOptions, polygonOptions, polylineOptions, rectangleOptions

DrawingControlOptions 接口

媒体资源: drawingModes, position

OverlayCompleteEvent 接口

媒体资源: overlay, type

OverlayType 常量

常量: CIRCLE, MARKER, POLYGON, POLYLINERECTANGLE

热图

HeatmapLayer 类

方法: getData, getMap, setData, setMapsetOptions

HeatmapLayerOptions 接口

媒体资源: data, dissipating, gradient, mapmaxIntensity, opacity, radius

WeightedLocation 接口

媒体资源: location, weight

最大缩放

MaxZoomService 类

方法: getMaxZoomAtLatLng

MaxZoomResult 接口

媒体资源: status, zoom

MaxZoomStatus 常量

常量: ERROR, OK

标记(旧版)

Marker 类

方法: getAnimation, getClickable, getCursor, getDraggablegetIcon, 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, contextmenucursor_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, crossOnDragcursor, 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, scaledSizesize, url

MarkerLabel 接口

媒体资源: className, color, fontFamily, fontSizefontWeight, text

MarkerShape 接口

媒体资源: coords, type

符号接口

媒体资源: anchor, fillColor, fillOpacity, labelOriginpath, rotation, scale, strokeColor, strokeOpacity, strokeWeight

SymbolPath 常量

常量: BACKWARD_CLOSED_ARROW, BACKWARD_OPEN_ARROW, CIRCLE, FORWARD_CLOSED_ARROWFORWARD_OPEN_ARROW

动画常量

常量: BOUNCE, DROP

街景

渲染

StreetViewPanorama 类

媒体资源: controls

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

活动: closeclick, pano_changed, position_changed, pov_changedresize, status_changed, visible_changed, zoom_changed

StreetViewPanoramaOptions 接口

媒体资源: addressControl, addressControlOptions, clickToGo, controlSizedisableDefaultUI, 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, sourcessource

StreetViewPanoRequest 接口

媒体资源: pano

StreetViewResponse 接口

媒体资源: data

StreetViewLocation 接口

媒体资源: description, latLng, pano, shortDescription

StreetViewPreference 常量

常量: BEST, NEAREST

StreetViewSource 常量

常量: DEFAULT, GOOGLE, OUTDOOR

StreetViewPanoramaData 接口

媒体资源: copyright, imageDate, links, locationtiles

媒体资源: description, heading, pano

地点

地点 widget

Beta 版PlaceAutocompleteElement 类

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

方法: BetaaddEventListener, BetaremoveEventListener

活动: gmp-placeselect, gmp-requesterror

Beta 版PlaceAutocompleteElementOptions 接口

媒体资源: componentRestrictions, locationBias, locationRestriction, requestedLanguagerequestedRegion, types

Beta 版PlaceAutocompletePlaceSelectEvent 类

媒体资源: Betaplace

Beta 版PlaceAutocompleteRequestErrorEvent 类
自动补全类

方法: getBounds, getFields, getPlace, setBoundssetComponentRestrictions, setFields, setOptions, setTypes

活动: place_changed

AutocompleteOptions 接口

媒体资源: bounds, componentRestrictions, fields, strictBoundstypes, placeIdOnly

方法: getBounds, getPlaces, setBounds

活动: places_changed

SearchBoxOptions 接口

媒体资源: bounds

Place

地点类

静态方法: searchByText, searchNearby

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

FetchFieldsRequest 接口

媒体资源: fields

Beta 版OpeningHours 类

媒体资源: periods, weekdayDescriptions

Beta 版OpeningHoursPeriod 类

媒体资源: close, open

Beta 版OpeningHoursPoint 类

媒体资源: day, hour, minute

ParkingOptions 类

媒体资源: hasFreeGarageParking, hasFreeParkingLot, hasFreeStreetParking, hasPaidGarageParkinghasPaidParkingLot, hasPaidStreetParking, hasValetParking

PaymentOptions 类

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

Beta 版照片类

媒体资源: authorAttributions, heightPx, widthPx

方法: getURI

Beta 版AuthorAttribution 类

媒体资源: displayName, photoURI, uri

Beta 版PlusCode 类

媒体资源: compoundCode, globalCode

Beta 版查看课程

媒体资源: authorAttribution, publishTime, rating, relativePublishTimeDescriptiontext, textLanguageCode

Beta 版PriceLevel 常量

常量: EXPENSIVE, FREE, INEXPENSIVE, MODERATEVERY_EXPENSIVE

SearchByTextRequest 接口

媒体资源: fields, includedType, isOpenNow, languagelocationBias, locationRestriction, maxResultCount, minRating, priceLevels, rankPreference, region, textQuery, useStrictTypeFiltering, query, BetarankBy

SearchByTextRankPreference 常量

常量: DISTANCE, RELEVANCE

SearchNearbyRequest 接口

媒体资源: excludedPrimaryTypes, fields, includedPrimaryTypes, includedTypeslanguage, locationRestriction, maxResultCount, rankPreference, region

SearchNearbyRankPreference 常量

常量: DISTANCE, POPULARITY

地点自动补全服务

AutocompleteService 类

方法: getPlacePredictions, getQueryPredictions

AutocompletionRequest 接口

媒体资源: componentRestrictions, input, language, locationBiaslocationRestriction, offset, origin, region, sessionToken, types, bounds, location, radius

AutocompleteResponse 接口

媒体资源: predictions

QueryAutocompletionRequest 接口

媒体资源: bounds, input, location, offsetradius

AutocompleteSessionToken 类
ComponentRestrictions 接口

媒体资源: country

AutocompletePrediction 界面

媒体资源: description, distance_meters, matched_substrings, place_idstructured_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

地理编码器

Geocoder 类

方法: geocode

GeocoderRequest 接口

媒体资源: address, bounds, componentRestrictions, languagelocation, placeId, region

GeocoderComponentRestrictions 接口

媒体资源: administrativeArea, country, locality, postalCoderoute

GeocoderStatus 常量

常量: ERROR, INVALID_REQUEST, OK, OVER_QUERY_LIMITREQUEST_DENIED, UNKNOWN_ERROR, ZERO_RESULTS

GeocoderResponse 接口

媒体资源: results

GeocoderResult 接口

媒体资源: address_components, formatted_address, geometry, partial_matchplace_id, plus_code, postcode_localities, types

GeocoderAddressComponent 接口

媒体资源: long_name, short_name, types

GeocoderGeometry 界面

媒体资源: bounds, location, location_type, viewport

GeocoderLocationType 常量

常量: APPROXIMATE, GEOMETRIC_CENTER, RANGE_INTERPOLATED, ROOFTOP

地点服务

PlacesService 类

方法: findPlaceFromPhoneNumber, findPlaceFromQuery, getDetails, nearbySearchtextSearch

PlaceDetailsRequest 接口

媒体资源: fields, language, placeId, regionsessionToken

FindPlaceFromPhoneNumberRequest 接口

媒体资源: fields, language, locationBias, phoneNumber

FindPlaceFromQueryRequest 界面

媒体资源: fields, language, locationBias, query

PlaceSearchRequest 接口

媒体资源: bounds, keyword, language, locationmaxPriceLevel, minPriceLevel, openNow, radius, rankBy, type, name

TextSearchRequest 接口

媒体资源: bounds, language, location, queryradius, region, type

RankBy 常量

常量: DISTANCE, PROMINENCE

LocationBias 类型定义
LocationRestriction 类型定义
PlacesServiceStatus 常量

常量: INVALID_REQUEST, NOT_FOUND, OK, OVER_QUERY_LIMITREQUEST_DENIED, UNKNOWN_ERROR, ZERO_RESULTS

PlaceSearchPagination 界面

媒体资源: hasNextPage

方法: nextPage

PlaceResult 接口

媒体资源: address_components, adr_address, aspects, business_statusformatted_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, nextDatetime

PlacePlusCode 接口

媒体资源: compound_code, global_code

PlacePhoto 界面

媒体资源: height, html_attributions, width

方法: getUrl

PhotoOptions 接口

媒体资源: maxHeight, maxWidth

PlaceReview 界面

媒体资源: author_name, author_url, language, profile_photo_urlrating, relative_time_description, text, time, aspects

路线

路线

DirectionsService 类

方法: route

DirectionsRequest 接口

媒体资源: avoidFerries, avoidHighways, avoidTolls, destinationdrivingOptions, language, optimizeWaypoints, origin, provideRouteAlternatives, region, transitOptions, travelMode, unitSystem, waypoints

DirectionsStatus 常量

常量: INVALID_REQUEST, MAX_WAYPOINTS_EXCEEDED, NOT_FOUND, OKOVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR, ZERO_RESULTS

DirectionsResult 界面

媒体资源: available_travel_modes, geocoded_waypoints, request, routes

DirectionsRenderer 类

方法: getDirections, getMap, getPanel, getRouteIndexsetDirections, setMap, setOptions, setPanel, setRouteIndex

活动: directions_changed

DirectionsRendererOptions 接口

媒体资源: directions, draggable, hideRouteList, infoWindowmap, markerOptions, panel, polylineOptions, preserveViewport, routeIndex, suppressBicyclingLayer, suppressInfoWindows, suppressMarkers, suppressPolylines

DirectionsWaypoint 接口

媒体资源: location, stopover

DirectionsGeocodedWaypoint 界面

媒体资源: partial_match, place_id, types

DirectionsRoute 接口

媒体资源: bounds, copyrights, fare, legsoverview_path, overview_polyline, summary, warnings, waypoint_order

DirectionsLeg 接口

媒体资源: arrival_time, departure_time, distance, durationduration_in_traffic, end_address, end_location, start_address, start_location, steps, via_waypoints, traffic_speed_entry

DirectionsStep 界面

媒体资源: distance, duration, encoded_lat_lngs, end_locationinstructions, 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, TRAINTRAM

TransitRoutePreference 常量

常量: FEWER_TRANSFERS, LESS_WALKING

TransitFare 接口

媒体资源: currency, value

TransitDetails 接口

媒体资源: arrival_stop, arrival_time, departure_stop, departure_timeheadsign, headway, line, num_stops, trip_short_name

TransitStop 界面

媒体资源: location, name

TransitLine 接口

媒体资源: agencies, color, icon, nameshort_name, text_color, url, vehicle

TransitAgency 界面

媒体资源: name, phone, url

TransitVehicle 界面

媒体资源: icon, local_icon, name, type

VehicleType 常量

常量: BUS, CABLE_CAR, COMMUTER_TRAIN, FERRYFUNICULAR, 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, destinationsdrivingOptions, language, origins, region, transitOptions, travelMode, unitSystem

DistanceMatrixResponse 接口

媒体资源: destinationAddresses, originAddresses, rows

DistanceMatrixResponseRow 接口

媒体资源: elements

DistanceMatrixResponseElement 接口

媒体资源: distance, duration, duration_in_traffic, farestatus

DistanceMatrixStatus 常量

常量: INVALID_REQUEST, MAX_DIMENSIONS_EXCEEDED, MAX_ELEMENTS_EXCEEDED, OKOVER_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_DENIEDUNKNOWN_ERROR

旅程分享

地图视图

JourneySharingMapView 类

媒体资源: automaticViewportMode, element, enableTraffic, locationProvidersmap, 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, mapOptionslocationProvider, 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, tripIdvehicleId

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, nameoutcome, outcomeLocation, outcomeLocationSource, outcomeTime, plannedLocation, remainingVehicleJourneySegments, status, targetTimeWindow, trackingId, type, vehicleId

TaskInfo 接口

媒体资源: extraDurationMillis, id, targetTimeWindow

TaskTrackingInfo 接口

媒体资源: attributes, estimatedArrivalTime, estimatedTaskCompletionTime, latestVehicleLocationUpdatename, plannedLocation, remainingDrivingDistanceMeters, remainingStopCount, routePolylinePoints, state, targetTimeWindow, taskOutcome, taskOutcomeTime, trackingId

行程界面

媒体资源: actualDropOffLocation, actualPickupLocation, dropOffTime, latestVehicleLocationUpdatename, passengerCount, pickupTime, plannedDropOffLocation, plannedPickupLocation, remainingWaypoints, status, type, vehicleId

DeliveryVehicle 接口

媒体资源: attributes, currentRouteSegmentEndPoint, latestVehicleLocationUpdate, namenavigationStatus, 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, pathspeedReadingIntervals

Beta 版车载接口

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

Beta 版VehicleNavigationStatus 常量

常量: ARRIVED_AT_DESTINATION, ENROUTE_TO_DESTINATION, NO_GUIDANCE, OFF_ROUTEUNKNOWN_NAVIGATION_STATUS

Beta 版VehicleState 常量

常量: OFFLINE, ONLINE, UNKNOWN_VEHICLE_STATE

Beta 版VehicleType 常量

常量: AUTO, TAXI, TRUCK, TWO_WHEELERUNKNOWN

Beta 版TripType 常量

常量: EXCLUSIVE, SHARED, UNKNOWN_TRIP_TYPE

Beta 版TripWaypoint 接口

媒体资源: distanceMeters, durationMillis, location, pathspeedReadingIntervals, 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, originMarkerCustomizationpollingIntervalMillis, projectId, remainingPolylineCustomization, takenPolylineCustomization, tripId, vehicleMarkerCustomization, waypointMarkerCustomization

FleetEngineTripLocationProviderUpdateEvent 接口

媒体资源: trip

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

FleetEngineDeliveryVehicleLocationProvider 类

媒体资源: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillistaskFilterOptions

活动: error, update

FleetEngineDeliveryVehicleLocationProviderOptions 接口

媒体资源: activePolylineCustomization, authTokenFetcher, deliveryVehicleId, deliveryVehicleMarkerCustomizationplannedStopMarkerCustomization, 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, locationRestrictionprojectId, 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, intermediateDestinationMarkerCustomizationoriginMarkerCustomization, pollingIntervalMillis, projectId, remainingPolylineCustomization, staleLocationThresholdMillis, takenPolylineCustomization, vehicleId, vehicleMarkerCustomization

Beta 版FleetEngineVehicleLocationProviderUpdateEvent 接口

媒体资源: trips, vehicle

Beta 版FleetEngineFleetLocationProvider 类

媒体资源: locationRestriction, staleLocationThresholdMillis, vehicleFilter

活动: update

Beta 版FleetEngineFleetLocationProviderOptions 接口

媒体资源: authTokenFetcher, locationRestriction, projectId, staleLocationThresholdMillisvehicleFilter, vehicleMarkerCustomization

Beta 版FleetEngineFleetLocationProviderUpdateEvent 接口

媒体资源: vehicles

货运跟踪

FleetEngineShipmentLocationProvider 类

媒体资源: trackingId

方法: refresh

活动: error, update

FleetEngineShipmentLocationProviderOptions 接口

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

FleetEngineShipmentLocationProviderUpdateEvent 接口

媒体资源: taskTrackingInfo

3D 地图(Alpha 版)

3D 地图

Alpha 版Map3DElement 类

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

方法: BetaaddEventListener, BetaremoveEventListener

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

Alpha 版Map3DElementOptions 接口

媒体资源: bounds, center, defaultLabelsDisabled, headingmaxAltitude, 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, extrudedgeodesic, outerColor, outerOpacity, outerWidth, strokeColor, strokeOpacity, strokeWidth, zIndex

方法: BetaaddEventListener, BetaremoveEventListener

Alpha 版Polyline3DElementOptions 接口

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

Alpha 版Polygon3DElement 类

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

方法: BetaaddEventListener, BetaremoveEventListener

Alpha 版Polygon3DElementOptions 接口

媒体资源: altitudeMode, drawsOccludedSegments, extruded, fillColorfillOpacity, 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, locationBiaslocationRestriction, maxPlaceCount, placeTypePreferences

方法: addListener, hidePlaceDetailsView, search

活动: error, placedetailsviewhidestart, placedetailsviewshowstart

Beta 版LocalContextMapViewOptions 接口

媒体资源: directionsOptions, element, locationBias, locationRestrictionmap, 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, LatLngAltitudeLatLngBounds, MapsNetworkError, MapsNetworkErrorEndpoint, MapsRequestError, MapsServerError, MVCArray, MVCObject, Point, Settings, Size, SymbolPath, UnitSystem

MapsLibrary 接口

媒体资源: BicyclingLayer, Circle, Data, FeatureTypeGroundOverlay, 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, HeadingChangeEventMap3DElement, Polygon3DElement, Polyline3DElement, RangeChangeEvent, RollChangeEvent, SteadyChangeEvent, TiltChangeEvent

PlacesLibrary 接口

媒体资源: AccessibilityOptions, AddressComponent, Attribution, AuthorAttributionAutocomplete, AutocompleteService, AutocompleteSessionToken, BusinessStatus, OpeningHours, OpeningHoursPeriod, OpeningHoursPoint, ParkingOptions, PaymentOptions, Photo, Place, PlacesService, PlacesServiceStatus, PlusCode, PriceLevel, RankBy, Review, SearchBox, SearchByTextRankPreference, SearchNearbyRankPreference

GeocodingLibrary 接口

媒体资源: Geocoder, GeocoderLocationType, GeocoderStatus

RoutesLibrary 接口

媒体资源: DirectionsRenderer, DirectionsService, DirectionsStatus, DistanceMatrixElementStatusDistanceMatrixService, DistanceMatrixStatus, TrafficModel, TransitMode, TransitRoutePreference, TravelMode, VehicleType

MarkerLibrary 接口

媒体资源: AdvancedMarkerClickEvent, AdvancedMarkerElement, Animation, CollisionBehaviorMarker, PinElement

GeometryLibrary 界面

媒体资源: encoding, poly, spherical

ElevationLibrary 接口

媒体资源: ElevationService, ElevationStatus

StreetViewLibrary 接口

媒体资源: InfoWindow, OverlayView, StreetViewCoverageLayer, StreetViewPanoramaStreetViewPreference, StreetViewService, StreetViewSource, StreetViewStatus

JourneySharingLibrary 界面

媒体资源: AutomaticViewportMode, DeliveryVehicleStopState, FleetEngineDeliveryFleetLocationProvider, FleetEngineDeliveryVehicleLocationProviderFleetEngineFleetLocationProvider, FleetEngineServiceType, FleetEngineShipmentLocationProvider, FleetEngineTripLocationProvider, FleetEngineVehicleLocationProvider, JourneySharingMapView, Speed, TripType, VehicleNavigationStatus, VehicleState, VehicleType, WaypointType

DrawingLibrary 接口

媒体资源: DrawingManager, OverlayType

VisualizationLibrary 接口

媒体资源: HeatmapLayer