Google Maps JavaScript API V3 Reference

透過集合功能整理內容 你可以依據偏好儲存及分類內容。

上次更新日期:2022 年 9 月 30 日,星期五

這是 Maps JavaScript API 3.50 版 (每週頻道) 中所有類別、方法和介面的索引。這個 API 會隨時更新 API 的最新異動。

詳情請參閱版本資訊版本管理
另請參閱 3.49 版 (季度管道)、3.48 版 3.47 版的參考說明文件。

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

全球構想

google.maps

google.maps 命名空間

常數:version

設定 (Beta 版)

Beta 版設定類別

靜態方法: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_LOCAL_CONTEXT_SEARCHPLACES_LOCAL_CONTEXT_SEARCHPLACES_LOCAL_CONTEXT_SEARCHPLACES_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, Betamapcapabilities_changed, maptypeid_changed, mousemove, mouseout, mouseover, projection_changed, renderingtype_changed,maptypeid_changed,tilesloaded,tilesloaded,tilesloaded,tilesloaded,

MapOptions 介面

GeoStyle 介面

屬性: elementTypefeatureTypestylers

MapMouseEvent 介面

屬性: domEventlatLng

方法:stop

IconMouseEvent

屬性:placeId

GeoId 常數

常數: HYBRIDROADMAPSATELLITETERRAIN

GeoRegistry 類別

方法:set

MapRestriction 介面

屬性: latLngBoundsstrictBounds

TrafficLayer 類別

方法: getMapsetMapsetOptions

TrafficLayerOptions 介面

屬性: autoRefreshmap

TransitLayer 類別

方法:getMapsetMap

BicyclingLayer 類別

方法:getMapsetMap

Beta 版CameraOptions 介面

屬性: centerheadingtiltzoom

VisibleRegion 介面

屬性: farLeftfarRightlatLngBoundsnearLeftnearRight

renderType 常數

常數: RASTERUNINITIALIZEDVECTOR

Beta 版MapCapility 介面

屬性: BetaisAdvancedMarkersAvailableBetaisDataDrivenStylingAvailable

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

Beta 版FeatureLayer 介面

屬性: BetafeatureTypeBetaisAvailableBetastyle

方法:BetaaddListener

Beta 版FeatureType 常數

常數: ADMINISTRATIVE_AREA_LEVEL_1ADMINISTRATIVE_AREA_LEVEL_2ADMINISTRATIVE_AREA_LEVEL_3ADMINISTRATIVE_AREA_LEVEL_4COUNTRYLOCALITYNEIGHBORHOODPOSTAL_CODESUBLOCALITY_LEVEL_1

Beta 版FeatureStyleFunction typedef
Beta 版FeatureStyleFunctionOptions 介面

屬性:Betafeature

Beta 版FeatureStyleOptions 介面

屬性: BetafillColorBetafillOpacityBetastrokeColorBetastrokeOpacityBetastrokeWeight

Beta 版功能介面

屬性:BetafeatureType

Beta 版PlaceFeature 介面

屬性: BetadisplayNameBetaplaceId

Beta 版FeatureMouseEvent 介面

屬性:Betafeatures

控制

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

標記類別

方法:將試用

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

MarkerOptions 介面

屬性: anchorPointanimationclickableBetacollisionBehaviorcrossOnDragcursordraggableiconlabelmapopacityoptimizedpositionshapetitlevisiblezIndex

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

Beta 版AdvancedMarkerView 類別

屬性: collisionBehaviorcontentdraggableelementmappositiontitlezIndex

方法:addListener

事件: clickdragdragenddragstart

Beta 版AdvancedMarkerViewOptions 介面

屬性: collisionBehaviorcontentdraggableelementmappositiontitlezIndex

Beta 版PinView 類別

屬性: backgroundborderColorelementglyphglyphColorscale

方法:addListener

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

影像重疊

地圖類型

屬性: 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 介面

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 介面

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介面

屬性: addressboundscomponentRestrictionsBetalanguagelocationplaceIdregion

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 介面

屬性: avoidFerriesavoidHighwaysavoidTollsdestinationdrivingOptionsBetalanguageoptimizeWaypointsoriginprovideRouteAlternativesregiontransitOptionstravelModeunitSystemwaypoints

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

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 常數

Distance Matrix

DistanceMatrixService 類別

方法:getDistanceMatrix

DistanceMatrixRequest 介面

屬性: avoidFerriesavoidHighwaysavoidTollsdestinationsdrivingOptionsBetalanguageoriginsregiontransitOptionstravelModeunitSystem

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

地圖檢視

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

歷程分享 (Beta 版)

地圖檢視

Beta 版JourneysharingMapView 類別

Beta 版JourneysharingMapViewOptions 介面

屬性: anticipatedRoutePolylineSetupautomaticViewportModedestinationMarkerSetupelementlocationProvidermapOptionsoriginMarkerSetuppingMarkerSetupsuccessfulTaskMarkerSetuptakenRoutePolylineSetuptaskOutcomeMarkerSetupunsuccessfulTaskMarkerSetupvehicleMarkerSetupwaypointMarkerSetup

Beta 版AutomaticViewportMode 常數

常數: FIT_ANTICIPATED_ROUTENONE

Beta 版LocationProvider 抽象類別

方法:addListener

驗證

Beta 版AuthToken 介面

屬性: expiresInSecondstoken

Beta 版AuthTokenContext 介面

屬性: deliveryVehicleIdtaskIdtrackingIdtripIdvehicleId

Beta 版AuthTokenFetcher typedef
Beta 版AuthTokenFetcherOptions 介面

屬性: contextserviceType

Beta 版FleetEngineServiceType 常數

常數: DELIVERY_VEHICLE_SERVICETASK_SERVICETRIP_SERVICEUNKNOWN_SERVICE

自訂 UI

Beta 版PolylineSetup typedef
Beta 版PolylineSetupOptions 介面

屬性: polylineOptionsvisible

Beta 版DefaultPolylineSetupOptions 介面

屬性: defaultPolylineOptionsdefaultVisible

Beta 版MarkerSetup typedef
Beta 版MarkerSetupOptions 介面

屬性:markerOptions

Beta 版DefaultMarkerSetupOptions 介面

屬性:defaultMarkerOptions

機群引擎實體

Beta 版工作介面

屬性: estimatedCompletionTimelatestVehicleLocationUpdatenameoutcomeoutcomeLocationoutcomeLocationSourceoutcomeTimeplannedLocationremainingVehicleJourneySegmentsstatustrackingIdtypevehicleId

Beta 版行程介面

屬性: actualDropOffLocationactualPickupLocationdropOffTimelatestVehicleLocationUpdatenamepassengerCountpickupTimeplannedDropOffLocationplannedPickupLocationremainingWaypointsstatustypevehicleId

Beta 版DeliveryVehicle 介面

屬性: attributescurrentRouteSegmentEndPointlatestVehicleLocationUpdatenamenavigationStatusremainingDistanceMetersremainingDurationMillisremainingVehicleJourneySegments

Beta 版VehicleJourneySegment 介面

屬性: distanceMetersdurationMillisextraDurationMillislocationpath

Beta 版VehicleLocationUpdate 介面

屬性: headinglocationspeedKilometersPerHourtime

Beta 版VehicleWaypoint 介面

屬性: distanceMetersdurationMillislocationpath

行程和訂單進度

Beta 版FleetEngineTripLocationProvider 類別

屬性:tripId

方法:refresh

事件: errorupdate

Beta 版FleetEngineTripLocationProviderOptions

屬性: authTokenFetcherpollingIntervalMillisprojectIdtripId

Beta 版FleetEngineTripLocationProviderUpdateEvent 介面

屬性:trip

機群追蹤

Beta 版FleetEngineDeliveryVehicleLocationProvider 類別

屬性: deliveryVehicleIdshouldShowOutcomeLocationsshouldShowTasksstaleLocationThresholdMillistaskFilterOptions

事件: errorupdate

Beta 版FleetEngineDeliveryVehicleLocationProviderOptions

屬性: authTokenFetcherdeliveryVehicleIdpollingIntervalMillisprojectIdshouldShowOutcomeLocationsshouldShowTasksstaleLocationThresholdMillistaskFilterOptions

Beta 版FleetEngineTaskFilterOptions 介面

屬性: completionTimeFromcompletionTimeTostate

Beta 版FleetEngineDeliveryVehicleLocationProviderUpdateEvent 介面

屬性: completedVehicleJourneySegmentsdeliveryVehicletasks

Beta 版FleetEngineDeliveryFleetLocationProvider 類別

屬性: deliveryVehicleFilterlocationRestrictionpollingIntervalMillisstaleLocationThresholdMillis

事件: update

Beta 版FleetEngineDeliveryFleetLocationProviderOptions

屬性: authTokenFetcherdeliveryVehicleFilterlocationRestrictionprojectIdstaleLocationThresholdMillis

Beta 版FleetEngineDeliveryFleetLocationProviderUpdateEvent 介面

屬性:deliveryVehicles

運送追蹤

Beta 版FleetEngineShipmentLocationProvider 類別

屬性:trackingId

方法:getTaskrefresh

事件: errorupdate

Beta 版FleetEngineShipmentLocationProviderOptions

屬性: authTokenFetcherpollingIntervalMillisprojectIdtrackingId

Beta 版FleetEngineShipmentLocationProviderUpdateEvent 介面

屬性:task