上次更新時間:2023 年 11 月 14 日星期二
這是 Maps JavaScript API 3.55 版 (每週版本) 中所有類別、方法和介面的索引。本參考文件內含 API 的最新變更。
按一下任何項目的名稱,即可查看詳細說明。
全域概念
google.maps
- google.maps 命名空間
-
靜態方法:
importLibrary
常數:
version
- CoreLibrary 介面
-
屬性:
ControlPosition
、event
、LatLng
、LatLngAltitude
、LatLngBounds
、MapsNetworkError
、MapsNetworkErrorEndpoint
、MapsRequestError
、MapsServerError
、MVCArray
、MVCObject
、Point
、Settings
、Size
、SymbolPath
、UnitSystem
- MapsLibrary 介面
-
屬性:
BicyclingLayer
、Circle
、Data
、FeatureType
、GroundOverlay
、ImageMapType
、InfoWindow
、KmlLayer
、KmlLayerStatus
、Map
、MapTypeControlStyle
、MapTypeId
、MapTypeRegistry
、MaxZoomService
、MaxZoomStatus
、OverlayView
,Polygon
,Rectangle
,Polyline
,Rectangle
}RenderingType
StrokePosition
StyledMapType
TrafficLayer
TransitLayer
WebGLOverlayView
ZoomChangeEvent
- PlacesLibrary 介面
-
屬性:
AddressComponent
、Attribution
、AuthorAttribution
、Autocomplete
、AutocompleteService
、AutocompleteSessionToken
、BusinessStatus
、OpeningHours
、OpeningHoursPeriod
、OpeningHoursPoint
、Photo
、Place
、PlacesService
、PlacesServiceStatus
、PlusCode
、PriceLevel
、RankBy
、Review
、SearchBox
- GeocodingLibrary 介面
- RoutesLibrary 介面
-
屬性:
DirectionsRenderer
、DirectionsService
、DirectionsStatus
、DistanceMatrixElementStatus
、DistanceMatrixService
、DistanceMatrixStatus
、TrafficModel
、TransitMode
、TransitRoutePreference
、TravelMode
、VehicleType
- MarkerLibrary 介面
-
屬性:
AdvancedMarkerClickEvent
、AdvancedMarkerElement
、Animation
、CollisionBehavior
、Marker
、PinElement
- GeometryLibrary 介面
- ElevationLibrary 介面
- StreetViewLibrary 介面
-
屬性:
InfoWindow
、OverlayView
、StreetViewCoverageLayer
、StreetViewPanorama
、StreetViewPreference
、StreetViewService
、StreetViewSource
、StreetViewStatus
- JourneyShareLibrary 介面
-
屬性:
AutomaticViewportMode
、DeliveryVehicleStopState
、FleetEngineDeliveryFleetLocationProvider
、FleetEngineDeliveryVehicleLocationProvider
、FleetEngineFleetLocationProvider
、FleetEngineServiceType
、FleetEngineShipmentLocationProvider
、FleetEngineTripLocationProvider
、FleetEngineVehicleLocationProvider
、JourneySharingMapView
、TripType
、VehicleNavigationStatus
、VehicleState
、VehicleType
、WaypointType
- DrawingLibrary 介面
- VisualizationLibrary 介面
-
屬性:
HeatmapLayer
設定 (Beta 版)
設定類別
-
靜態方法:
getInstance
屬性:
experienceIds
事件系統
- 事件類別
-
靜態方法:
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
錯誤
- 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_NEARBY_SEARCH
STREETVIEW_GET_PANORAMA
地圖
地圖介面集
- 地圖類別
-
屬性:
controls
、data
、mapTypes
、overlayMapTypes
方法:
fitBounds
、getBounds
、getCenter
、getClickableIcons
、
、getDatasetFeatureLayer
getDiv
、getFeatureLayer
、getHeading
、getMapCapabilities
、getMapTypeId
、getProjection
、getRenderingType
、getStreetView
、getTilt
、getZoom
、moveCamera
、panBy
、panTo
、panToBounds
setCenter
setClickableIcons
setHeading
setMapTypeId
setOptions
setStreetView
setTilt
setZoom
常數:
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
、tilesloaded
、renderingtype_changed
tilt_changed
zoom_changed
rightclick - MapOptions 介面
-
屬性:
backgroundColor
、center
、clickableIcons
、controlSize
、disableDefaultUI
、disableDoubleClickZoom
、draggableCursor
、draggingCursor
、fullscreenControl
、fullscreenControlOptions
、gestureHandling
、heading
、isFractionalZoomEnabled
、keyboardShortcuts
、mapId
、mapTypeControl
、mapTypeControlOptions
、mapTypeId
、maxZoom
minZoom
noClear
restriction
rotateControl
rotateControlOptions
scaleControl
scaleControlOptions
scrollwheel
streetView
streetViewControl
streetViewControlOptions
styles
tilt
zoom
zoomControl
zoomControlOptions
draggablepanControlpanControlOptions MapElement 類別
-
屬性:
center
、innerMap
、mapId
、zoom
方法:
、addEventListener
removeEventListener
事件:
gmp-zoomchange
MapElementOptions 介面
ZoomChangeEvent 類別
- MapTypeStyle 介面
- MapMouseEvent 介面
-
方法:
stop
- IconMouseEvent 介面
-
屬性:
placeId
- MapTypeId 常數
- MapTypeRegistry 類別
-
方法:
set
- MapRestriction 介面
-
屬性:
latLngBounds
、strictBounds
- TrafficLayer 類別
- TrafficLayerOptions 介面
-
屬性:
autoRefresh
、map
- TransitLayer 類別
- BicyclingLayer 類別
CameraOptions 介面
- 可見區域介面
-
屬性:
farLeft
、farRight
、latLngBounds
、nearLeft
、nearRight
- RenderingType 常數
- MapCapabilities 介面
-
屬性:
isAdvancedMarkersAvailable
、isDataDrivenStylingAvailable
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
常數:
MAX_BOUNDS
- LatLngBoundsLiteral 介面
- LatLngAltitude 類別
- LatLngAltitudeLiteral 介面
- 分數類別
- 大小類別
- 邊框間距介面
- CircleLiteral 介面
資料導向樣式
- FeatureLayer 介面
-
屬性:
、datasetId
featureType
、isAvailable
、style
方法:
addListener
- FeatureType 常數
-
常數:
ADMINISTRATIVE_AREA_LEVEL_1
、ADMINISTRATIVE_AREA_LEVEL_2
、COUNTRY
、
、DATASET
LOCALITY
、POSTAL_CODE
、SCHOOL_DISTRICT
- FeatureStyleFunction typedef
- FeatureStyleFunctionOptions 介面
-
屬性:
feature
- FeatureStyleOptions 介面
-
屬性:
fillColor
、fillOpacity
、strokeColor
、strokeOpacity
、strokeWeight
- 功能介面
-
屬性:
featureType
- PlaceFeature 介面
-
屬性:
placeId
方法:
fetchPlace
DatasetFeature 介面
- FeatureMouseEvent 介面
-
屬性:
features
控制項
- FullscreenControlOptions 介面
-
屬性:
position
- MapTypeControlOptions 介面
-
屬性:
mapTypeIds
、position
、style
- MapTypeControlStyle 常數
- MotionTrackingControlOptions 介面
-
屬性:
position
- PanControlOptions 介面
-
屬性:
position
- RotateControlOptions 介面
-
屬性:
position
- ScaleControlOptions 介面
-
屬性:
style
- ScaleControlStyle 常數
-
常數:
DEFAULT
- StreetViewControlOptions 介面
- ZoomControlOptions 介面
-
屬性:
position
- ControlPosition 常數
-
常數:
BLOCK_END_INLINE_CENTER
、BLOCK_END_INLINE_END
、BLOCK_END_INLINE_START
、BLOCK_START_INLINE_CENTER
、BLOCK_START_INLINE_END
、BLOCK_START_INLINE_START
、BOTTOM_CENTER
、BOTTOM_LEFT
、BOTTOM_RIGHT
、INLINE_END_BLOCK_CENTER
、INLINE_END_BLOCK_END
、INLINE_END_BLOCK_START
、INLINE_START_BLOCK_CENTER
、INLINE_START_BLOCK_END
、INLINE_START_BLOCK_START
、LEFT_BOTTOM
、LEFT_CENTER
、LEFT_TOP
、RIGHT_BOTTOM
RIGHT_CENTER
RIGHT_TOP
TOP_CENTER
TOP_LEFT
TOP_RIGHT
幾何圖形程式庫
- 編碼命名空間
-
靜態方法:
decodePath
、encodePath
- 球面命名空間
-
靜態方法:
computeArea
、computeDistanceBetween
、computeHeading
、computeLength
、computeOffset
、computeOffsetOrigin
、computeSignedArea
、interpolate
- Poly 命名空間
在地圖上繪圖
Marker
- Marker 類別
-
方法:
getAnimation
、getClickable
、getCursor
、getDraggable
、getIcon
、getLabel
、getMap
、getOpacity
、getPosition
、getShape
、getTitle
、getVisible
、getZIndex
、setAnimation
、setClickable
、setCursor
、setDraggable
、setIcon
、setLabel
setMap
setOpacity
setOptions
setPosition
setShape
setTitle
setVisible
setZIndex
常數:
MAX_ZINDEX
事件:
animation_changed
、click
、clickable_changed
、contextmenu
、cursor_changed
、dblclick
、drag
、dragend
、draggable_changed
、dragstart
、flat_changed
、icon_changed
、mousedown
、mouseout
、mouseover
、mouseup
、position_changed
、title_changed
、shape_changed
visible_changed
zindex_changed
rightclick - MarkerOptions 介面
-
屬性:
anchorPoint
、animation
、clickable
、crossOnDrag
、cursor
、draggable
、icon
、label
、map
、opacity
、optimized
、position
、shape
、title
、visible
、zIndex
、collisionBehavior
- 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
- 動畫常數
進階標記
- AdvancedMarkerElement 類別
-
屬性:
collisionBehavior
、content
、element
、gmpDraggable
、map
、position
、title
、zIndex
- AdvancedMarkerElementOptions 介面
-
屬性:
collisionBehavior
、content
、gmpDraggable
、map
、position
、title
、zIndex
AdvancedMarkerClickEvent 類別
- PinElement 類別
-
屬性:
background
、borderColor
、element
、glyph
、glyphColor
、scale
- PinElementOptions 介面
-
屬性:
background
、borderColor
、glyph
、glyphColor
、scale
資訊視窗
- 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 介面
- Polygon 類別
-
方法:
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
toGeoJson
事件:
addfeature
、click
、contextmenu
、dblclick
、mousedown
、mouseout
、mouseover
、mouseup
、removefeature
、removeproperty
、setgeometry
、setproperty
、rightclick - Data.DataOptions 介面
-
屬性:
controlPosition
、controls
、drawingMode
、featureFactory
、map
、style
- Data.GeoJsonOptions 介面
-
屬性:
idPropertyName
- 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 類別
- 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 介面
- Data.SetPropertyEvent 介面
- Data.RemovePropertyEvent 介面
DOM 元素
- OverlayView 類別
- 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 介面
- KmlFeatureData 介面
-
屬性:
author
、description
、id
、infoWindowHtml
、name
、snippet
- KmlAuthor 介面
圖片重疊
- MapType 介面
-
屬性:
alt
、maxZoom
、minZoom
、name
、projection
、radius
、tileSize
- 投影介面
- ImageMapType 類別
-
屬性:
alt
、maxZoom
、minZoom
、name
、projection
、radius
、tileSize
方法:
getOpacity
、getTile
、releaseTile
、setOpacity
事件:
tilesloaded
- ImageMapTypeOptions 介面
-
屬性:
alt
、getTileUrl
、maxZoom
、minZoom
、name
、opacity
、tileSize
- GroundOverlay 類別
- GroundOverlayOptions 介面
- StyledMapType 類別
-
屬性:
alt
、maxZoom
、minZoom
、name
、projection
、radius
、tileSize
- StyledMapTypeOptions 介面
繪圖程式庫
- 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
setZoom
事件:
closeclick
、pano_changed
、position_changed
、pov_changed
、resize
、status_changed
、visible_changed
、zoom_changed
- StreetViewPanoramaOptions 介面
-
屬性:
addressControl
、addressControlOptions
、clickToGo
、controlSize
、disableDefaultUI
、disableDoubleClickZoom
、enableCloseButton
、fullscreenControl
、fullscreenControlOptions
、imageDateControl
、linksControl
、motionTracking
、motionTrackingControl
、motionTrackingControlOptions
、panControl
、panControlOptions
、pano
、position
、pov
}scrollwheel
showRoadLabels
visible
zoom
zoomControl
zoomControlOptions
- StreetViewAddressControlOptions 介面
-
屬性:
position
- PanoProviderOptions 介面
-
屬性:
cors
- StreetViewTileData 介面
-
屬性:
centerHeading
、tileSize
、worldSize
方法:
getTileUrl
- StreetViewPov 介面
- StreetViewCoverageLayer 類別
Service
- StreetViewService 類別
-
方法:
getPanorama
- StreetViewStatus 常數
- StreetViewLocationRequest 介面
-
屬性:
location
、preference
、radius
、sources
、source - StreetViewPanoRequest 介面
-
屬性:
pano
- StreetViewResponse 介面
-
屬性:
data
- StreetViewLocation 介面
- StreetViewPreference 常數
- StreetViewSource 常數
- StreetViewPanoramaData 介面
- StreetViewLink 介面
-
屬性:
description
、heading
、pano
地點介面集
地點介面集小工具
PlaceAutocompleteElement 類別
-
屬性:
inputElement
PlaceAutocompleteElementOptions 介面
-
屬性:
componentRestrictions
、inputElement
、locationBias
、locationRestriction
、requestedLanguage
、requestedRegion
、types
PlaceAutocompletePlaceSelectEvent 類別
-
屬性:
place
PlaceAutocompleteRequestErrorEvent 類別
- Autocomplete 類別
-
方法:
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
地點 (Beta 版)
地點類別
-
靜態方法:
、findPlaceFromPhoneNumber
、findPlaceFromQuery
searchByText
屬性:
addressComponents
、adrFormatAddress
、attributions
、businessStatus
、displayName
、formattedAddress
、googleMapsURI
、hasCurbsidePickup
、hasDelivery
、hasDineIn
、hasTakeout
、
、hasWheelchairAccessibleEntrance
iconBackgroundColor
、id
、internationalPhoneNumber
、isReservable
、location
、nationalPhoneNumber
、openingHours
photos
plusCode
priceLevel
rating
requestedLanguage
requestedRegion
reviews
servesBeer
servesBreakfast
servesBrunch
servesDinner
servesLunch
servesVegetarianFood
servesWine
svgIconMaskURI
types
userRatingCount
utcOffsetMinutes
viewport
websiteURI
PlaceOptions 介面
AddressComponent 類別
歸因類別
-
屬性:
provider
、providerURI
FetchFieldsRequest 介面
-
屬性:
fields
、sessionToken
OpeningHours 課程
OpeningHoursPeriod 類別
OpeningHoursPoint 類別
相片類別
-
屬性:
authorAttributions
、heightPx
、widthPx
方法:
getURI
AuthorAttribution 類別
-
屬性:
displayName
、photoURI
、uri
PlusCode 類別
-
屬性:
compoundCode
、globalCode
查看課程
-
屬性:
authorAttribution
、publishTime
、rating
、relativePublishTimeDescription
、text
、textLanguageCode
PriceLevel 常數
SearchByTextRequest 介面
-
屬性:
fields
、includedType
、isOpenNow
、language
、locationBias
、locationRestriction
、maxResultCount
、minRating
、priceLevels
、rankBy
、region
、textQuery
、useStrictTypeFiltering
、query SearchByTextRankBy 常數
地點介面集服務
- PlacesService 類別
-
方法:
findPlaceFromPhoneNumber
、findPlaceFromQuery
、getDetails
、nearbySearch
、textSearch
- PlaceDetailsRequest 介面
-
屬性:
fields
、language
、placeId
、region
、sessionToken
- FindPlaceFromPhoneNumberRequest 介面
- FindPlaceFromQueryRequest 介面
- PlaceSearchRequest 介面
-
屬性:
bounds
、keyword
、language
、location
、maxPriceLevel
、minPriceLevel
、openNow
、radius
、rankBy
、type
、name - TextSearchRequest 介面
- RankBy 常數
- LocationBias typedef
- LocationRestriction typedef
- PlacesServiceStatus 常數
-
常數:
INVALID_REQUEST
、NOT_FOUND
、OK
、OVER_QUERY_LIMIT
、REQUEST_DENIED
、UNKNOWN_ERROR
、ZERO_RESULTS
- PlaceSearchPagination 介面
-
屬性:
hasNextPage
方法:
nextPage
- PlaceResult 介面
-
屬性:
address_components
、adr_address
、aspects
、business_status
、formatted_address
、formatted_phone_number
、geometry
、html_attributions
、icon
、icon_background_color
、icon_mask_base_uri
、international_phone_number
、name
、opening_hours
、photos
、place_id
,plus_code
,rating
,price_level
,rating
,reviews
types
url
user_ratings_total
utc_offset_minutes
vicinity
website
utc_offsetpermanently_closed 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
Place Autocomplete 服務
- AutocompleteService 類別
- 自動完成要求介面
-
屬性:
componentRestrictions
、input
、language
、locationBias
、locationRestriction
、offset
、origin
、region
、sessionToken
、types
、
、bounds
、locationradius - AutocompleteResponse 介面
-
屬性:
predictions
- QueryAutocompleteRequest 介面
- AutocompleteSessionToken 類別
- ComponentConstraint 介面
-
屬性:
country
- Autocomplete 預測介面
-
屬性:
description
、distance_meters
、matched_substrings
、place_id
、structured_formatting
、terms
、types
- QueryAutocompletePrediction 介面
- PredictionTerm 介面
- PredictionSubstring 介面
- StructuredFormatting 介面
地理編碼器
- 地理編碼器類別
-
方法:
geocode
- GeocoderRequest 介面
-
屬性:
address
、bounds
、componentRestrictions
、language
、location
、placeId
、region
- GeocoderComponentLimit 介面
-
屬性:
administrativeArea
、country
、locality
、postalCode
、route
- GeocoderStatus 常數
-
常數:
ERROR
、INVALID_REQUEST
、OK
、OVER_QUERY_LIMIT
、REQUEST_DENIED
、UNKNOWN_ERROR
、ZERO_RESULTS
- GeocoderResponse 介面
-
屬性:
results
- GeocoderResult 介面
-
屬性:
address_components
、formatted_address
、geometry
、partial_match
、place_id
、plus_code
、postcode_localities
、types
- GeocoderAddressComponent 介面
-
屬性:
long_name
、short_name
、types
- 地理編碼器幾何圖形介面
- GeocoderLocationType 常數
路徑介面集
路線
- DirectionsService 類別
-
方法:
route
- DirectionsRequest 介面
-
屬性:
avoidFerries
、avoidHighways
、avoidTolls
、destination
、drivingOptions
、language
、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 介面
-
屬性:
available_travel_modes
、geocoded_waypoints
、request
、routes
- 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 介面
- 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 常數
- 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 常數
- 距離介面
- 時間長度介面
- 時間介面
DirectionsTravelMode 常數DirectionsUnitSystem 常數
距離矩陣
- DistanceMatrixService 類別
- DistanceMatrixRequest 介面
-
屬性:
avoidFerries
、avoidHighways
、avoidTolls
、destinations
、drivingOptions
、language
、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 常數
海拔高度
- ElevationService 類別
- LocationElevationRequest 介面
-
屬性:
locations
- LocationElevationResponse 介面
-
屬性:
results
- PathElevationRequest 介面
- PathElevationResponse 介面
-
屬性:
results
- ElevationResult 介面
- ElevationStatus 常數
-
常數:
INVALID_REQUEST
、OK
、OVER_QUERY_LIMIT
、REQUEST_DENIED
、UNKNOWN_ERROR
旅程分享
地圖檢視
- JourneyShareMapView 類別
-
屬性:
anticipatedRoutePolylines
、anticipatedRoutePolylineSetup
、automaticViewportMode
、element
、enableTraffic
、locationProviders
、map
、mapOptions
、takenRoutePolylines
、takenRoutePolylineSetup
、
、locationProvider
、destinationMarkerSetup
、originMarkerSetup
、pingMarkerSetup
、successfulTaskMarkerSetup
,taskOutcomeMarkerSetup
,unsuccessfulTaskMarkerSetup
,waypointMarkerSetup
,vehicleMarkerSetup
}waypointMarkerSetupdestinationMarkersoriginMarkerssuccessfulTaskMarkerstaskOutcomeMarkersunsuccessfulTaskMarkersvehicleMarkerswaypointMarkers - JourneyShareMapViewOptions 介面
-
屬性:
anticipatedRoutePolylineSetup
、automaticViewportMode
、element
、locationProviders
、mapOptions
、takenRoutePolylineSetup
、
、locationProvider
、destinationMarkerSetup
、originMarkerSetup
、pingMarkerSetup
、successfulTaskMarkerSetup
、taskOutcomeMarkerSetup
、unsuccessfulTaskMarkerSetup
、vehicleMarkerSetupwaypointMarkerSetup - AutomaticViewportMode 常數
- LocationProvider 抽象類別
-
方法:
addListener
- PollingLocationProvider 抽象類別
-
屬性:
isPolling
、pollingIntervalMillis
事件:
ispollingchange
- PollingLocationProviderIsPollingChangeEvent 介面
-
屬性:
error
身分驗證
- AuthToken 介面
-
屬性:
expiresInSeconds
、token
- AuthTokenContext 介面
-
屬性:
deliveryVehicleId
、taskId
、trackingId
、tripId
、vehicleId
- AuthTokenFetcher typedef
- AuthTokenFetcherOptions 介面
-
屬性:
context
、serviceType
- FleetEngineServiceType 常數
-
常數:
DELIVERY_VEHICLE_SERVICE
、TASK_SERVICE
、TRIP_SERVICE
、UNKNOWN_SERVICE
使用者介面自訂
- PolylineSetup typedef
- PolylineSetupOptions 介面
-
屬性:
polylineOptions
、visible
- DefaultPolylineSetupOptions 介面
MarkerSetup typedefMarkerSetupOptions 介面-
屬性:
markerOptions
DefaultMarkerSetupOptions 介面- MarkerCustomizationFunctionParams 介面
- DeliverVehicleMarkerCustomizationFunctions 介面
-
屬性:
vehicle
- PlannedStopMarkerCustomizationFunctions 介面
-
屬性:
stopIndex
- TaskMarkerCustomizationFunctionParams 介面
-
屬性:
task
- ShipmentMarkerCustomizationFunctionParams 介面
-
屬性:
taskTrackingInfo
- TripMarkerCustomizationFunctionParams 介面
-
屬性:
trip
- TripWaypointMarkerCustomizationFunctionParams 介面
-
屬性:
waypointIndex
VehicleMarkerCustomizationFunctionParams 介面
-
屬性:
vehicle
VehicleWaypointMarkerCustomizationFunctionParams 介面
-
屬性:
waypointIndex
Fleet Engine 實體
- 工作介面
-
屬性:
attributes
、estimatedCompletionTime
、latestVehicleLocationUpdate
、name
、outcome
、outcomeLocation
、outcomeLocationSource
、outcomeTime
、plannedLocation
、remainingVehicleJourneySegments
、status
、targetTimeWindow
、trackingId
、type
、vehicleId
- TaskInfo 介面
- TaskTrackingInfo 介面
-
屬性:
attributes
、estimatedArrivalTime
、estimatedTaskCompletionTime
、latestVehicleLocationUpdate
、name
、plannedLocation
、remainingDrivingDistanceMeters
、remainingStopCount
、routePolylinePoints
、state
、targetTimeWindow
、taskOutcome
、taskOutcomeTime
、trackingId
- Trip 介面
-
屬性:
actualDropOffLocation
、actualPickupLocation
、dropOffTime
、latestVehicleLocationUpdate
、name
、passengerCount
、pickupTime
、plannedDropOffLocation
、plannedPickupLocation
、remainingWaypoints
、status
、type
、vehicleId
- DeliverVehicle 介面
-
屬性:
attributes
、currentRouteSegmentEndPoint
、latestVehicleLocationUpdate
、name
、navigationStatus
、remainingDistanceMeters
、remainingDurationMillis
、remainingVehicleJourneySegments
- DeliverVehicleStop 介面
- DeliverVehicleStopState 常數
- VehicleJourneySegment 介面
- VehicleLocationUpdate 介面
- VehicleWaypoint 介面
車輛介面
-
屬性:
attributes
、currentRouteSegmentEndPoint
、currentRouteSegmentVersion
、currentTrips
、etaToFirstWaypoint
、latestLocation
、maximumCapacity
、name
、navigationStatus
、remainingDistanceMeters
、supportedTripTypes
、vehicleState
、vehicleType
、waypoints
、waypointsVersion
-
常數:
ARRIVED_AT_DESTINATION
、ENROUTE_TO_DESTINATION
、NO_GUIDANCE
、OFF_ROUTE
、UNKNOWN_NAVIGATION_STATUS
VehicleState 常數
VehicleType 常數
TripType 常數
TripWaypoint 介面
-
屬性:
distanceMeters
、durationMillis
、location
、tripId
、waypointType
WaypointType 常數
-
常數:
DROP_OFF_WAYPOINT_TYPE
、INTERMEDIATE_DESTINATION_WAYPOINT_TYPE
、PICKUP_WAYPOINT_TYPE
、UNKNOWN_WAYPOINT_TYPE
- TimeWindow 介面
行程和訂單進度
- FleetEngineTripLocationProvider 類別
-
屬性:
tripId
方法:
refresh
- FleetEngineTripLocationProviderOptions 介面
-
屬性:
authTokenFetcher
、destinationMarkerCustomization
、originMarkerCustomization
、pollingIntervalMillis
、projectId
、tripId
、vehicleMarkerCustomization
、waypointMarkerCustomization
- FleetEngineTripLocationProviderUpdateEvent 介面
-
屬性:
trip
車隊追蹤 - Last Mile Fleet
- FleetEngineDeliveryVehicleLocationProvider 類別
-
屬性:
deliveryVehicleId
、shouldShowOutcomeLocations
、shouldShowTasks
、staleLocationThresholdMillis
、taskFilterOptions
- FleetEngineDeliveryVehicleLocationProviderOptions 介面
-
屬性:
authTokenFetcher
、deliveryVehicleId
、deliveryVehicleMarkerCustomization
、plannedStopMarkerCustomization
、pollingIntervalMillis
、projectId
、shouldShowOutcomeLocations
、shouldShowTasks
、staleLocationThresholdMillis
、taskFilterOptions
、taskMarkerCustomization
、taskOutcomeMarkerCustomization
- FleetEngineTaskFilterOptions 介面
- FleetEngineDeliveryVehicleLocationProviderUpdateEvent 介面
- FleetEngineDeliveryFleetLocationProvider 類別
-
屬性:
deliveryVehicleFilter
、locationRestriction
、staleLocationThresholdMillis
事件:
update
- FleetEngineDeliveryFleetLocationProviderOptions 介面
-
屬性:
authTokenFetcher
、deliveryVehicleFilter
、deliveryVehicleMarkerCustomization
、locationRestriction
、projectId
、staleLocationThresholdMillis
- FleetEngineDeliveryFleetLocationProviderUpdateEvent 介面
-
屬性:
deliveryVehicles
車隊追蹤 - 叫車和外送 (Beta 版)
FleetEngineVehicleLocationProvider 類別
FleetEngineVehicleLocationProviderOptions 介面
-
屬性:
authTokenFetcher
、destinationMarkerCustomization
、intermediateDestinationMarkerCustomization
、originMarkerCustomization
、pollingIntervalMillis
、projectId
、staleLocationThresholdMillis
、vehicleId
、vehicleMarkerCustomization
FleetEngineVehicleLocationProviderUpdateEvent 介面
FleetEngineFleetLocationProvider 類別
-
屬性:
locationRestriction
、staleLocationThresholdMillis
、vehicleFilter
事件:
update
FleetEngineFleetLocationProviderOptions 介面
-
屬性:
authTokenFetcher
、locationRestriction
、projectId
、staleLocationThresholdMillis
、vehicleFilter
、vehicleMarkerCustomization
FleetEngineFleetLocationProviderUpdateEvent 介面
-
屬性:
vehicles
運送追蹤
- FleetEngineShipmentLocationProvider 類別
-
屬性:
trackingId
方法:
refresh
- FleetEngineShipmentLocationProviderOptions 介面
-
屬性:
authTokenFetcher
、deliveryVehicleMarkerCustomization
、destinationMarkerCustomization
、pollingIntervalMillis
、projectId
、trackingId
- FleetEngineShipmentLocationProviderUpdateEvent 介面
-
屬性:
taskTrackingInfo
當地特色 (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 介面
- PlaceChooserViewSetupOptions 介面
-
屬性:
layoutMode
、position
PlaceChooserLayoutMode 常數
PlaceChooserPosition 常數
- PlaceDetailsViewSetupOptions 介面
PlaceDetailsLayoutMode 常數
-
常數:
INFO_WINDOW
、SHEET
PlaceDetailsPosition 常數