Google Maps JavaScript API v3 Reference

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

这是 Maps JavaScript API 3.58 版(每周渠道)中所有类、方法和接口的索引。 此参考文档会及时更新,以反映 API 的最新变化。

如需了解详情,请参阅版本说明版本控制
另请参阅版本 3.57(季度渠道)、版本 3.56版本 3.55 的参考文档。

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

全局概念

google.maps

google.maps 命名空间

静态方法:importLibrary

常量:version

设置(Beta 版)

Beta 版Settings 类

静态方法:BetagetInstance

属性:BetaexperienceIds

事件系统

事件类

静态方法:addListeneraddListenerOnceclearInstanceListenersclearListenershasListenersremoveListenertriggeraddDomListeneraddDomListenerOnce

MapsEventListener 接口

方法:remove

MVCObject 类

方法:addListenerbindTogetnotifysetsetValuesunbindunbindAll

MVCArray 类

方法:clearforEachgetArraygetAtgetLengthinsertAtpoppushremoveAtsetAt

事件:insert_atremove_atset_at

ErrorEvent 接口

属性:error

错误

MapsNetworkError 类

属性:codeendpoint

MapsRequestError 类
MapsServerError 类
MapsNetworkErrorEndpoint 常量

常量:DIRECTIONS_ROUTEDISTANCE_MATRIXELEVATION_ALONG_PATHELEVATION_LOCATIONSFLEET_ENGINE_GET_DELIVERY_VEHICLEFLEET_ENGINE_GET_TRIPFLEET_ENGINE_GET_VEHICLEFLEET_ENGINE_LIST_DELIVERY_VEHICLESFLEET_ENGINE_LIST_TASKSFLEET_ENGINE_LIST_VEHICLESFLEET_ENGINE_SEARCH_TASKSGEOCODER_GEOCODEMAPS_MAX_ZOOMPLACES_AUTOCOMPLETEPLACES_DETAILSPLACES_FIND_PLACE_FROM_PHONE_NUMBERPLACES_FIND_PLACE_FROM_QUERYPLACES_GATEWAYPLACES_GET_PLACEPLACES_LOCAL_CONTEXT_SEARCHPLACES_NEARBY_SEARCHPLACES_SEARCH_TEXTSTREETVIEW_GET_PANORAMA

地图

Google 地图

Map 类

属性:controlsdatamapTypesoverlayMapTypes

fitBoundsgetBoundsgetCentergetClickableIconsBetagetDatasetFeatureLayergetDivgetFeatureLayergetHeadinggetHeadingInteractionEnabledgetMapCapabilitiesgetMapTypeIdgetProjectiongetRenderingTypegetStreetViewgetTiltgetTiltInteractionEnabledgetZoommoveCamerapanBypanTopanToBoundssetCentersetClickableIconssetHeadingsetHeadingInteractionEnabledsetMapTypeIdsetOptionssetRenderingTypesetStreetViewsetTiltsetTiltInteractionEnabledsetZoom

常量:DEMO_MAP_ID

事件:bounds_changedcenter_changedclickcontextmenudblclickdragdragenddragstartheading_changedidleisfractionalzoomenabled_changedmapcapabilities_changedmaptypeid_changedmousemovemouseoutmouseoverprojection_changedrenderingtype_changedtilesloadedtilt_changedzoom_changedrightclick

MapOptions 接口

属性:backgroundColorcameraControlcameraControlOptionscenterclickableIconscolorSchemecontrolSizedisableDefaultUIdisableDoubleClickZoomdraggableCursordraggingCursorfullscreenControlfullscreenControlOptionsgestureHandlingheadingheadingInteractionEnabledisFractionalZoomEnabledkeyboardShortcutsmapIdmapTypeControlmapTypeControlOptionsmapTypeIdmaxZoomminZoomnoClearrenderingTyperestrictionrotateControlrotateControlOptionsscaleControlscaleControlOptionsscrollwheelstreetViewstreetViewControlstreetViewControlOptionsstylestilttiltInteractionEnabledzoomzoomControlzoomControlOptionsdraggablepanControlpanControlOptions

Beta 版MapElement 类

属性:centerheadingInteractionDisabledinnerMapmapIdrenderingTypetiltInteractionDisabledzoom

方法:BetaaddEventListenerBetaremoveEventListener

事件:gmp-zoomchange

Beta 版MapElementOptions 接口

属性:centerheadingInteractionDisabledmapIdrenderingTypetiltInteractionDisabledzoom

Beta 版ZoomChangeEvent 类
MapTypeStyle 接口

属性:elementTypefeatureTypestylers

MapMouseEvent 接口

属性:domEventlatLng

方法:stop

IconMouseEvent 接口

属性: placeId

ColorScheme 常量

常量:DARKFOLLOW_SYSTEMLIGHT

MapTypeId 常量

常量:HYBRIDROADMAPSATELLITETERRAIN

MapTypeRegistry 类

方法:set

MapRestriction 接口

属性:latLngBoundsstrictBounds

TrafficLayer 类

方法:getMapsetMapsetOptions

TrafficLayerOptions 接口

属性:autoRefreshmap

TransitLayer 类

方法:getMapsetMap

BicyclingLayer 类

方法:getMapsetMap

Beta 版CameraOptions 接口

属性:centerheadingtiltzoom

VisibleRegion 接口

属性:farLeftfarRightlatLngBoundsnearLeftnearRight

RenderingType 常量

常量:RASTERUNINITIALIZEDVECTOR

MapCapabilities 接口

属性:isAdvancedMarkersAvailableisDataDrivenStylingAvailableisWebGLOverlayViewAvailable

WebGL

WebGLOverlayView 类

方法:getMaponAddonContextLostonContextRestoredonDrawonRemoveonStateUpdaterequestRedrawrequestStateUpdatesetMap

WebGLDrawOptions 接口

属性:gltransformer

WebGLStateOptions 接口

属性: gl

CoordinateTransformer 接口

方法:fromLatLngAltitudegetCameraParams

CameraParams 接口

属性:centerheadingtiltzoom

坐标

LatLng 类

方法:equalslatlngtoJSONtoStringtoUrlValue

LatLngLiteral 接口

属性:latlng

LatLngBounds 类

方法:containsequalsextendgetCentergetNorthEastgetSouthWestintersectsisEmptytoJSONtoSpantoStringtoUrlValueunion

常量:MAX_BOUNDS

LatLngBoundsLiteral 接口

属性:eastnorthsouthwest

LatLngAltitude 类

属性:altitudelatlng

方法:equalstoJSON

LatLngAltitudeLiteral 接口

属性:altitudelatlng

Point 类

属性:xy

方法:equalstoString

尺寸类

属性:heightwidth

方法:equalstoString

Padding 接口

属性:bottomleftrighttop

CircleLiteral 接口

属性:centerradius

Alpha 版Orientation3D 类

属性:headingrolltilt

方法:equalstoJSON

Alpha 版Orientation3DLiteral 接口

属性:headingrolltilt

Alpha 版Vector3D 类

属性:xyz

方法:equalstoJSON

Alpha 版Vector3DLiteral 接口

属性:xyz

数据驱动型样式

FeatureLayer 接口

属性:BetadatasetIdfeatureTypeisAvailablestyle

方法:addListener

事件:clickmousemove

FeatureType 常量

常量:ADMINISTRATIVE_AREA_LEVEL_1ADMINISTRATIVE_AREA_LEVEL_2COUNTRYBetaDATASETLOCALITYPOSTAL_CODESCHOOL_DISTRICT

FeatureStyleFunction typedef
FeatureStyleFunctionOptions 接口

属性:feature

FeatureStyleOptions 接口

属性:fillColorfillOpacitystrokeColorstrokeOpacitystrokeWeight

功能接口

属性: featureType

PlaceFeature 接口

属性:placeId

方法:fetchPlace

Beta 版DatasetFeature 接口

属性:datasetAttributesdatasetId

FeatureMouseEvent 接口

属性: features

控件

CameraControlOptions 接口

属性:position

FullscreenControlOptions 接口

属性:position

MapTypeControlOptions 接口

属性:mapTypeIdspositionstyle

MapTypeControlStyle 常量

常量:DEFAULTDROPDOWN_MENUHORIZONTAL_BAR

MotionTrackingControlOptions 接口

属性:position

PanControlOptions 接口

属性:position

rotationControlOptions 接口

属性: position

ScaleControlOptions 接口

属性:style

ScaleControlStyle 常量

常量:DEFAULT

StreetViewControlOptions 接口

属性:positionsources

ZoomControlOptions 接口

属性:position

ControlPosition 常量

常量:BLOCK_END_INLINE_CENTERBLOCK_END_INLINE_ENDBLOCK_END_INLINE_STARTBLOCK_START_INLINE_CENTERBLOCK_START_INLINE_ENDBLOCK_START_INLINE_STARTBOTTOM_CENTERBOTTOM_LEFTBOTTOM_RIGHTINLINE_END_BLOCK_CENTERINLINE_END_BLOCK_ENDINLINE_END_BLOCK_STARTINLINE_START_BLOCK_CENTERINLINE_START_BLOCK_ENDINLINE_START_BLOCK_STARTLEFT_BOTTOMLEFT_CENTERLEFT_TOPRIGHT_BOTTOMRIGHT_CENTERRIGHT_TOPTOP_CENTERTOP_LEFTTOP_RIGHT

几何图形库

编码命名空间

静态方法:decodePathencodePath

球形命名空间

静态方法:computeAreacomputeDistanceBetweencomputeHeadingcomputeLengthcomputeOffsetcomputeOffsetOrigincomputeSignedAreainterpolate

poly 类

静态方法:containsLocationisLocationOnEdge

在地图上绘制

高级标记

AdvancedMarkerElement 类

属性:collisionBehaviorcontentelementBetagmpClickablegmpDraggablemappositiontitlezIndex

方法:BetaaddEventListeneraddListenerBetaremoveEventListener

事件: clickdragdragenddragstartBetagmp-click

AdvancedMarkerElementOptions 接口

属性:collisionBehaviorcontentBetagmpClickablegmpDraggablemappositiontitlezIndex

Beta 版AdvancedMarkerClickEvent 类
PinElement 类

属性:backgroundborderColorelementglyphglyphColorscale

方法:BetaaddEventListenerBetaremoveEventListener

PinElementOptions 接口

属性:backgroundborderColorglyphglyphColorscale

信息窗口

InfoWindow 类

属性: isOpen

方法:closefocusgetContentgetHeaderContentgetHeaderDisabledgetPositiongetZIndexopensetContentsetHeaderContentsetHeaderDisabledsetOptionssetPositionsetZIndex

事件:closecloseclickcontent_changeddomreadyheadercontent_changedheaderdisabled_changedposition_changedvisiblezindex_changed

InfoWindowOptions 接口

属性:ariaLabelcontentdisableAutoPanheaderContentheaderDisabledmaxWidthminWidthpixelOffsetpositionzIndex

InfoWindowOpenOptions 接口

属性:anchormapshouldFocus

多边形

Polyline 类

方法:getDraggablegetEditablegetMapgetPathgetVisiblesetDraggablesetEditablesetMapsetOptionssetPathsetVisible

事件:clickcontextmenudblclickdragdragenddragstartmousedownmousemovemouseoutmouseovermouseuprightclick

PolylineOptions 接口

属性:clickabledraggableeditablegeodesiciconsmappathstrokeColorstrokeOpacitystrokeWeightvisiblezIndex

IconSequence 接口

属性:fixedRotationiconoffsetrepeat

Polygon 类

方法:getDraggablegetEditablegetMapgetPathgetPathsgetVisiblesetDraggablesetEditablesetMapsetOptionssetPathsetPathssetVisible

事件:clickcontextmenudblclickdragdragenddragstartmousedownmousemovemouseoutmouseovermouseuprightclick

PolygonOptions 接口

属性:clickabledraggableeditablefillColorfillOpacitygeodesicmappathsstrokeColorstrokeOpacitystrokePositionstrokeWeightvisiblezIndex

PolyMouseEvent 接口

属性:edgepathvertex

Rectangle 类

方法:getBoundsgetDraggablegetEditablegetMapgetVisiblesetBoundssetDraggablesetEditablesetMapsetOptionssetVisible

事件:bounds_changedclickcontextmenudblclickdragdragenddragstartmousedownmousemovemouseoutmouseovermouseuprightclick

RectangleOptions 接口

属性:boundsclickabledraggableeditablefillColorfillOpacitymapstrokeColorstrokeOpacitystrokePositionstrokeWeightvisiblezIndex

Circle 类

方法:getBoundsgetCentergetDraggablegetEditablegetMapgetRadiusgetVisiblesetCentersetDraggablesetEditablesetMapsetOptionssetRadiussetVisible

事件:center_changedclickdblclickdragdragenddragstartmousedownmousemovemouseoutmouseovermouseupradius_changedrightclick

CircleOptions 接口

属性:centerclickabledraggableeditablefillColorfillOpacitymapradiusstrokeColorstrokeOpacitystrokePositionstrokeWeightvisiblezIndex

StrokePosition 常量

常量:CENTERINSIDEOUTSIDE

数据

数据类

方法:addaddGeoJsoncontainsforEachgetControlPositiongetControlsgetDrawingModegetFeatureByIdgetMapgetStyleloadGeoJsonoverrideStyleremoverevertStylesetControlPositionsetControlssetDrawingModesetMapsetStyletoGeoJson

事件:addfeatureclickcontextmenudblclickmousedownmouseoutmouseovermouseupremovefeatureremovepropertysetgeometrysetpropertyrightclick

Data.DataOptions 接口

属性:controlPositioncontrolsdrawingModefeatureFactorymapstyle

Data.GeoJsonOptions 接口

属性:idPropertyName

Data.StyleOptions 接口

属性:animationclickablecursordraggableeditablefillColorfillOpacityiconiconslabelopacityshapestrokeColorstrokeOpacitystrokeWeighttitlevisiblezIndex

Data.StylingFunction 类型定义
Data.Feature 类

方法:forEachPropertygetGeometrygetIdgetPropertyremovePropertysetGeometrysetPropertytoGeoJson

事件:removepropertysetgeometrysetproperty

Data.FeatureOptions 接口

属性:geometryidproperties

Data.Geometry 接口

方法:forEachLatLnggetType

Data.Point 类

方法:forEachLatLnggetgetType

Data.MultiPoint 类

方法:forEachLatLnggetArraygetAtgetLengthgetType

Data.LineString 类

方法:forEachLatLnggetArraygetAtgetLengthgetType

Data.MultiLineString 类

方法:forEachLatLnggetArraygetAtgetLengthgetType

Data.LinearRing 类

方法:forEachLatLnggetArraygetAtgetLengthgetType

Data.Polygon 类

方法:forEachLatLnggetArraygetAtgetLengthgetType

Data.MultiPolygon 类

方法:forEachLatLnggetArraygetAtgetLengthgetType

Data.GeometryCollection 类

方法:forEachLatLnggetArraygetAtgetLengthgetType

Data.MouseEvent 接口

属性:feature

Data.AddFeatureEvent 接口

属性:feature

Data.RemoveFeatureEvent 接口

属性:feature

Data.SetGeometryEvent 接口

属性:featurenewGeometryoldGeometry

Data.SetPropertyEvent 接口

属性:featurenamenewValueoldValue

Data.RemovePropertyEvent 接口

属性:featurenameoldValue

DOM 元素

OverlayView 类

静态方法:preventMapHitsAndGesturesFrompreventMapHitsFrom

方法:drawgetMapgetPanesgetProjectiononAddonRemovesetMap

MapPanes 接口

属性:floatPanemapPanemarkerLayeroverlayLayeroverlayMouseTarget

MapCanvasProjection 接口

方法:fromContainerPixelToLatLngfromDivPixelToLatLngfromLatLngToContainerPixelfromLatLngToDivPixelgetVisibleRegiongetWorldWidth

KML

KmlLayer 类

方法:getDefaultViewportgetMapgetMetadatagetStatusgetUrlgetZIndexsetMapsetOptionssetUrlsetZIndex

事件:clickdefaultviewport_changedstatus_changed

KmlLayerOptions 接口

属性:clickablemappreserveViewportscreenOverlayssuppressInfoWindowsurlzIndex

KmlLayerMetadata 接口

属性:authordescriptionhasScreenOverlaysnamesnippet

KmlLayerStatus 常量

常量:DOCUMENT_NOT_FOUNDDOCUMENT_TOO_LARGEFETCH_ERRORINVALID_DOCUMENTINVALID_REQUESTLIMITS_EXCEEDEDOKTIMED_OUTUNKNOWN

KmlMouseEvent 接口

属性:featureDatalatLngpixelOffset

KmlFeatureData 接口

属性:authordescriptionidinfoWindowHtmlnamesnippet

KmlAuthor 接口

属性:emailnameuri

图像叠加层

MapType 接口

属性:altmaxZoomminZoomnameprojectionradiustileSize

方法:getTilereleaseTile

投影接口

方法:fromLatLngToPointfromPointToLatLng

ImageMapType 类

属性:altmaxZoomminZoomnameprojectionradiustileSize

方法:getOpacitygetTilereleaseTilesetOpacity

事件:tilesloaded

ImageMapTypeOptions 接口

属性:altgetTileUrlmaxZoomminZoomnameopacitytileSize

GroundOverlay 类

方法:getBoundsgetMapgetOpacitygetUrlsetMapsetOpacity

事件:clickdblclick

GroundOverlayOptions 接口

属性:clickablemapopacity

StyledMapType 类

属性:altmaxZoomminZoomnameprojectionradiustileSize

方法:getTilereleaseTile

StyledMapTypeOptions 接口

属性:altmaxZoomminZoomname

绘图库

DrawingManager 类

方法:getDrawingModegetMapsetDrawingModesetMapsetOptions

事件:circlecompletemarkercompleteoverlaycompletepolygoncompletepolylinecompleterectanglecomplete

DrawingManagerOptions 接口

属性:circleOptionsdrawingControldrawingControlOptionsdrawingModemapmarkerOptionspolygonOptionspolylineOptionsrectangleOptions

DrawingControlOptions 接口

属性:drawingModesposition

OverlayCompleteEvent 接口

属性:overlaytype

OverlayType 常量

常量:CIRCLEMARKERPOLYGONPOLYLINERECTANGLE

热图

HeatmapLayer 类

方法:getDatagetMapsetDatasetMapsetOptions

HeatmapLayerOptions 接口

属性:datadissipatinggradientmapmaxIntensityopacityradius

WeightedLocation 接口

属性:locationweight

最大缩放级别

MaxZoomService 类

方法:getMaxZoomAtLatLng

MaxZoomResult 接口

属性:statuszoom

MaxZoomStatus 常量

常量:ERROROK

标记(旧版)

标记类

方法:getAnimationgetClickablegetCursorgetDraggablegetIcongetLabelgetMapgetOpacitygetPositiongetShapegetTitlegetVisiblegetZIndexsetAnimationsetClickablesetCursorsetDraggablesetIconsetLabelsetMapsetOpacitysetOptionssetPositionsetShapesetTitlesetVisiblesetZIndex

常量:MAX_ZINDEX

事件:animation_changedclickclickable_changedcontextmenucursor_changeddblclickdragdragenddraggable_changeddragstartflat_changedicon_changedmousedownmouseoutmouseovermouseupposition_changedshape_changedtitle_changedvisible_changedzindex_changedrightclick

MarkerOptions 接口

属性:anchorPointanimationclickablecrossOnDragcursordraggableiconlabelmapopacityoptimizedpositionshapetitlevisiblezIndexBetacollisionBehavior

CollisionBehavior 常量

常量:OPTIONAL_AND_HIDES_LOWER_PRIORITYREQUIREDREQUIRED_AND_HIDES_OPTIONAL

图标接口

属性:anchorlabelOriginoriginscaledSizesizeurl

MarkerLabel 接口

属性:classNamecolorfontFamilyfontSizefontWeighttext

MarkerShape 接口

属性:coordstype

符号接口

属性:anchorfillColorfillOpacitylabelOriginpathrotationscalestrokeColorstrokeOpacitystrokeWeight

SymbolPath 常量

常量:BACKWARD_CLOSED_ARROWBACKWARD_OPEN_ARROWCIRCLEFORWARD_CLOSED_ARROWFORWARD_OPEN_ARROW

动画常量

常量:BOUNCEDROP

街景

渲染

StreetViewPanorama 类

属性:controls

方法:focusgetLinksgetLocationgetMotionTrackinggetPanogetPhotographerPovgetPositiongetPovgetStatusgetVisiblegetZoomregisterPanoProvidersetLinkssetMotionTrackingsetOptionssetPanosetPositionsetPovsetVisiblesetZoom

事件: closeclickpano_changedposition_changedpov_changedresizestatus_changedvisible_changedzoom_changed

StreetViewPanoramaOptions 接口

属性:addressControladdressControlOptionsclickToGocontrolSizedisableDefaultUIdisableDoubleClickZoomenableCloseButtonfullscreenControlfullscreenControlOptionsimageDateControllinksControlmotionTrackingmotionTrackingControlmotionTrackingControlOptionspanControlpanControlOptionspanopositionpovscrollwheelshowRoadLabelsvisiblezoomzoomControlzoomControlOptions

StreetViewAddressControlOptions 接口

属性:position

PanoProviderOptions 接口

属性: cors

StreetViewTileData 接口

属性:centerHeadingtileSizeworldSize

方法:getTileUrl

StreetViewPov 接口

属性:headingpitch

StreetViewCoverageLayer 类

方法:getMapsetMap

服务

StreetViewService 类

方法:getPanorama

StreetViewStatus 常量

常量:OKUNKNOWN_ERRORZERO_RESULTS

StreetViewLocationRequest 接口

属性:locationpreferenceradiussourcessource

StreetViewPanoRequest 接口

属性: pano

StreetViewResponse 接口

属性: data

StreetViewLocation 接口

属性:descriptionlatLngpanoshortDescription

StreetViewPreference 常量

常量:BESTNEAREST

StreetViewSource 常量

常量:DEFAULTGOOGLEOUTDOOR

StreetViewPanoramaData 接口

属性:copyrightimageDatelinkslocationtiles

属性:descriptionheadingpano

地点

地点微件

Beta 版PlaceAutocompleteElement 类

属性:componentRestrictionslocationBiaslocationRestrictionnamerequestedLanguagerequestedRegiontypes

方法:BetaaddEventListenerBetaremoveEventListener

事件:gmp-placeselectgmp-requesterror

Beta 版PlaceAutocompleteElementOptions 接口

属性:componentRestrictionslocationBiaslocationRestrictionrequestedLanguagerequestedRegiontypes

Beta 版PlaceAutocompletePlaceSelectEvent 类

属性:Betaplace

Beta 版PlaceAutocompleteRequestErrorEvent 类
自动补全类

方法:getBoundsgetFieldsgetPlacesetBoundssetComponentRestrictionssetFieldssetOptionssetTypes

事件:place_changed

AutocompleteOptions 接口

属性:boundscomponentRestrictionsfieldsstrictBoundstypesplaceIdOnly

方法:getBoundsgetPlacessetBounds

事件:places_changed

SearchBoxOptions 接口

属性:bounds

Place

地点类

静态方法:searchByTextsearchNearby

属性:accessibilityOptionsaddressComponentsadrFormatAddressallowsDogsattributionsbusinessStatusdisplayNamedisplayNameLanguageCodeeditorialSummaryeditorialSummaryLanguageCodeevChargeOptionsformattedAddressfuelOptionsgoogleMapsURIhasCurbsidePickuphasDeliveryhasDineInhasLiveMusichasMenuForChildrenhasOutdoorSeatinghasRestroomhasTakeouthasWiFiiconBackgroundColoridinternationalPhoneNumberisGoodForChildrenisGoodForGroupsisGoodForWatchingSportsisReservablelocationnationalPhoneNumberparkingOptionspaymentOptionsphotosplusCodepriceLevelprimaryTypeprimaryTypeDisplayNameprimaryTypeDisplayNameLanguageCoderatingregularOpeningHoursrequestedLanguagerequestedRegionreviewsservesBeerservesBreakfastservesBrunchservesCocktailsservesCoffeeservesDessertservesDinnerservesLunchservesVegetarianFoodservesWinesvgIconMaskURItypesuserRatingCountutcOffsetMinutesviewportwebsiteURIopeningHours

方法:fetchFieldsBetagetNextOpeningTimeBetaisOpentoJSON

PlaceOptions 接口

属性:idrequestedLanguagerequestedRegion

AccessibilityOptions 类

属性:hasWheelchairAccessibleEntrancehasWheelchairAccessibleParkinghasWheelchairAccessibleRestroomhasWheelchairAccessibleSeating

Beta 版AddressComponent 类

属性:longTextshortTexttypes

Beta 版归因类

属性:providerproviderURI

Beta 版AuthorAttribution 类

属性:displayNamephotoURIuri

ConnectorAggregation 类

属性:availabilityLastUpdateTimeavailableCountcountmaxChargeRateKwoutOfServiceCounttype

EVChargeOptions 类

属性:connectorAggregationsconnectorCount

EVConnectorType 常量

常量:CCS_COMBO_1CCS_COMBO_2CHADEMOJ1772OTHERTESLATYPE_2UNSPECIFIED_GB_TUNSPECIFIED_WALL_OUTLET

EVSearchOptions 接口

属性:connectorTypesminimumChargingRateKw

FetchFieldsRequest 接口

属性:fields

FuelOptions 类

属性:fuelPrices

FuelPrice 类

属性:pricetypeupdateTime

FuelType 常量

常量:BIO_DIESELDIESELE80E85LPGMETHANEMIDGRADEPREMIUMREGULAR_UNLEADEDSP100SP91SP91_E10SP92SP95SP95_E10SP98SP99TRUCK_DIESEL

货币等级

属性:currencyCodenanosunits

方法:toString

Beta 版OpeningHours 类

属性:periodsweekdayDescriptions

Beta 版OpeningHoursPeriod 类

属性:closeopen

Beta 版OpeningHoursPoint 类

属性:dayhourminute

ParkingOptions 类

属性:hasFreeGarageParkinghasFreeParkingLothasFreeStreetParkinghasPaidGarageParkinghasPaidParkingLothasPaidStreetParkinghasValetParking

PaymentOptions 类

属性:acceptsCashOnlyacceptsCreditCardsacceptsDebitCardsacceptsNFC

Beta 版照片类

属性:authorAttributionsheightPxwidthPx

方法:getURI

Beta 版PlusCode 类

属性:compoundCodeglobalCode

Beta 版PriceLevel 常量

常量:EXPENSIVEFREEINEXPENSIVEMODERATEVERY_EXPENSIVE

Beta 版查看课程

属性:authorAttributionpublishTimeratingrelativePublishTimeDescriptiontexttextLanguageCode

SearchByTextRequest 接口

属性:evSearchOptionsfieldsincludedTypeisOpenNowlanguagelocationBiaslocationRestrictionmaxResultCountminRatingpriceLevelsrankPreferenceregiontextQueryuseStrictTypeFilteringqueryBetarankBy

SearchByTextRankPreference 常量

常量:DISTANCERELEVANCE

SearchNearbyRequest 接口

属性:excludedPrimaryTypesexcludedTypesfieldsincludedPrimaryTypesincludedTypeslanguagelocationRestrictionmaxResultCountrankPreferenceregion

SearchNearbyRankPreference 常量

常量:DISTANCEPOPULARITY

自动补全数据(新)

AutocompleteRequest 接口

属性:includedPrimaryTypesincludedRegionCodesinputinputOffsetlanguagelocationBiaslocationRestrictionoriginregionsessionToken

AutocompleteSessionToken 类
AutocompleteSuggestion 类

静态方法:fetchAutocompleteSuggestions

属性:placePrediction

PlacePrediction 类

属性:distanceMetersmainTextplaceIdsecondaryTexttexttypes

方法:toPlace

StringRange 类

属性:endOffsetstartOffset

FormattableText 类

属性:matchestext

地理编码器

Geocoder 类

方法:geocode

GeocoderRequest 接口

属性:addressboundscomponentRestrictionsBetaextraComputationsfulfillOnZeroResultslanguagelocationplaceIdregion

GeocoderComponentRestrictions 接口

属性:administrativeAreacountrylocalitypostalCoderoute

Beta 版ExtraGeocodeComputation 常量

常量:ADDRESS_DESCRIPTORS

GeocoderStatus 常量

常量:ERRORINVALID_REQUESTOKOVER_QUERY_LIMITREQUEST_DENIEDUNKNOWN_ERRORZERO_RESULTS

GeocoderResponse 接口

属性:Betaaddress_descriptorplus_coderesults

GeocoderResult 接口

属性:address_componentsBetaaddress_descriptorformatted_addressgeometrypartial_matchplace_idplus_codepostcode_localitiestypes

Beta 版AddressDescriptor 接口

属性:areaslandmarks

GeocoderAddressComponent 接口

属性:long_nameshort_nametypes

GeocoderGeometry 接口

属性:boundslocationlocation_typeviewport

GeocoderLocationType 常量

常量:APPROXIMATEGEOMETRIC_CENTERRANGE_INTERPOLATEDROOFTOP

Beta 版地标接口

属性:display_namedisplay_name_language_codeplace_idspatial_relationshipstraight_line_distance_meterstravel_distance_meterstypes

Beta 版区域接口

属性:containmentdisplay_namedisplay_name_language_codeplace_id

Beta 版容器常量

常量:NEAROUTSKIRTSWITHIN

Beta 版SpatialRelationship 常量

常量:ACROSS_THE_ROADAROUND_THE_CORNERBEHINDBESIDEDOWN_THE_ROADNEARWITHIN

地点服务

PlacesService 类

方法:findPlaceFromPhoneNumberfindPlaceFromQuerygetDetailsnearbySearchtextSearch

PlaceDetailsRequest 接口

属性:fieldslanguageplaceIdregionsessionToken

FindPlaceFromPhoneNumberRequest 接口

属性:fieldslanguagelocationBiasphoneNumber

FindPlaceFromQueryRequest 接口

属性:fieldslanguagelocationBiasquery

PlaceSearchRequest 接口

属性:boundskeywordlanguagelocationmaxPriceLevelminPriceLevelopenNowradiusrankBytypename

TextSearchRequest 接口

属性:boundslanguagelocationqueryradiusregiontype

RankBy 常量

常量:DISTANCEPROMINENCE

LocationBias typedef
LocationRestriction 类型定义
PlacesServiceStatus 常量

常量:INVALID_REQUESTNOT_FOUNDOKOVER_QUERY_LIMITREQUEST_DENIEDUNKNOWN_ERRORZERO_RESULTS

PlaceSearchPagination 界面

属性:hasNextPage

方法:nextPage

PlaceResult 接口

属性:address_componentsadr_addressaspectsbusiness_statusformatted_addressformatted_phone_numbergeometryhtml_attributionsiconicon_background_coloricon_mask_base_uriinternational_phone_numbernameopening_hoursphotosplace_idplus_codeprice_levelratingreviewstypesurluser_ratings_totalutc_offset_minutesvicinitywebsiteutc_offsetpermanently_closed

PlaceAspectRating 接口

属性:ratingtype

BusinessStatus 常量

常量:CLOSED_PERMANENTLYCLOSED_TEMPORARILYOPERATIONAL

PlaceGeometry 接口

属性:locationviewport

PlaceOpeningHours 接口

属性:periodsweekday_textopen_now

方法:isOpen

PlaceOpeningHoursPeriod 接口

属性:closeopen

PlaceOpeningHoursTime 界面

属性:dayhoursminutesnextDatetime

PlacePlusCode 接口

属性:compound_codeglobal_code

PlacePhoto 界面

属性:heighthtml_attributionswidth

方法:getUrl

PhotoOptions 接口

属性:maxHeightmaxWidth

PlaceReview 接口

属性:author_nameauthor_urllanguageprofile_photo_urlratingrelative_time_descriptiontexttimeaspects

地点自动补全服务

AutocompleteService 类

方法:getPlacePredictionsgetQueryPredictions

AutocompletionRequest 接口

属性:componentRestrictionsinputlanguagelocationBiaslocationRestrictionoffsetoriginregionsessionTokentypesboundslocationradius

AutocompleteResponse 接口

属性:predictions

QueryAutocompletionRequest 接口

属性:boundsinputlocationoffsetradius

ComponentRestrictions 接口

属性:country

AutocompletePrediction 界面

属性:descriptiondistance_metersmatched_substringsplace_idstructured_formattingtermstypes

QueryAutocompletePrediction 接口

属性:descriptionmatched_substringsplace_idterms

PredictionTerm 接口

属性:offsetvalue

PredictionSubstring 接口

属性:lengthoffset

StructuredFormatting 接口

属性:main_textmain_text_matched_substringssecondary_text

路线

路线

DirectionsService 类

方法:route

DirectionsRequest 接口

属性:avoidFerriesavoidHighwaysavoidTollsdestinationdrivingOptionslanguageoptimizeWaypointsoriginprovideRouteAlternativesregiontransitOptionstravelModeunitSystemwaypoints

DirectionsStatus 常量

常量:INVALID_REQUESTMAX_WAYPOINTS_EXCEEDEDNOT_FOUNDOKOVER_QUERY_LIMITREQUEST_DENIEDUNKNOWN_ERRORZERO_RESULTS

DirectionsResult 接口

属性:available_travel_modesgeocoded_waypointsrequestroutes

DirectionsRenderer 类

方法:getDirectionsgetMapgetPanelgetRouteIndexsetDirectionssetMapsetOptionssetPanelsetRouteIndex

事件:directions_changed

DirectionsRendererOptions 接口

属性:directionsdraggablehideRouteListinfoWindowmapmarkerOptionspanelpolylineOptionspreserveViewportrouteIndexsuppressBicyclingLayersuppressInfoWindowssuppressMarkerssuppressPolylines

DirectionsWaypoint 接口

属性:locationstopover

DirectionsGeocodedWaypoint 界面

属性:partial_matchplace_idtypes

DirectionsRoute 接口

属性:boundscopyrightsfarelegsoverview_pathoverview_polylinesummarywarningswaypoint_order

DirectionsLeg 接口

属性:arrival_timedeparture_timedistancedurationduration_in_trafficend_addressend_locationstart_addressstart_locationstepsvia_waypointstraffic_speed_entry

DirectionsStep 接口

属性: distancedurationencoded_lat_lngsend_locationinstructionsmaneuverpathstart_locationstepstransittransit_detailstravel_modestart_pointend_pointlat_lngspolyline

DirectionsPolyline 接口

属性:points

地点接口

属性:locationplaceIdquery

TravelMode 常量

常量:BICYCLINGDRIVINGTRANSITWALKING

DrivingOptions 接口

属性:departureTimetrafficModel

TrafficModel 常量

常量:BEST_GUESSOPTIMISTICPESSIMISTIC

TransitOptions 接口

属性:arrivalTimedepartureTimemodesroutingPreference

TransitMode 常量

常量:BUSRAILSUBWAYTRAINTRAM

TransitRoutePreference 常量

常量:FEWER_TRANSFERSLESS_WALKING

TransitFare 接口

属性:currencyvalue

TransitDetails 接口

属性:arrival_stoparrival_timedeparture_stopdeparture_timeheadsignheadwaylinenum_stopstrip_short_name

TransitStop 接口

属性:locationname

TransitLine 接口

属性:agenciescoloriconnameshort_nametext_colorurlvehicle

TransitAgency 接口

属性:namephoneurl

TransitVehicle 界面

属性:iconlocal_iconnametype

VehicleType 常量

常量:BUSCABLE_CARCOMMUTER_TRAINFERRYFUNICULARGONDOLA_LIFTHEAVY_RAILHIGH_SPEED_TRAININTERCITY_BUSMETRO_RAILMONORAILOTHERRAILSHARE_TAXISUBWAYTRAMTROLLEYBUS

UnitSystem 常量

常量:IMPERIALMETRIC

距离接口

属性:textvalue

时长接口

属性:textvalue

时间接口

属性:texttime_zonevalue

DirectionsTravelMode 常量
DirectionsUnitSystem 常量

距离矩阵

DistanceMatrixService 类

方法:getDistanceMatrix

DistanceMatrixRequest 接口

属性:avoidFerriesavoidHighwaysavoidTollsdestinationsdrivingOptionslanguageoriginsregiontransitOptionstravelModeunitSystem

DistanceMatrixResponse 接口

属性:destinationAddressesoriginAddressesrows

DistanceMatrixResponseRow 接口

属性:elements

DistanceMatrixResponseElement 接口

属性:distancedurationduration_in_trafficfarestatus

DistanceMatrixStatus 常量

常量:INVALID_REQUESTMAX_DIMENSIONS_EXCEEDEDMAX_ELEMENTS_EXCEEDEDOKOVER_QUERY_LIMITREQUEST_DENIEDUNKNOWN_ERROR

DistanceMatrixElementStatus 常量

常量:NOT_FOUNDOKZERO_RESULTS

海拔

ElevationService 类

方法:getElevationAlongPathgetElevationForLocations

LocationElevationRequest 接口

属性:locations

LocationElevationResponse 接口

属性:results

PathElevationRequest 接口

属性:pathsamples

PathElevationResponse 接口

属性: results

ElevationResult 接口

属性:elevationlocationresolution

ElevationStatus 常量

常量:INVALID_REQUESTOKOVER_QUERY_LIMITREQUEST_DENIEDUNKNOWN_ERROR

旅程分享

地图视图

JourneySharingMapView 类

属性:automaticViewportModeelementenableTrafficlocationProvidersmapmapOptionslocationProviderdestinationMarkerSetuporiginMarkerSetuptaskOutcomeMarkerSetupunsuccessfulTaskMarkerSetupvehicleMarkerSetupwaypointMarkerSetupanticipatedRoutePolylineSetuptakenRoutePolylineSetuppingMarkerSetupsuccessfulTaskMarkerSetupdestinationMarkersoriginMarkerssuccessfulTaskMarkerstaskOutcomeMarkersunsuccessfulTaskMarkersvehicleMarkerswaypointMarkersanticipatedRoutePolylinestakenRoutePolylines

方法:addLocationProviderremoveLocationProvider

JourneySharingMapViewOptions 接口

属性:automaticViewportModeelementlocationProvidersmapOptionslocationProviderdestinationMarkerSetuporiginMarkerSetuptaskOutcomeMarkerSetupunsuccessfulTaskMarkerSetupvehicleMarkerSetupwaypointMarkerSetupanticipatedRoutePolylineSetuptakenRoutePolylineSetuppingMarkerSetupsuccessfulTaskMarkerSetup

AutomaticViewportMode 常量

常量:FIT_ANTICIPATED_ROUTENONE

LocationProvider 抽象类

方法:addListener

PollingLocationProvider 抽象类

属性:isPollingpollingIntervalMillis

事件:ispollingchange

PollingLocationProviderIsPollingChangeEvent 接口

属性:error

Authentication

AuthToken 接口

属性:expiresInSecondstoken

AuthTokenContext 接口

属性:deliveryVehicleIdtaskIdtrackingIdtripIdvehicleId

AuthTokenFetcher typedef
AuthTokenFetcherOptions 接口

属性:contextserviceType

FleetEngineServiceType 常量

常量:DELIVERY_VEHICLE_SERVICETASK_SERVICETRIP_SERVICEUNKNOWN_SERVICE

界面自定义

PolylineSetup typedef
PolylineSetupOptions 接口

属性:polylineOptionsvisible

DefaultPolylineSetupOptions 接口

属性:defaultPolylineOptionsdefaultVisible

MarkerSetup typedef
MarkerSetupOptions 接口

属性:markerOptions

DefaultMarkerSetupOptions 接口

属性:defaultMarkerOptions

MarkerCustomFunctionParams 接口

属性:defaultOptionsisNewmarker

DeliveryVehicleMarkerCustomizationFunctionParams 接口

属性:vehicle

PlannedStopMarkerCustomizationFunctionParams 接口

属性: stopIndex

TaskMarkerCustomizationFunctionParams 接口

属性: task

ShipmentMarkerCustomizationFunctionParams 接口

属性:taskTrackingInfo

TripMarkerCustomizeFunctionParams 接口

属性:trip

TripWaypointMarkerCustomizationFunctionParams 接口

属性:waypointIndex

VehicleMarkerCustomizationFunctionParams 接口

属性:vehicle

VehicleWaypointMarkerCustomizationFunctionParams 接口

属性:waypointIndex

PolylineCustomizationFunctionParams 接口

属性:defaultOptionsisNewpolylines

ShipmentPolylineCustomizationFunctionParams 接口

属性:taskTrackingInfo

TripPolylineCustomizationFunctionParams 接口

属性:trip

VehiclePolylineCustomizationFunctionParams 接口

属性:vehicle

DeliveryVehiclePolygonCustomizeFunctionParams 接口

属性:deliveryVehicle

Fleet Engine 实体

任务接口

属性:attributesestimatedCompletionTimelatestVehicleLocationUpdatenameoutcomeoutcomeLocationoutcomeLocationSourceoutcomeTimeplannedLocationremainingVehicleJourneySegmentsstatustargetTimeWindowtrackingIdtypevehicleId

TaskInfo 接口

属性:extraDurationMillisidtargetTimeWindow

TaskTrackingInfo 接口

属性:attributesestimatedArrivalTimeestimatedTaskCompletionTimelatestVehicleLocationUpdatenameplannedLocationremainingDrivingDistanceMetersremainingStopCountroutePolylinePointsstatetargetTimeWindowtaskOutcometaskOutcomeTimetrackingId

行程接口

属性:actualDropOffLocationactualPickupLocationdropOffTimelatestVehicleLocationUpdatenamepassengerCountpickupTimeplannedDropOffLocationplannedPickupLocationremainingWaypointsstatustypevehicleId

DeliveryVehicle 接口

属性:attributescurrentRouteSegmentEndPointlatestVehicleLocationUpdatenamenavigationStatusremainingDistanceMetersremainingDurationMillisremainingVehicleJourneySegments

DeliveryVehicleStop 接口

属性:plannedLocationstatetasks

DeliveryVehicleStopState 常量

常量:ARRIVEDENROUTENEWUNSPECIFIED

VehicleJourneySegment 接口

属性:drivingDistanceMetersdrivingDurationMillispathstop

VehicleLocationUpdate 接口

属性:headinglocationspeedKilometersPerHourtime

VehicleWaypoint 接口

属性:distanceMetersdurationMillislocationpathspeedReadingIntervals

车辆接口

属性:attributescurrentRouteSegmentEndPointcurrentRouteSegmentVersioncurrentTripsetaToFirstWaypointlatestLocationmaximumCapacitynamenavigationStatusremainingDistanceMeterssupportedTripTypesvehicleStatevehicleTypewaypointswaypointsVersion

VehicleNavigationStatus 常量

常量:ARRIVED_AT_DESTINATIONENROUTE_TO_DESTINATIONNO_GUIDANCEOFF_ROUTEUNKNOWN_NAVIGATION_STATUS

VehicleState 常量

常量:OFFLINEONLINEUNKNOWN_VEHICLE_STATE

VehicleType 常量

常量:AUTOTAXITRUCKTWO_WHEELERUNKNOWN

TripType 常量

常量:EXCLUSIVESHAREDUNKNOWN_TRIP_TYPE

TripWaypoint 接口

属性:distanceMetersdurationMillislocationpathspeedReadingIntervalstripIdwaypointType

WaypointType 常量

常量:DROP_OFF_WAYPOINT_TYPEINTERMEDIATE_DESTINATION_WAYPOINT_TYPEPICKUP_WAYPOINT_TYPEUNKNOWN_WAYPOINT_TYPE

TimeWindow 接口

属性:endTimestartTime

速度常量

常量:NORMALSLOWTRAFFIC_JAM

SpeedReadingInterval 接口

属性:endPolylinePointIndexspeedstartPolylinePointIndex

行程和订单进度

FleetEngineTripLocationProvider 类

静态方法:TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTIONTRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTION

属性:tripId

方法:refresh

事件:errorupdate

FleetEngineTripLocationProviderOptions 接口

属性:activePolylineCustomizationauthTokenFetcherdestinationMarkerCustomizationoriginMarkerCustomizationpollingIntervalMillisprojectIdremainingPolylineCustomizationtakenPolylineCustomizationtripIdvehicleMarkerCustomizationwaypointMarkerCustomization

FleetEngineTripLocationProviderUpdateEvent 接口

属性:trip

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

FleetEngineDeliveryVehicleLocationProvider 类

属性:deliveryVehicleIdshouldShowOutcomeLocationsshouldShowTasksstaleLocationThresholdMillistaskFilterOptions

事件:errorupdate

FleetEngineDeliveryVehicleLocationProviderOptions 接口

属性:activePolylineCustomizationauthTokenFetcherdeliveryVehicleIddeliveryVehicleMarkerCustomizationplannedStopMarkerCustomizationpollingIntervalMillisprojectIdremainingPolylineCustomizationshouldShowOutcomeLocationsshouldShowTasksstaleLocationThresholdMillistakenPolylineCustomizationtaskFilterOptionstaskMarkerCustomizationtaskOutcomeMarkerCustomization

FleetEngineTaskFilterOptions 接口

属性:completionTimeFromcompletionTimeTostate

FleetEngineDeliveryVehicleLocationProviderUpdateEvent 接口

属性:completedVehicleJourneySegmentsdeliveryVehicletasks

FleetEngineDeliveryFleetLocationProvider 类

属性:deliveryVehicleFilterlocationRestrictionstaleLocationThresholdMillis

事件:update

FleetEngineDeliveryFleetLocationProviderOptions 接口

属性:authTokenFetcherdeliveryVehicleFilterdeliveryVehicleMarkerCustomizationlocationRestrictionprojectIdstaleLocationThresholdMillis

FleetEngineDeliveryFleetLocationProviderUpdateEvent 接口

属性:deliveryVehicles

车队跟踪 - 按需乘车和送货

FleetEngineVehicleLocationProvider 类

静态方法:TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTIONTRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTION

属性:staleLocationThresholdMillisvehicleId

事件:errorupdate

FleetEngineVehicleLocationProviderOptions 接口

属性:activePolylineCustomizationauthTokenFetcherdestinationMarkerCustomizationintermediateDestinationMarkerCustomizationoriginMarkerCustomizationpollingIntervalMillisprojectIdremainingPolylineCustomizationstaleLocationThresholdMillistakenPolylineCustomizationvehicleIdvehicleMarkerCustomization

FleetEngineVehicleLocationProviderUpdateEvent 接口

属性:tripsvehicle

FleetEngineFleetLocationProvider 类

属性:locationRestrictionstaleLocationThresholdMillisvehicleFilter

事件:update

FleetEngineFleetLocationProviderOptions 接口

属性:authTokenFetcherlocationRestrictionprojectIdstaleLocationThresholdMillisvehicleFiltervehicleMarkerCustomization

FleetEngineFleetLocationProviderUpdateEvent 接口

属性:vehicles

Shipment Tracking

FleetEngineShipmentLocationProvider 类

属性:trackingId

方法:refresh

事件:errorupdate

FleetEngineShipmentLocationProviderOptions 接口

属性:activePolylineCustomizationauthTokenFetcherdeliveryVehicleMarkerCustomizationdestinationMarkerCustomizationpollingIntervalMillisprojectIdremainingPolylineCustomizationtakenPolylineCustomizationtrackingId

FleetEngineShipmentLocationProviderUpdateEvent 接口

属性:taskTrackingInfo

3D 地图(Alpha 版)

3D 地图

Alpha 版Map3DElement 类

属性:boundscenterdefaultLabelsDisableddefaultUIDisabledheadingmaxAltitudemaxHeadingmaxTiltminAltitudeminHeadingminTiltrangerolltilt

方法:BetaaddEventListenerflyCameraAroundflyCameraToBetaremoveEventListenerstopCameraAnimation

事件: gmp-animationendgmp-centerchangegmp-clickgmp-headingchangegmp-rangechangegmp-rollchangegmp-steadychangegmp-tiltchange

Alpha 版Map3DElementOptions 接口

属性:boundscenterdefaultLabelsDisableddefaultUIDisabledheadingmaxAltitudemaxHeadingmaxTiltminAltitudeminHeadingminTiltrangerolltilt

Alpha 版FlyAroundAnimationOptions 接口

属性:cameradurationMillisrounds

Alpha 版FlyToAnimationOptions 接口

属性:durationMillisendCamera

Alpha 版CameraOptions 接口

属性:centerheadingrangerolltilt

Alpha 版SteadyChangeEvent 类

属性:isSteady

Alpha 版LocationClickEvent 类

属性:position

Alpha 版PlaceClickEvent 类

属性:placeId

方法:fetchPlace

Alpha 版Marker3DElement 类

属性:altitudeModecollisionBehaviordrawsWhenOccludedextrudedlabelpositionsizePreservedzIndex

方法:BetaaddEventListenerBetaremoveEventListener

Alpha 版Marker3DElementOptions 接口

属性:altitudeModecollisionBehaviordrawsWhenOccludedextrudedlabelpositionsizePreservedzIndex

Alpha 版Marker3DInteractiveElement 类

方法:addEventListenerremoveEventListener

事件: gmp-click

Alpha 版Marker3DInteractiveElementOptions 接口
Alpha 版Model3DElement 类

属性:altitudeModeorientationpositionscalesrc

方法:BetaaddEventListenerBetaremoveEventListener

Alpha 版Model3DElementOptions 接口

属性:altitudeModeorientationpositionscalesrc

Alpha 版Polyline3DElement 类

属性:altitudeModecoordinatesdrawsOccludedSegmentsextrudedgeodesicouterColorouterWidthstrokeColorstrokeWidthzIndex

方法:BetaaddEventListenerBetaremoveEventListener

Alpha 版Polyline3DElementOptions 接口

属性:altitudeModecoordinatesdrawsOccludedSegmentsextrudedgeodesicouterColorouterWidthstrokeColorstrokeWidthzIndex

Alpha 版Polygon3DElement 类

属性:altitudeModedrawsOccludedSegmentsextrudedfillColorgeodesicinnerCoordinatesouterCoordinatesstrokeColorstrokeWidthzIndex

方法:BetaaddEventListenerBetaremoveEventListener

Alpha 版Polygon3DElementOptions 接口

属性:altitudeModedrawsOccludedSegmentsextrudedfillColorgeodesicinnerCoordinatesouterCoordinatesstrokeColorstrokeWidthzIndex

Alpha 版AltitudeMode 常量

常量:ABSOLUTECLAMP_TO_GROUNDRELATIVE_TO_GROUNDRELATIVE_TO_MESH

Local Context(Beta 版)

地图视图

Beta 版LocalContextMapView 类

属性:directionsOptionselementisTransitioningMapBoundslocationBiaslocationRestrictionmaxPlaceCountplaceTypePreferences

方法:addListenerhidePlaceDetailsViewsearch

事件:errorplacedetailsviewhidestartplacedetailsviewshowstart

Beta 版LocalContextMapViewOptions 接口

属性:directionsOptionselementlocationBiaslocationRestrictionmapmaxPlaceCountpinOptionsSetupplaceChooserViewSetupplaceDetailsViewSetupplaceTypePreferences

Beta 版PlaceTypePreference typedef
Beta 版MapDirectionsOptions 类

方法:addListener

Beta 版MapDirectionsOptionsLiteral 接口

属性:origin

Beta 版PinOptions 接口

属性:backgroundglyphColorscale

PlaceChooserViewSetupOptions 接口

属性:layoutModeposition

Beta 版PlaceChooserLayoutMode 常量

常量:HIDDENSHEET

Beta 版PlaceChooserPosition 常量

常量:BLOCK_ENDINLINE_ENDINLINE_START

PlaceDetailsViewSetupOptions 界面

属性:hidesOnMapClicklayoutModeposition

Beta 版PlaceDetailsLayoutMode 常量

常量:INFO_WINDOWSHEET

Beta 版PlaceDetailsPosition 常量

常量:INLINE_ENDINLINE_START

库接口

库接口

CoreLibrary 接口

属性:ColorSchemeControlPositioneventLatLngLatLngAltitudeLatLngBoundsMapsNetworkErrorMapsNetworkErrorEndpointMapsRequestErrorMapsServerErrorMVCArrayMVCObjectOrientation3DPointSettingsSizeSymbolPathUnitSystemVector3D

MapsLibrary 接口

属性:BicyclingLayerCircleDataFeatureTypeGroundOverlayImageMapTypeInfoWindowKmlLayerKmlLayerStatusMapMapTypeControlStyleMapTypeIdMapTypeRegistryMaxZoomServiceMaxZoomStatusOverlayViewPolygonPolylineRectangleRenderingTypeStrokePositionStyledMapTypeTrafficLayerTransitLayerWebGLOverlayViewBetaZoomChangeEvent

Alpha 版Maps3DLibrary 接口

属性:AltitudeModeLocationClickEventMap3DElementMarker3DElementMarker3DInteractiveElementModel3DElementPlaceClickEventPolygon3DElementPolyline3DElementSteadyChangeEvent

PlacesLibrary 接口

属性:AccessibilityOptionsAddressComponentAttributionAuthorAttributionAutocompleteAutocompleteServiceAutocompleteSessionTokenAutocompleteSuggestionBusinessStatusConnectorAggregationEVChargeOptionsEVConnectorTypeFormattableTextFuelOptionsFuelPriceFuelTypeMoneyOpeningHoursOpeningHoursPeriodOpeningHoursPointParkingOptionsPaymentOptionsPhotoPlacePlacePredictionPlacesServicePlacesServiceStatusPlusCodePriceLevelRankByReviewSearchBoxSearchByTextRankPreferenceSearchNearbyRankPreferenceStringRange

GeocodingLibrary 接口

属性:ContainmentExtraGeocodeComputationGeocoderGeocoderLocationTypeGeocoderStatusSpatialRelationship

RoutesLibrary 接口

属性:DirectionsRendererDirectionsServiceDirectionsStatusDistanceMatrixElementStatusDistanceMatrixServiceDistanceMatrixStatusTrafficModelTransitModeTransitRoutePreferenceTravelModeVehicleType

MarkerLibrary 接口

属性:AdvancedMarkerClickEventAdvancedMarkerElementAnimationCollisionBehaviorMarkerPinElement

GeometryLibrary 接口

属性:encodingpolyspherical

ElevationLibrary 接口

属性:ElevationServiceElevationStatus

StreetViewLibrary 接口

属性:InfoWindowOverlayViewStreetViewCoverageLayerStreetViewPanoramaStreetViewPreferenceStreetViewServiceStreetViewSourceStreetViewStatus

JourneySharingLibrary 接口

属性:AutomaticViewportModeDeliveryVehicleStopStateFleetEngineDeliveryFleetLocationProviderFleetEngineDeliveryVehicleLocationProviderFleetEngineFleetLocationProviderFleetEngineServiceTypeFleetEngineShipmentLocationProviderFleetEngineTripLocationProviderFleetEngineVehicleLocationProviderJourneySharingMapViewSpeedTripTypeVehicleNavigationStatusVehicleStateVehicleTypeWaypointType

DrawingLibrary 接口

属性:DrawingManagerOverlayType

VisualizationLibrary 接口

属性:HeatmapLayer