Google Maps JavaScript API V3 Reference

上次更新時間:2022 年 10 月 27 日星期四

這是 Maps JavaScript API 3.50 版中所有類別、方法和介面的索引。

詳情請參閱版本資訊版本管理

只要點選項目名稱,即可查看詳細的說明文件。

全域概念

google.maps

google.maps 命名空間

常數: version

設定 (Beta 版)

">設定類別

靜態方法:">getInstance

屬性:">experienceIds

事件系統

活動類別

靜態方法: 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_LOCAL_CONTEXT_SEARCHPLACES_LOCAL_CONTEXT_SEARCH

地圖

地圖

地圖類別

屬性: controlsdatamapTypesoverlayMapTypes

方法:

常數: 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,tilesloaded,tilesloaded,tilesloaded,tilesloaded,tilesloaded

MapOptions 介面

開啟「Google 助理」

GeoStyle 介面

屬性: elementTypefeatureTypestylers

MapMouseEvent 介面

屬性: domEventlatLng

方法:stop

IconMouseEvent

屬性:placeId

GeoId 常數

常數: HYBRIDROADMAPSATELLITETERRAIN

GeoRegistry 類別

方法:set

MapRestriction 介面

屬性: latLngBoundsstrictBounds

TrafficLayer 類別

方法: getMapsetMapsetOptions

TrafficLayerOptions 介面

屬性: autoRefreshmap

TransitLayer 類別

方法: getMapsetMap

BicyclingLayer 類別

方法: getMapsetMap

">CameraOptions 介面

屬性: centerheadingtiltzoom

VisibleRegion 介面

屬性: farLeftfarRightlatLngBoundsnearLeftnearRight

renderType 常數

常數: RASTERUNINITIALIZEDVECTOR

">MapCapabilities 介面

屬性: isAdvancedMarkersAvailableisDataDrivenStylingAvailable

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

分數類別

屬性: xy

方法: equalstoString

大小類別

屬性: heightwidth

方法: equalstoString

邊框間距介面

屬性: bottomleftrighttop

CircleLiteral 介面

屬性: centerradius

資料導向樣式 (Beta 版)

">FeatureLayer 介面

屬性: featureTypeisAvailablestyle

方法:addListener

">FeatureType 常數

常數: ADMINISTRATIVE_AREA_LEVEL_1ADMINISTRATIVE_AREA_LEVEL_2ADMINISTRATIVE_AREA_LEVEL_3ADMINISTRATIVE_AREA_LEVEL_4COUNTRYLOCALITYNEIGHBORHOODPOSTAL_CODESUBLOCALITY_LEVEL_1

">FeatureStyleFunction typedef
">FeatureStyleFunctionOptions 介面

屬性:feature

">FeatureStyleOptions 介面

屬性: fillColorfillOpacitystrokeColorstrokeOpacitystrokeWeight

">功能介面

屬性:featureType

">PlaceFeature 介面

屬性: displayNameplaceId

">FeatureMouseEvent 介面

屬性:features

控制

FullscreenControlOptions 介面

屬性:position

GeoControlOptions 介面

屬性: mapTypeIdspositionstyle

GeoControlStyle 常數

常數: DEFAULTDROPDOWN_MENUHORIZONTAL_BAR

MotionTrackingControlOptions 介面

屬性:position

PanControlOptions 介面

屬性:position

rotControlOptions 介面

屬性:position

ScaleControlOptions 介面

屬性:style

ScaleControlStyle 常數

常數: DEFAULT

StreetViewControlOptions 介面

屬性:position

ZoomControlOptions 介面

屬性:position

ControlPosition 常數

常數: BOTTOM_CENTERBOTTOM_LEFTBOTTOM_RIGHTLEFT_BOTTOMLEFT_CENTERLEFT_TOPRIGHT_BOTTOMRIGHT_CENTERRIGHT_TOPTOP_CENTERTOP_LEFTTOP_RIGHT

幾何圖形程式庫

編碼命名空間

靜態方法:decodePathencodePath

球體命名空間

靜態方法: computeAreacomputeDistanceBetweencomputeHeadingcomputeLengthcomputeOffsetcomputeOffsetOrigincomputeSignedAreainterpolate

Poly 命名空間

靜態方法:containsLocationisLocationOnEdge

在地圖上繪圖

Marker

Marker 類別

方法:

常數: 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,title_changed,title_changed,title_changed,title_changed,title_changed

MarkerOptions 介面

屬性: anchorPointanimationclickable">collisionBehaviorcrossOnDragcursordraggableiconlabelmapopacityoptimizedpositionshapetitlevisiblezIndex

">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

進階標記 (Beta 版)

">AdvancedMarkerView 類別

屬性: collisionBehaviorcontentdraggableelementmappositiontitlezIndex

方法:addListener

事件: clickdragdragenddragstart

">AdvancedMarkerViewOptions 介面

屬性: collisionBehaviorcontentdraggableelementmappositiontitlezIndex

">PinView 類別

屬性: backgroundborderColorelementglyphglyphColorscale

方法:addListener

">PinViewOptions 介面

屬性: backgroundborderColorelementglyphglyphColorscale

資訊視窗

InfoWindow 類別

方法: closefocusgetContentgetPositiongetZIndexopensetContentsetOptionssetPositionsetZIndex

事件: closeclickcontent_changeddomreadyposition_changedvisiblezindex_changed

InfoWindowOptions 介面

屬性: ariaLabelcontentdisableAutoPanmaxWidthminWidthpixelOffsetpositionzIndex

InfoWindowOpenOptions 介面

屬性: anchormapshouldFocus

多邊形

折線類別

方法: getDraggablegetEditablegetMapgetPathgetVisiblesetDraggablesetEditablesetMapsetOptionssetPathsetVisible

事件: clickcontextmenudblclickdragdragenddragstartmousedownmousemovemouseoutmouseovermouseuprightclick

PolylineOptions 介面

屬性: clickabledraggableeditablegeodesiciconsmappathstrokeColorstrokeOpacitystrokeWeightvisiblezIndex

IconSequence 介面

屬性: fixedRotationiconoffsetrepeat

多邊形類別

方法: getDraggablegetEditablegetMapgetPathgetPathsgetVisiblesetDraggablesetEditablesetMapsetOptionssetPathsetPathssetVisible

事件: clickcontextmenudblclickdragdragenddragstartmousedownmousemovemouseoutmouseovermouseuprightclick

PolygonOptions 介面

屬性: clickabledraggableeditablefillColorfillOpacitygeodesicmappathsstrokeColorstrokeOpacitystrokePositionstrokeWeightvisiblezIndex

PolyMouseEvent

屬性: edgepathvertex

Rectangle 類別

方法: getBoundsgetDraggablegetEditablegetMapgetVisiblesetBoundssetDraggablesetEditablesetMapsetOptionssetVisible

事件: bounds_changedclickcontextmenudblclickdragdragenddragstartmousedownmousemovemouseoutmouseovermouseuprightclick

RectangleOptions 介面

屬性: boundsclickabledraggableeditablefillColorfillOpacitymapstrokeColorstrokeOpacitystrokePositionstrokeWeightvisiblezIndex

圓形課程

方法: getBoundsgetCentergetDraggablegetEditablegetMapgetRadiusgetVisiblesetCentersetDraggablesetEditablesetMapsetOptionssetRadiussetVisible

事件: center_changedclickdblclickdragdragenddragstartmousedownmousemovemouseoutmouseovermouseupradius_changedrightclick

CircleOptions 介面

屬性: centerclickabledraggableeditablefillColorfillOpacitymapradiusstrokeColorstrokeOpacitystrokePositionstrokeWeightvisiblezIndex

StrokePosition 常數

常數: CENTERINSIDEOUTSIDE

資料

資料類別

方法: addaddGeoJsoncontainsforEachgetControlPositiongetControlsgetDrawingModegetFeatureByIdgetMapgetStyleloadGeoJsonoverrideStyleremoverevertStylesetControlPositionsetControlssetDrawingModesetMapsetStyle

事件: addfeatureclickcontextmenudblclickmousedownmouseoutmouseovermouseupremovefeatureremovepropertysetgeometrysetpropertyrightclick

Data.DataOptions 介面

屬性: controlPositioncontrolsdrawingModefeatureFactorymapstyle

Data.GeoJsonOptions 介面

屬性:idPropertyName

Data.StyleOptions 介面

屬性: animationclickablecursordraggableeditablefillColorfillOpacityiconiconslabelopacityshapestrokeColorstrokeOpacitystrokeWeighttitlevisiblezIndex

Data.StylingFunction typedef
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

影像重疊

Maps 介面

屬性: altmaxZoomminZoomnameprojectionradiustileSize

方法: getTilereleaseTile

投影介面

方法: fromLatLngToPointfromPointToLatLng

ImageGeo 類別

屬性: altmaxZoomminZoomnameprojectionradiustileSize

方法: getOpacitygetTilereleaseTilesetOpacity

事件: tilesloaded

ImageGeoOptions 介面

屬性: altgetTileUrlmaxZoomminZoomnameopacitytileSize

GroundOverlay 類別

方法: getBoundsgetMapgetOpacitygetUrlsetMapsetOpacity

事件: clickdblclick

GroundOverlayOptions 介面

屬性: clickablemapopacity

StyledGeo 類別

屬性: altmaxZoomminZoomnameprojectionradiustileSize

方法: getTilereleaseTile

StyledGeoOptions 介面

屬性: altmaxZoomminZoomname

繪圖程式庫

DrawingManager 類別

方法: getDrawingModegetMapsetDrawingModesetMapsetOptions

事件: circlecompletemarkercompleteoverlaycompletepolygoncompletepolylinecompleterectanglecomplete

DrawingManagerOptions 介面

屬性: circleOptionsdrawingControldrawingControlOptionsdrawingModemapmarkerOptionspolygonOptionspolylineOptionsrectangleOptions

DrawingControlOptions 介面

屬性: drawingModesposition

OverlayCompleteEvent 介面

屬性: overlaytype

OverlayType 常數

常數: CIRCLEMARKERPOLYGONPOLYLINERECTANGLE

熱視圖

HeatmapLayer 類別

方法: getDatagetMapsetDatasetMapsetOptions

HeatmapLayerOptions 介面

屬性: datadissipatinggradientmapmaxIntensityopacityradius

WeightedLocation 介面

屬性: locationweight

最大縮放

MaxZoomService 類別

方法:getMaxZoomAtLatLng

MaxZoomResult 介面

屬性: statuszoom

MaxZoomStatus 常數

常數: ERROROK

街景服務

轉譯

StreetViewPanorama 類別

屬性:controls

方法: focusgetLinksgetLocationgetMotionTrackinggetPanogetPhotographerPovgetPositiongetPovgetStatusgetVisiblegetZoomregisterPanoProvidersetLinkssetMotionTrackingsetOptionssetPanosetPositionsetPovsetVisible

事件: closeclickpano_changedposition_changedpov_changedresizestatus_changedvisible_changedzoom_changed

StreetViewPanoramaOptions 介面

「{2/}」

StreetViewAddressControlOptions 介面

屬性:position

PanoProviderOptions 介面

屬性:cors

StreetViewTileData 介面

屬性: centerHeadingtileSizeworldSize

方法:getTileUrl

StreetViewPov 介面

屬性: headingpitch

StreetViewCoverageLayer 類別

方法: getMapsetMap

Service

StreetViewService 類別

方法:getPanorama

StreetViewStatus 常數

常數: OKUNKNOWN_ERRORZERO_RESULTS

StreetViewLocationRequest 介面

屬性: locationpreferenceradiussource

StreetViewPanoRequest 介面

屬性:pano

StreetViewResponse 介面

屬性:data

StreetViewLocation 介面

屬性: descriptionlatLngpanoshortDescription

StreetViewPreference 常數

常數: BESTNEAREST

StreetViewSource 常數

常數: DEFAULTOUTDOOR

StreetViewPanoramaData 介面

屬性: copyrightimageDatelinkslocationtiles

屬性: descriptionheadingpano

地點介面集

地點介面集小工具

自動完成類別

方法: getBoundsgetFieldsgetPlacesetBoundssetComponentRestrictionssetFieldssetOptionssetTypes

事件: place_changed

AutocompleteOptions 介面

屬性: boundscomponentRestrictionsfieldsstrictBoundstypesplaceIdOnly

方法: getBoundsgetPlacessetBounds

事件: places_changed

SearchBoxOptions 介面

屬性:bounds

地點介面集服務

PlacesService 類別

方法: findPlaceFromPhoneNumberfindPlaceFromQuerygetDetailsnearbySearchtextSearch

PlaceDetailsRequest 介面

屬性: fieldslanguageplaceIdregionsessionToken

FindPlaceFromPhoneNumberRequest 介面

屬性: fieldslanguagelocationBiasphoneNumber

FindPlaceFromQueryRequest 介面

屬性: fieldslanguagelocationBiasquery

PlaceSearchRequest 介面

屬性: boundskeywordlanguagelocationmaxPriceLevelminPriceLevelopenNowradiusrankBytypename

TextSearchRequest 介面

屬性: boundslanguagelocationqueryradiusregiontype

RankBy 常數

常數: DISTANCEPROMINENCE

LocationBias typedef
LocationRestriction typedef
PlacesServiceStatus 常數

常數: INVALID_REQUESTNOT_FOUNDOKOVER_QUERY_LIMITREQUEST_DENIEDUNKNOWN_ERRORZERO_RESULTS

PlaceSearchPagination 介面

屬性:hasNextPage

方法:nextPage

PlaceResult 介面

「{0/}」

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

Places Autocomplete 服務

AutocompleteService 類別

方法: getPlacePredictionsgetQueryPredictions

AutoAutocompleteRequest 介面

屬性: boundscomponentRestrictionsinputlanguagelocationoffsetoriginradiusregionsessionTokentypes

AutocompleteResponse 介面

屬性:predictions

QueryAutocompleteRequest 介面

屬性: boundsinputlocationoffsetradius

AutocompleteSessionToken 類別
ComponentRestrictions 介面

屬性:country

AutocompletePrediction 介面

屬性: descriptiondistance_metersmatched_substringsplace_idstructured_formattingtermstypes

QueryAutocompletePrediction 介面

屬性: descriptionmatched_substringsplace_idterms

PredictionTerm 介面

屬性: offsetvalue

PredictionSubstring 介面

屬性: lengthoffset

StructuredFormat 介面

屬性: main_textmain_text_matched_substringssecondary_text

地理編碼器

地理編碼類別

方法:geocode

GeocodingRequest 介面

屬性: addressboundscomponentRestrictions">languagelocationplaceIdregion

GeocodingComponentRestrictions 介面

屬性: administrativeAreacountrylocalitypostalCoderoute

GeocodingStatus 常數

常數: ERRORINVALID_REQUESTOKOVER_QUERY_LIMITREQUEST_DENIEDUNKNOWN_ERRORZERO_RESULTS

GeocodingResponse 介面

屬性:results

GeocodingResult 介面

屬性: address_componentsformatted_addressgeometrypartial_matchplace_idplus_codepostcode_localitiestypes

GeocodingAddressComponent 介面

屬性: long_nameshort_nametypes

GeocodingGeometry 介面

屬性: boundslocationlocation_typeviewport

GeocodingLocationType 常數

常數: APPROXIMATEGEOMETRIC_CENTERRANGE_INTERPOLATEDROOFTOP

路徑介面集

Directions

DirectionsService 類別

方法:route

DirectionsRequest 介面

屬性: avoidFerriesavoidHighwaysavoidTollsdestinationdrivingOptions">languageoptimizeWaypointsoriginprovideRouteAlternativesregiontransitOptionstravelModeunitSystemwaypoints

DirectionsStatus 常數

常數: INVALID_REQUESTMAX_WAYPOINTS_EXCEEDEDNOT_FOUNDOKOVER_QUERY_LIMITREQUEST_DENIEDUNKNOWN_ERRORZERO_RESULTS

DirectionsResult 介面

屬性: available_travel_modesgeocoded_waypointsroutes

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

DriveOptions 介面

屬性: 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 常數

Distance Matrix

DistanceMatrixService 類別

方法:getDistanceMatrix

DistanceMatrixRequest 介面

屬性: avoidFerriesavoidHighwaysavoidTollsdestinationsdrivingOptions">languageoriginsregiontransitOptionstravelModeunitSystem

DistanceMatrixResponse 介面

屬性: destinationAddressesoriginAddressesrows

DistanceMatrixResponseRow 介面

屬性:elements

DistanceMatrixResponseElement 介面

屬性: distancedurationduration_in_trafficfarestatus

DistanceMatrixStatus 常數

常數: INVALID_REQUESTMAX_DIMENSIONS_EXCEEDEDMAX_ELEMENTS_EXCEEDEDOKOVER_QUERY_LIMITREQUEST_DENIEDUNKNOWN_ERROR

DistanceMatrixElementStatus 常數

常數: NOT_FOUNDOKZERO_RESULTS

Elevation

ElevationService 類別

方法: getElevationAlongPathgetElevationForLocations

LocationElevationRequest 介面

屬性:locations

LocationElevationResponse 介面

屬性:results

PathElevationRequest 介面

屬性: pathsamples

PathElevationResponse 介面

屬性:results

ElevationResult 介面

屬性: elevationlocationresolution

ElevationStatus 常數

常數: INVALID_REQUESTOKOVER_QUERY_LIMITREQUEST_DENIEDUNKNOWN_ERROR

當地特色 (Beta 版)

地圖檢視

">LocalContextMapView 類別

屬性: directionsOptionselementisTransitioningMapBoundslocationBiaslocationRestrictionmaxPlaceCountplaceTypePreferences

方法: addListenerhidePlaceDetailsViewsearch

事件: errorplacedetailsviewhidestartplacedetailsviewshowstart

">LocalContextMapViewOptions 介面

屬性: directionsOptionselementlocationBiaslocationRestrictionmapmaxPlaceCountpinOptionsSetupplaceChooserViewSetupplaceDetailsViewSetupplaceTypePreferences

">PlaceTypePreference typedef
">MapDirectionsOptions 類別

方法:addListener

">MapDirectionsOptionsLiteral 介面

屬性:origin

">PinOptions 介面

屬性: backgroundglyphColorscale

PlaceChooserViewSetupOptions 介面

屬性: layoutModeposition

">PlaceChooserLayoutMode 常數

常數: HIDDENSHEET

">PlaceChooserPosition 常數

常數: BLOCK_ENDINLINE_ENDINLINE_START

PlaceDetailsViewSetupOptions 介面

屬性: hidesOnMapClicklayoutModeposition

">PlaceDetailsLayoutMode 常數

常數: INFO_WINDOWSHEET

">PlaceDetailsPosition 常數

常數: INLINE_ENDINLINE_START

旅程分享 (Beta 版)

地圖檢視

">JourneysharingMapView 類別

「{2/}」

">JourneysharingMapViewOptions 介面

屬性: anticipatedRoutePolylineSetupautomaticViewportModedestinationMarkerSetupelementlocationProvidermapOptionsoriginMarkerSetuppingMarkerSetupsuccessfulTaskMarkerSetuptakenRoutePolylineSetuptaskOutcomeMarkerSetupunsuccessfulTaskMarkerSetupvehicleMarkerSetupwaypointMarkerSetup

">AutomaticViewportMode 常數

常數: FIT_ANTICIPATED_ROUTENONE

">LocationProvider 抽象類別

方法:addListener

驗證機制

">AuthToken 介面

屬性: expiresInSecondstoken

">AuthTokenContext 介面

屬性: deliveryVehicleIdtaskIdtrackingIdtripIdvehicleId

">AuthTokenFetcher typedef
">AuthTokenFetcherOptions 介面

屬性: contextserviceType

">FleetEngineServiceType 常數

常數: DELIVERY_VEHICLE_SERVICETASK_SERVICETRIP_SERVICEUNKNOWN_SERVICE

UI 自訂

">PolylineSetup typedef
">PolylineSetupOptions 介面

屬性: polylineOptionsvisible

">DefaultPolylineSetupOptions 介面

屬性: defaultPolylineOptionsdefaultVisible

">MarkerSetup typedef
">MarkerSetupOptions 介面

屬性:markerOptions

">DefaultMarkerSetupOptions 介面

屬性:defaultMarkerOptions

機群引擎實體

">工作介面

屬性: estimatedCompletionTimelatestVehicleLocationUpdatenameoutcomeoutcomeLocationoutcomeLocationSourceoutcomeTimeplannedLocationremainingVehicleJourneySegmentsstatustrackingIdtypevehicleId

">行程介面

屬性: actualDropOffLocationactualPickupLocationdropOffTimelatestVehicleLocationUpdatenamepassengerCountpickupTimeplannedDropOffLocationplannedPickupLocationremainingWaypointsstatustypevehicleId

">DeliveryVehicle 介面

屬性: attributescurrentRouteSegmentEndPointlatestVehicleLocationUpdatenamenavigationStatusremainingDistanceMetersremainingDurationMillisremainingVehicleJourneySegments

">VehicleJourneySegment 介面

屬性: distanceMetersdurationMillisextraDurationMillislocationpath

">VehicleLocationUpdate 介面

屬性: headinglocationspeedKilometersPerHourtime

">VehicleWaypoint 介面

屬性: distanceMetersdurationMillislocationpath

行程和訂單進度

">FleetEngineTripLocationProvider 類別

屬性:tripId

方法:refresh

事件: errorupdate

">FleetEngineTripLocationProviderOptions

屬性: authTokenFetcherpollingIntervalMillisprojectIdtripId

">FleetEngineTripLocationProviderUpdateEvent 介面

屬性:trip

機群追蹤

">FleetEngineDeliveryVehicleLocationProvider 類別

屬性: deliveryVehicleIdshouldShowOutcomeLocationsshouldShowTasksstaleLocationThresholdMillistaskFilterOptions

事件: errorupdate

">FleetEngineDeliveryVehicleLocationProviderOptions

屬性: authTokenFetcherdeliveryVehicleIdpollingIntervalMillisprojectIdshouldShowOutcomeLocationsshouldShowTasksstaleLocationThresholdMillistaskFilterOptions

">FleetEngineTaskFilterOptions 介面

屬性: completionTimeFromcompletionTimeTostate

">FleetEngineDeliveryVehicleLocationProviderUpdateEvent 接口

屬性: completedVehicleJourneySegmentsdeliveryVehicletasks

">FleetEngineDeliveryFleetLocationProvider 類別

屬性: deliveryVehicleFilterlocationRestrictionpollingIntervalMillisstaleLocationThresholdMillis

事件: update

">FleetEngineDeliveryFleetLocationProviderOptions

屬性: authTokenFetcherdeliveryVehicleFilterlocationRestrictionprojectIdstaleLocationThresholdMillis

">FleetEngineDeliveryFleetLocationProviderUpdateEvent

屬性:deliveryVehicles

運送追蹤

">FleetEngineShipmentLocationProvider 類別

屬性:trackingId

方法: getTaskrefresh

事件: errorupdate

">FleetEngineShipmentLocationProviderOptions

屬性: authTokenFetcherpollingIntervalMillisprojectIdtrackingId

">FleetEngineShipmentLocationProviderUpdateEvent

屬性:task