上次更新時間:2022 年 7 月 21 日星期四
這是 Maps JavaScript API 3.49 版中所有類別、方法和介面的索引。
只要點選項目名稱,即可查看詳細的說明文件。
全域概念
google.maps
設定 (Beta 版)
">設定類別 -
靜態方法:
">getInstance
錯誤
- MapsNetworkError 類別
- MapsRequestError 類別
- MapsServerError 類別
- MapsNetworkErrorEndpoint 常數
-
常數:
DIRECTIONS_ROUTE
、DISTANCE_MATRIX
、ELEVATION_ALONG_PATH
、ELEVATION_LOCATIONS
、FLEET_ENGINE_GET_DELIVERY_VEHICLE
、FLEET_ENGINE_GET_TRIP
、FLEET_ENGINE_GET_VEHICLE
、FLEET_ENGINE_LIST_DELIVERY_VEHICLES
、FLEET_ENGINE_LIST_TASKS
、FLEET_ENGINE_LIST_VEHICLES
、FLEET_ENGINE_SEARCH_TASKS
、GEOCODER_GEOCODE
、MAPS_MAX_ZOOM
、PLACES_AUTOCOMPLETE
、PLACES_DETAILS
、PLACES_FIND_PLACE_FROM_PHONE_NUMBER
、PLACES_FIND_PLACE_FROM_QUERY
、PLACES_GATEWAY
、PLACES_LOCAL_CONTEXT_SEARCH
、PLACES_LOCAL_CONTEXT_SEARCH
、PLACES_LOCAL_CONTEXT_SEARCH
、PLACES_LOCAL_CONTEXT_SEARCH
、PLACES_LOCAL_CONTEXT_SEARCH
、
地圖
地圖
- 地圖類別
-
屬性:
controls
、data
、mapTypes
、overlayMapTypes
方法:
事件:
bounds_changed
,center_changed
,click
,contextmenu
,dblclick
,drag
,dragend
,dragstart
,heading_changed
,idle
,isfractionalzoomenabled_changed
,maptypeid_changed
,mousemove
,mouseout
,mouseover
,projection_changed
,renderingtype_changed
,tilesloaded
,tilt_changed
,tilt_changed
, - MapOptions 介面
-
- GeoStyle 介面
-
屬性:
elementType
、featureType
、stylers
- MapMouseEvent 介面
-
方法:
stop
- IconMouseEvent
-
屬性:
placeId
- GeoId 常數
- GeoRegistry 類別
-
方法:
set
- MapRestriction 介面
-
屬性:
latLngBounds
、strictBounds
- TrafficLayer 類別
-
方法:
getMap
、setMap
、setOptions
- TrafficLayerOptions 介面
-
屬性:
autoRefresh
、map
- TransitLayer 類別
- BicyclingLayer 類別
">CameraOptions 介面 - VisibleRegion 介面
-
屬性:
farLeft
、farRight
、latLngBounds
、nearLeft
、nearRight
- renderType 常數
-
常數:
RASTER
、UNINITIALIZED
、VECTOR
WebGL
- WebGLOverlayView 類別
-
方法:
getMap
、onAdd
、onContextLost
、onContextRestored
、onDraw
、onRemove
、onStateUpdate
、requestRedraw
、requestStateUpdate
、setMap
- WebGLDrawOptions 介面
-
屬性:
gl
、transformer
- WebGLStateOptions 介面
-
屬性:
gl
- CoordinateTransformer 介面
- CameraParams 介面
座標
- LatLng 類別
- LatLngLiteral 介面
- LatLngBounds 類別
-
方法:
contains
、equals
、extend
、getCenter
、getNorthEast
、getSouthWest
、intersects
、isEmpty
、toJSON
、toSpan
、toString
、toUrlValue
、union
- LatLngBoundsLiteral 介面
- LatLngAltitude 類別
- LatLngAltitudeLiteral 介面
- 點數類別
- 大小類別
- 邊框間距介面
- CircleLiteral 介面
資料導向樣式
">FeatureLayer 介面 ">FeatureType 常數 -
常數:
ADMINISTRATIVE_AREA_LEVEL_1
、ADMINISTRATIVE_AREA_LEVEL_2
、ADMINISTRATIVE_AREA_LEVEL_3
、ADMINISTRATIVE_AREA_LEVEL_4
、COUNTRY
、LOCALITY
、NEIGHBORHOOD
、POSTAL_CODE
、SUBLOCALITY_LEVEL_1
">FeatureStyleFunction typedef ">FeatureStyleFunctionOptions 介面 -
屬性:
">feature ">FeatureStyleOptions 介面 -
屬性:
、">fillColor
、">fillOpacity
、">strokeColor
、">strokeOpacity ">strokeWeight ">功能介面 ">PlaceFeature 介面 -
屬性:
、">displayName ">placeId ">FeatureMouseEvent 介面 -
屬性:
">features
事件系統
- 事件命名空間
-
靜態方法:
addListener
、addListenerOnce
、clearInstanceListeners
、clearListeners
、hasListeners
、removeListener
、trigger
、
、addDomListeneraddDomListenerOnce - MapsEventListener 介面
-
方法:
remove
- MVCObject 類別
-
方法:
addListener
、bindTo
、get
、notify
、set
、setValues
、unbind
、unbindAll
- MVCArray 類別
-
方法:
clear
、forEach
、getArray
、getAt
、getLength
、insertAt
、pop
、push
、removeAt
、setAt
- ErrorEvent 介面
-
屬性:
error
控制
- FullscreenControlOptions 介面
-
屬性:
position
- GeoControlOptions 介面
-
屬性:
mapTypeIds
、position
、style
- GeoControlStyle 常數
- MotionTrackingControlOptions 介面
-
屬性:
position
- PanControlOptions 介面
-
屬性:
position
- rotControlOptions 介面
-
屬性:
position
- ScaleControlOptions 介面
-
屬性:
style
- ScaleControlStyle 常數
-
常數:
DEFAULT
- StreetViewControlOptions 介面
-
屬性:
position
- ZoomControlOptions 介面
-
屬性:
position
- ControlPosition 常數
-
常數:
BOTTOM_CENTER
、BOTTOM_LEFT
、BOTTOM_RIGHT
、LEFT_BOTTOM
、LEFT_CENTER
、LEFT_TOP
、RIGHT_BOTTOM
、RIGHT_CENTER
、RIGHT_TOP
、TOP_CENTER
、TOP_LEFT
、TOP_RIGHT
幾何圖形程式庫
- 編碼命名空間
-
靜態方法:
decodePath
、encodePath
- 球體命名空間
-
靜態方法:
computeArea
、computeDistanceBetween
、computeHeading
、computeLength
、computeOffset
、computeOffsetOrigin
、computeSignedArea
和interpolate
- Poly 命名空間
在地圖上繪圖
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 介面
-
屬性:
anchorPoint
、animation
、clickable
、
、">collisionBehavior crossOnDrag
、cursor
、draggable
、icon
、label
、map
、opacity
、optimized
、position
、shape
、title
、visible
、zIndex
">CollisionBehavior 常數 -
常數:
OPTIONAL_AND_HIDES_LOWER_PRIORITY
、REQUIRED
、REQUIRED_AND_HIDES_OPTIONAL
- 圖示介面
-
屬性:
anchor
、labelOrigin
、origin
、scaledSize
、size
、url
- MarkerLabel 介面
-
屬性:
className
、color
、fontFamily
、fontSize
、fontWeight
、text
- MarkerShape 介面
- 符號介面
-
屬性:
anchor
、fillColor
、fillOpacity
、labelOrigin
、path
、rotation
、scale
、strokeColor
、strokeOpacity
、strokeWeight
- SymbolPath 常數
-
常數:
BACKWARD_CLOSED_ARROW
、BACKWARD_OPEN_ARROW
、CIRCLE
、FORWARD_CLOSED_ARROW
、FORWARD_OPEN_ARROW
- 動畫常數
資訊視窗
- InfoWindow 類別
-
方法:
close
、focus
、getContent
、getPosition
、getZIndex
、open
、setContent
、setOptions
、setPosition
、setZIndex
事件:
closeclick
、content_changed
、domready
、position_changed
、visible
、zindex_changed
- InfoWindowOptions 介面
-
屬性:
ariaLabel
、content
、disableAutoPan
、maxWidth
、minWidth
、pixelOffset
、position
、zIndex
- InfoWindowOpenOptions 介面
-
屬性:
anchor
、map
、shouldFocus
多邊形
- 折線類別
-
方法:
getDraggable
、getEditable
、getMap
、getPath
、getVisible
、setDraggable
、setEditable
、setMap
、setOptions
、setPath
、setVisible
事件:
click
、contextmenu
、dblclick
、drag
、dragend
、dragstart
、mousedown
、mousemove
、mouseout
、mouseover
、mouseup
、rightclick - PolylineOptions 介面
-
屬性:
clickable
、draggable
、editable
、geodesic
、icons
、map
、path
、strokeColor
、strokeOpacity
、strokeWeight
、visible
、zIndex
- IconSequence 介面
-
屬性:
fixedRotation
、icon
、offset
、repeat
- 多邊形類別
-
方法:
getDraggable
、getEditable
、getMap
、getPath
、getPaths
、getVisible
、setDraggable
、setEditable
、setMap
、setOptions
、setPath
、setPaths
、setVisible
事件:
click
、contextmenu
、dblclick
、drag
、dragend
、dragstart
、mousedown
、mousemove
、mouseout
、mouseover
、mouseup
、rightclick - PolygonOptions 介面
-
屬性:
clickable
、draggable
、editable
、fillColor
、fillOpacity
、geodesic
、map
、paths
、strokeColor
、strokeOpacity
、strokePosition
、strokeWeight
、visible
、zIndex
- PolyMouseEvent
- Rectangle 類別
-
方法:
getBounds
、getDraggable
、getEditable
、getMap
、getVisible
、setBounds
、setDraggable
、setEditable
、setMap
、setOptions
、setVisible
事件:
bounds_changed
、click
、contextmenu
、dblclick
、drag
、dragend
、dragstart
、mousedown
、mousemove
、mouseout
、mouseover
、mouseup
、rightclick - RectangleOptions 介面
-
屬性:
bounds
、clickable
、draggable
、editable
、fillColor
、fillOpacity
、map
、strokeColor
、strokeOpacity
、strokePosition
、strokeWeight
、visible
、zIndex
- 圓形課程
-
方法:
getBounds
、getCenter
、getDraggable
、getEditable
、getMap
、getRadius
、getVisible
、setCenter
、setDraggable
、setEditable
、setMap
、setOptions
、setRadius
、setVisible
事件:
center_changed
、click
、dblclick
、drag
、dragend
、dragstart
、mousedown
、mousemove
、mouseout
、mouseover
、mouseup
、radius_changed
、rightclick
- CircleOptions 介面
-
屬性:
center
、clickable
、draggable
、editable
、fillColor
、fillOpacity
、map
、radius
、strokeColor
、strokeOpacity
、strokePosition
、strokeWeight
、visible
、zIndex
- StrokePosition 常數
資料
- 資料類別
-
方法:
add
、addGeoJson
、contains
、forEach
、getControlPosition
、getControls
、getDrawingMode
、getFeatureById
、getMap
、getStyle
、loadGeoJson
、overrideStyle
、remove
、revertStyle
、setControlPosition
、setControls
、setDrawingMode
、setMap
、setStyle
、事件:
addfeature
、click
、contextmenu
、dblclick
、mousedown
、mouseout
、mouseover
、mouseup
、removefeature
、removeproperty
、setgeometry
、setproperty
、rightclick - Data.DataOptions 介面
-
屬性:
controlPosition
、controls
、drawingMode
、featureFactory
、map
、style
- Data.GeoJsonOptions 介面
- Data.StyleOptions 介面
-
屬性:
animation
、clickable
、cursor
、draggable
、editable
、fillColor
、fillOpacity
、icon
、icons
、label
、opacity
、shape
、strokeColor
、strokeOpacity
、strokeWeight
、title
、visible
、zIndex
- Data.StylingFunction typedef
- Data.Feature 類別
-
方法:
forEachProperty
、getGeometry
、getId
、getProperty
、removeProperty
、setGeometry
、setProperty
、toGeoJson
- Data.FeatureOptions 介面
-
屬性:
geometry
、id
、properties
- Data.Geometry 介面
- Data.Point 類別
-
方法:
forEachLatLng
、get
、getType
- Data.MultiPoint 類別
- Data.LineString 類別
- Data.MultiLineString 類別
- Data.LinearRing 類別
- Data.Polygon 類別
- Data.MultiPolygon 類別
- Data.GeometryCollection 類別
- Data.MouseEvent 介面
-
屬性:
feature
- Data.AddFeatureEvent 介面
-
屬性:
feature
- Data.RemoveFeatureEvent 介面
-
屬性:
feature
- Data.SetGeometryEvent 介面
-
屬性:
feature
、newGeometry
、oldGeometry
- Data.SetPropertyEvent 介面
- Data.RemovePropertyEvent 介面
DOM 元素
- OverlayView 類別
-
靜態方法:
preventMapHitsAndGesturesFrom
、preventMapHitsFrom
方法:
draw
、getMap
、getPanes
、getProjection
、onAdd
、onRemove
、setMap
- MapPanes 介面
-
屬性:
floatPane
、mapPane
、markerLayer
、overlayLayer
、overlayMouseTarget
- MapCanvasProjection 介面
-
方法:
fromContainerPixelToLatLng
、fromDivPixelToLatLng
、fromLatLngToContainerPixel
、fromLatLngToDivPixel
、getVisibleRegion
、getWorldWidth
KML
- KmlLayer 類別
-
方法:
getDefaultViewport
、getMap
、getMetadata
、getStatus
、getUrl
、getZIndex
、setMap
、setOptions
、setUrl
、setZIndex
- KmlLayerOptions 介面
-
屬性:
clickable
、map
、preserveViewport
、screenOverlays
、suppressInfoWindows
、url
、zIndex
- KmlLayerMetadata 介面
-
屬性:
author
、description
、hasScreenOverlays
、name
、snippet
- KmlLayerStatus 常數
-
常數:
DOCUMENT_NOT_FOUND
、DOCUMENT_TOO_LARGE
、FETCH_ERROR
、INVALID_DOCUMENT
、INVALID_REQUEST
、LIMITS_EXCEEDED
、OK
、TIMED_OUT
、UNKNOWN
- KmlMouseEvent
-
屬性:
featureData
、latLng
、pixelOffset
- KmlFeatureData 介面
-
屬性:
author
、description
、id
、infoWindowHtml
、name
、snippet
- KmlAuthor 介面
影像重疊
- 地圖類型
-
屬性:
alt
、maxZoom
、minZoom
、name
、projection
、radius
、tileSize
- 投影介面
- ImageGeo 類別
-
屬性:
alt
、maxZoom
、minZoom
、name
、projection
、radius
、tileSize
方法:
getOpacity
、getTile
、releaseTile
、setOpacity
事件:
tilesloaded
- ImageGeoOptions 介面
-
屬性:
alt
、getTileUrl
、maxZoom
、minZoom
、name
、opacity
、tileSize
- GroundOverlay 類別
-
方法:
getBounds
、getMap
、getOpacity
、getUrl
、setMap
、setOpacity
- GroundOverlayOptions 介面
- StyledGeo 類別
-
屬性:
alt
、maxZoom
、minZoom
、name
、projection
、radius
、tileSize
- StyledGeoOptions 介面
繪圖程式庫
- DrawingManager 類別
-
方法:
getDrawingMode
、getMap
、setDrawingMode
、setMap
、setOptions
事件:
circlecomplete
、markercomplete
、overlaycomplete
、polygoncomplete
、polylinecomplete
、rectanglecomplete
- DrawingManagerOptions 介面
-
屬性:
circleOptions
、drawingControl
、drawingControlOptions
、drawingMode
、map
、markerOptions
、polygonOptions
、polylineOptions
、rectangleOptions
- DrawingControlOptions 介面
-
屬性:
drawingModes
、position
- OverlayCompleteEvent 介面
- OverlayType 常數
熱視圖
- HeatmapLayer 類別
- HeatmapLayerOptions 介面
-
屬性:
data
、dissipating
、gradient
、map
、maxIntensity
、opacity
、radius
- WeightedLocation 介面
最大縮放
街景服務
轉譯
- StreetViewPanorama 類別
-
屬性:
controls
方法:
focus
、getLinks
、getLocation
、getMotionTracking
、getPano
、getPhotographerPov
、getPosition
、getPov
、getStatus
、getVisible
、getZoom
、registerPanoProvider
、setLinks
、setMotionTracking
、setOptions
、setPano
、setPosition
、setPov
、setVisible
、事件:
closeclick
、pano_changed
、position_changed
、pov_changed
、resize
、status_changed
、visible_changed
、zoom_changed
- StreetViewPanoramaOptions 介面
-
、
- StreetViewAddressControlOptions 介面
-
屬性:
position
- PanoProviderOptions 介面
-
屬性:
cors
- StreetViewTileData 介面
-
屬性:
centerHeading
、tileSize
、worldSize
方法:
getTileUrl
- StreetViewPov 介面
- StreetViewCoverageLayer 類別
Service
- StreetViewService 類別
-
方法:
getPanorama
- StreetViewStatus 常數
-
常數:
OK
、UNKNOWN_ERROR
、ZERO_RESULTS
- StreetViewLocationRequest 介面
-
屬性:
location
、preference
、radius
、source
- StreetViewPanoRequest 介面
-
屬性:
pano
- StreetViewResponse 介面
-
屬性:
data
- StreetViewLocation 介面
-
屬性:
description
、latLng
、pano
、shortDescription
- StreetViewPreference 常數
- StreetViewSource 常數
- StreetViewPanoramaData 介面
- StreetViewLink 介面
-
屬性:
description
、heading
、pano
地點介面集
地點介面集小工具
- 自動完成類別
-
方法:
getBounds
、getFields
、getPlace
、setBounds
、setComponentRestrictions
、setFields
、setOptions
、setTypes
事件:
place_changed
- AutocompleteOptions 介面
-
屬性:
bounds
、componentRestrictions
、fields
、strictBounds
、types
、placeIdOnly - SearchBox 類別
-
方法:
getBounds
、getPlaces
、setBounds
事件:
places_changed
- SearchBoxOptions 介面
-
屬性:
bounds
地點介面集服務
- PlacesService 類別
-
方法:
findPlaceFromPhoneNumber
、findPlaceFromQuery
、getDetails
、nearbySearch
、textSearch
- PlaceDetailsRequest 介面
-
屬性:
fields
、
、">language placeId
、
、">region sessionToken
- FindPlaceFromPhoneNumberRequest 介面
-
屬性:
fields
、
、">language locationBias
、phoneNumber
- FindPlaceFromQueryRequest 介面
-
屬性:
fields
、
、">language locationBias
、query
- PlaceSearchRequest 介面
-
屬性:
bounds
、keyword
、
、">language location
、maxPriceLevel
、minPriceLevel
、openNow
、radius
、rankBy
、type
、name - TextSearchRequest 介面
-
屬性:
bounds
、
、">language location
、query
、radius
、
、">region type
- RankBy 常數
-
常數:
DISTANCE
、PROMINENCE
- LocationBias typedef
- LocationRestriction typedef
- PlacesServiceStatus 常數
-
常數:
INVALID_REQUEST
、NOT_FOUND
、OK
、OVER_QUERY_LIMIT
、REQUEST_DENIED
、UNKNOWN_ERROR
、ZERO_RESULTS
- PlaceSearchPagination 介面
-
屬性:
hasNextPage
方法:
nextPage
- PlaceResult 介面
-
、
PlaceAspectRating 介面- BusinessStatus 常數
- PlaceGeometry 介面
- PlaceOpeningHours 介面
-
屬性:
periods
、weekday_text
、open_now方法:
isOpen
- PlaceOpeningHoursPeriod 介面
- PlaceOpeningHoursTime 介面
- PlacePlusCode 介面
-
屬性:
compound_code
、global_code
- PlacePhoto 介面
-
屬性:
height
、html_attributions
、width
方法:
getUrl
- PhotoOptions 介面
- PlaceReview 介面
-
屬性:
author_name
、author_url
、language
、profile_photo_url
、rating
、relative_time_description
、text
、time
、aspects
Places Autocomplete 服務
- AutocompleteService 類別
- AutoAutocompleteRequest 介面
-
屬性:
bounds
、componentRestrictions
、input
、
、">language location
、offset
、origin
、radius
、
、">region sessionToken
、types
- AutocompleteResponse 類別
-
屬性:
predictions
- QueryAutocompleteRequest 介面
- AutocompleteSessionToken 類別
- ComponentRestrictions 介面
-
屬性:
country
- AutocompletePrediction 介面
-
屬性:
description
、distance_meters
、matched_substrings
、place_id
、structured_formatting
、terms
、types
- QueryAutocompletePrediction 介面
- PredictionTerm 介面
- PredictionSubstring 介面
- StructuredFormat 介面
地理編碼器
- 地理編碼類別
-
方法:
geocode
- GeocodingRequest介面
-
屬性:
address
、bounds
、componentRestrictions
、location
、placeId
、region
- GeocodingComponentRestrictions 介面
-
屬性:
administrativeArea
、country
、locality
、postalCode
、route
- GeocodingStatus 常數
-
常數:
ERROR
、INVALID_REQUEST
、OK
、OVER_QUERY_LIMIT
、REQUEST_DENIED
、UNKNOWN_ERROR
、ZERO_RESULTS
- GeocodingResponse
-
屬性:
results
- GeocodingResult 介面
-
屬性:
address_components
、formatted_address
、geometry
、partial_match
、place_id
、plus_code
、postcode_localities
、types
- GeocodingAddressComponent 介面
-
屬性:
long_name
、short_name
、types
- GeocodingGeometry 介面
-
屬性:
bounds
、location
、location_type
、viewport
- GeocodingLocationType 常數
-
常數:
APPROXIMATE
、GEOMETRIC_CENTER
、RANGE_INTERPOLATED
、ROOFTOP
路徑介面集
Directions
- DirectionsService 類別
-
方法:
route
- DirectionsRequest 介面
-
屬性:
avoidFerries
、avoidHighways
、avoidTolls
、destination
、drivingOptions
、optimizeWaypoints
、origin
、provideRouteAlternatives
、region
、transitOptions
、travelMode
、unitSystem
、waypoints
- DirectionsStatus 常數
-
常數:
INVALID_REQUEST
、MAX_WAYPOINTS_EXCEEDED
、NOT_FOUND
、OK
、OVER_QUERY_LIMIT
、REQUEST_DENIED
、UNKNOWN_ERROR
、ZERO_RESULTS
- DirectionsResult 介面
- DirectionsRenderer 類別
-
方法:
getDirections
、getMap
、getPanel
、getRouteIndex
、setDirections
、setMap
、setOptions
、setPanel
、setRouteIndex
- DirectionsRendererOptions 介面
-
屬性:
directions
、draggable
、hideRouteList
、infoWindow
、map
、markerOptions
、panel
、polylineOptions
、preserveViewport
、routeIndex
、suppressBicyclingLayer
、suppressInfoWindows
、suppressMarkers
、suppressPolylines
- DirectionsWaypoint 介面
- DirectionsGeocodedWaypoint 介面
-
屬性:
partial_match
、place_id
、types
- DirectionsRoute 介面
-
屬性:
bounds
、copyrights
、fare
、legs
、overview_path
、overview_polyline
、summary
、warnings
、waypoint_order
- DirectionsLeg 介面
-
屬性:
arrival_time
、departure_time
、distance
、duration
、duration_in_traffic
、end_address
、end_location
、start_address
、start_location
、steps
、via_waypoints
、traffic_speed_entry - DirectionsStep 介面
-
屬性:
distance
、duration
、encoded_lat_lngs
、end_location
、instructions
、maneuver
、path
、start_location
、steps
、transit
、transit_details
、travel_mode
、
、start_point
、end_point
、lat_lngspolyline - DirectionsPolyline 介面
-
屬性:
points
- 地點介面
- TravelMode 常數
- DrivingOptions 介面
- TrafficModel 常數
-
常數:
BEST_GUESS
、OPTIMISTIC
、PESSIMISTIC
- TransitOptions 介面
- TransitMode 常數
- TransitRoutePreference 常數
- TransitFare 介面
- TransitDetails 介面
-
屬性:
arrival_stop
、arrival_time
、departure_stop
、departure_time
、headsign
、headway
、line
、num_stops
、trip_short_name
- TransitStop 介面
- TransitLine 介面
-
屬性:
agencies
、color
、icon
、name
、short_name
、text_color
、url
、vehicle
- TransitAgency 介面
- TransitVehicle 介面
-
屬性:
icon
、local_icon
、name
、type
- VehicleType 常數
-
常數:
BUS
、CABLE_CAR
、COMMUTER_TRAIN
、FERRY
、FUNICULAR
、GONDOLA_LIFT
、HEAVY_RAIL
、HIGH_SPEED_TRAIN
、INTERCITY_BUS
、METRO_RAIL
、MONORAIL
、OTHER
、RAIL
、SHARE_TAXI
、SUBWAY
、TRAM
、TROLLEYBUS
- UnitSystem 常數
- 距離介面
- 時間長度介面
- 時間介面
Distance Matrix
- DistanceMatrixService 類別
- DistanceMatrixRequest 介面
-
屬性:
avoidFerries
、avoidHighways
、avoidTolls
、destinations
、drivingOptions
、origins
、region
、transitOptions
、travelMode
、unitSystem
- DistanceMatrixResponse 介面
- DistanceMatrixResponseRow 介面
-
屬性:
elements
- DistanceMatrixResponseElement 介面
-
屬性:
distance
、duration
、duration_in_traffic
、fare
、status
- DistanceMatrixStatus 常數
-
常數:
INVALID_REQUEST
、MAX_DIMENSIONS_EXCEEDED
、MAX_ELEMENTS_EXCEEDED
、OK
、OVER_QUERY_LIMIT
、REQUEST_DENIED
、UNKNOWN_ERROR
- DistanceMatrixElementStatus 常數
-
常數:
NOT_FOUND
、OK
、ZERO_RESULTS
Elevation
- ElevationService 類別
- LocationElevationRequest 介面
-
屬性:
locations
- LocationElevationResponse 介面
-
屬性:
results
- PathElevationRequest 介面
- PathElevationResponse 介面
-
屬性:
results
- ElevationResult 介面
-
屬性:
elevation
、location
、resolution
- ElevationStatus 常數
-
常數:
INVALID_REQUEST
、OK
、OVER_QUERY_LIMIT
、REQUEST_DENIED
、UNKNOWN_ERROR
當地特色 (Beta 版)
地圖檢視
- LocalContextMapView 類別
-
屬性:
directionsOptions
、element
、isTransitioningMapBounds
、locationBias
、locationRestriction
、maxPlaceCount
、placeTypePreferences
方法:
addListener
、hidePlaceDetailsView
、search
事件:
error
、placedetailsviewhidestart
、placedetailsviewshowstart
- LocalContextMapViewOptions 介面
-
屬性:
directionsOptions
、element
、locationBias
、locationRestriction
、map
、maxPlaceCount
、pinOptionsSetup
、placeChooserViewSetup
、placeDetailsViewSetup
、placeTypePreferences
- PlaceTypePreference typedef
- MapDirectionsOptions 類別
-
方法:
addListener
- MapDirectionsOptionsLiteral 介面
-
屬性:
origin
- PinOptions 介面
-
屬性:
background
、glyphColor
、scale
- PlaceChooserViewSetupOptions 介面
-
屬性:
layoutMode
、position
- PlaceChooserLayoutMode 常數
- PlaceChooserPosition 常數
-
常數:
BLOCK_END
、INLINE_END
、INLINE_START
- PlaceDetailsViewSetupOptions 介面
- PlaceDetailsLayoutMode 常數
-
常數:
INFO_WINDOW
、SHEET
- PlaceDetailsPosition 常數
-
常數:
INLINE_END
、INLINE_START
旅程分享 (Beta 版)
地圖檢視
">JourneysharingMapView 類別 -
、
">JourneysharingMapViewOptions 介面 -
屬性:
anticipatedRoutePolylineSetup
、automaticViewportMode
、destinationMarkerSetup
、element
、locationProvider
、mapOptions
、originMarkerSetup
、pingMarkerSetup
、successfulTaskMarkerSetup
、takenRoutePolylineSetup
、taskOutcomeMarkerSetup
、unsuccessfulTaskMarkerSetup
、vehicleMarkerSetup
、waypointMarkerSetup
">AutomaticViewportMode 常數 ">LocationProvider 類別 -
方法:
addListener
驗證
">AuthToken 介面 -
屬性:
expiresInSeconds
、token
">AuthTokenContext 介面 -
屬性:
deliveryVehicleId
、taskId
、trackingId
、tripId
、vehicleId
">AuthTokenFetcher typedef ">AuthTokenFetcherOptions 介面 -
屬性:
context
、serviceType
">FleetEngineServiceType 常數 -
常數:
DELIVERY_VEHICLE_SERVICE
、TASK_SERVICE
、TRIP_SERVICE
、UNKNOWN_SERVICE
自訂 UI
">PolylineSetup typedef ">PolylineSetupOptions 介面 -
屬性:
polylineOptions
、visible
">DefaultPolylineSetupOptions 介面 ">MarkerSetup typedef ">MarkerSetupOptions 介面 ">DefaultMarkerSetupOptions 介面
機群引擎實體
">工作介面 -
屬性:
estimatedCompletionTime
、latestVehicleLocationUpdate
、name
、outcome
、outcomeLocation
、outcomeLocationSource
、outcomeTime
、plannedLocation
、remainingVehicleJourneySegments
、status
、trackingId
、type
、vehicleId
">行程介面 -
屬性:
actualDropOffLocation
、actualPickupLocation
、dropOffTime
、latestVehicleLocationUpdate
、name
、passengerCount
、pickupTime
、plannedDropOffLocation
、plannedPickupLocation
、remainingWaypoints
、status
、type
、vehicleId
">DeliveryVehicle 介面 -
屬性:
currentRouteSegmentEndPoint
、latestVehicleLocationUpdate
、name
、navigationStatus
、remainingDistanceMeters
、remainingDurationMillis
、remainingVehicleJourneySegments
">VehicleJourneySegment 介面 -
屬性:
distanceMeters
、durationMillis
、extraDurationMillis
、location
、path
">VehicleLocationUpdate 介面 ">VehicleWaypoint 介面 -
屬性:
distanceMeters
、durationMillis
、location
、path
行程和訂單進度
">FleetEngineTripLocationProvider 類別 -
屬性:
tripId
方法:
refresh
">FleetEngineTripLocationProviderOptions -
屬性:
authTokenFetcher
、pollingIntervalMillis
、projectId
、tripId
">FleetEngineTripLocationProviderUpdateEvent 介面 -
屬性:
trip
機群追蹤
">FleetEngineDeliveryVehicleLocationProvider 類別 -
屬性:
deliveryVehicleId
、shouldShowOutcomeLocations
、shouldShowTasks
、staleLocationThresholdMillis
、taskFilterOptions
">FleetEngineDeliveryVehicleLocationProviderOptions -
屬性:
authTokenFetcher
、deliveryVehicleId
、pollingIntervalMillis
、projectId
、shouldShowOutcomeLocations
、shouldShowTasks
、staleLocationThresholdMillis
、taskFilterOptions
">FleetEngineDeliveryVehicleFilterOptions 介面 ">FleetEngineTaskFilterOptions 介面 ">FleetEngineDeliveryVehicleLocationProviderUpdateEvent 介面 ">FleetEngineDeliveryFleetLocationProvider 類別 -
屬性:
deliveryVehicleFilterOptions
、locationRestriction
、pollingIntervalMillis
、staleLocationThresholdMillis
事件:
update
">FleetEngineDeliveryFleetLocationProviderOptions -
屬性:
authTokenFetcher
、deliveryVehicleFilterOptions
、locationRestriction
、projectId
、staleLocationThresholdMillis
">FleetEngineDeliveryFleetLocationProviderUpdateEvent