上次更新日期:2023 年 2 月 2 日星期四
這是 Maps JavaScript API 3.51 版中所有類別、方法和介面的索引。
按一下任一項目的名稱即可查看詳細說明文件。
全域概念
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
、Polyline
、RenderingType
、Rectangle
StrokePosition
StyledMapType
TrafficLayer
TransitLayer
WebGLOverlayView
PlacesLibrary 介面
-
屬性:
AddressComponent
、Attribution
、Autocomplete
、AutocompleteService
、AutocompleteSessionToken
、BusinessStatus
、OpeningHours
、OpeningHoursPeriod
、OpeningHoursPoint
、Photo
、PhotoAttribution
、Place
、PlacesService
、PlacesServiceStatus
、PlusCode
、RankBy
、Review
、SearchBox
GeocodingLibrary 介面
RoutesLibrary 介面
-
屬性:
DirectionsRenderer
、DirectionsService
、DirectionsStatus
、DistanceMatrixElementStatus
、DistanceMatrixService
、DistanceMatrixStatus
、TrafficModel
、TransitMode
、TransitRoutePreference
、TravelMode
、VehicleType
MarkerLibrary 介面
-
屬性:
AdvancedMarkerView
、Animation
、CollisionBehavior
、Marker
、PinView
GeometryLibrary 介面
ElevationLibrary 介面
StreetViewLibrary 介面
-
屬性:
InfoWindow
、OverlayView
、StreetViewCoverageLayer
、StreetViewPanorama
、StreetViewPreference
、StreetViewService
、StreetViewSource
、StreetViewStatus
JourneyShareLibrary 介面
-
屬性:
AutomaticViewportMode
、FleetEngineDeliveryFleetLocationProvider
、FleetEngineDeliveryVehicleLocationProvider
、FleetEngineServiceType
、FleetEngineShipmentLocationProvider
、FleetEngineTripLocationProvider
、JourneySharingMapView
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
、 11/}、PLACES_DETAILS
、PLACES_FIND_PLACE_FROM_PHONE_NUMBER
、PLACES_FIND_PLACE_FROM_QUERY
、PLACES_GATEWAY
、PLACES_LOCAL_CONTEXT_SEARCH
PLACES_AUTOCOMPLETE
PLACES_NEARBY_SEARCH
STREETVIEW_GET_PANORAMA
地圖
地圖
- 地圖類別
-
屬性:
controls
、data
、mapTypes
、overlayMapTypes
方法:
fitBounds
、getBounds
、getCenter
、getClickableIcons
、getDiv
、
、getFeatureLayer
getHeading
、
、getMapCapabilities
getMapTypeId
、getProjection
、getRenderingType
、getStreetView
、getTilt
、getZoom
、moveCamera
、panBy
、panTo
、panToBounds
、setCenter
、getCenter
、getCenter
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
、renderingtype_changed
、tilesloaded
、tilt_changed
zoom_changed
rightclick - MapOptions 介面
-
{
center
}、{、{從 }、商家檔案、從 地、非從、本人、地限式、限式活動)、至、活動、專為本人)、相關資料,backgroundColor
clickableIcons
controlSize
disableDefaultUI
disableDoubleClickZoom
draggableCursor
draggingCursor
fullscreenControl
fullscreenControlOptions
gestureHandling
heading
isFractionalZoomEnabled
keyboardShortcuts
mapId
mapTypeControl
mapTypeControlOptions
mapTypeId
maxZoom
minZoom
noClear
panControl
panControlOptions
restriction
rotateControl
rotateControlOptions
scaleControl
scaleControlOptions
scrollwheel
streetView
streetViewControl
streetViewControlOptions
styles
tilt
zoom
zoomControl
zoomControlOptions
draggable - MapTypeStyle 介面
- MapMouseEvent 介面
-
方法:
stop
- IconMouseEvent 介面
-
屬性:
placeId
- MapTypeId 常數
- MapTypeRegistry 類別
-
方法:
set
- MapRestriction 介面
-
屬性:
latLngBounds
、strictBounds
- TrafficLayer 類別
- TrafficLayerOptions 介面
-
屬性:
autoRefresh
、map
- TransitLayer 類別
- BicyclingLayer 類別
CameraOptions 介面
- VisibleRegion 介面
- RenderingType 常數
-
常數:
RASTER
、UNINITIALIZED
、VECTOR
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 介面
- Point 類別
- 大小類別
- 邊框間距介面
- CircleLiteral 介面
資料導向樣式 (Beta 版)
FeatureLayer 介面
-
屬性:
featureType
、isAvailable
、style
方法:
addListener
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
功能介面
-
屬性:
featureType
PlaceFeature 介面
-
屬性:
placeId
、displayName方法:
fetchPlace
FeatureMouseEvent 介面
-
屬性:
features
控制
- FullscreenControlOptions 介面
-
屬性:
position
- MapTypeControlOptions 介面
-
屬性:
mapTypeIds
、position
、style
- MapTypeControlStyle 常數
- 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
- 多邊形命名空間
在地圖上繪圖
Marker
- Marker 類別
-
方法:
getAnimation
、getClickable
、getCursor
、getDraggable
、getIcon
、getLabel
、getMap
、getOpacity
、getPosition
、getShape
、getTitle
、getVisible
、getZIndex
、setAnimation
、setClickable
、setCursor
、setZIndex
、、getCursor
、getCursor
、getCursor
setDraggable
setIcon
setLabel
setMap
setOpacity
setOptions
setPosition
setShape
setTitle
setVisible
常數:
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
、visible_changed
zindex_changed
rightclick - 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 介面
- 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
- 動畫常數
進階標記 (Beta 版)
AdvancedMarkerView 類別
-
屬性:
collisionBehavior
、content
、draggable
、element
、map
、position
、title
、zIndex
方法:
addListener
AdvancedMarkerViewOptions 介面
-
屬性:
collisionBehavior
、content
、draggable
、element
、map
、position
、title
、zIndex
PinView 類別
-
屬性:
background
、borderColor
、element
、glyph
、glyphColor
、scale
方法:
addListener
PinViewOptions 介面
資訊視窗
- 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 介面
- 矩形類別
-
方法:
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
、toGeoJson
setStyle
活動:
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 介面
- 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 介面
影像重疊
- MapType 介面
- 投影介面
- ImageMapType 類別
-
屬性:
alt
、maxZoom
、minZoom
、name
、projection
、radius
、tileSize
方法:
getOpacity
、getTile
、releaseTile
、setOpacity
事件:
tilesloaded
- ImageMapTypeOptions 介面
- GroundOverlay 類別
- GroundOverlayOptions 介面
- StyledMapType 類別
- 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
、setZoom
setVisible
事件:
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
、scrollwheel
、pov
showRoadLabels
visible
zoom
zoomControl
zoomControlOptions
- 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
地點介面集
地點介面集小工具
- 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
「
addressComponents
」與「8」adrFormatAddress
attributions
businessStatus
displayName
formattedAddress
googleMapsURI
hasCurbsidePickup
hasDelivery
hasDineIn
hasTakeout
hasWheelchairAccessibleEntrance
icon
iconBackgroundColor
id
internationalPhoneNumber
isReservable
location
nationalPhoneNumber
openingHours
photos
plusCode
priceLevel
rating
requestedLanguage
requestedRegion
reviews
servesBeer
servesBreakfast
servesBrunch
servesDinner
servesLunch
servesVegetarianFood
servesWine
svgIconMaskURI
types
userRatingsCount
utcOffsetMinutes
viewport
websiteURI
PlaceOptions 介面
AddressComponent 類別
歸因類別
-
屬性:
provider
、providerURI
FetchFieldsRequest 介面
-
屬性:
fields
、sessionToken
OpeningHours 類別
OpeningHoursPeriod 類別
OpeningHoursPoint 類別
相片類別
-
屬性:
attributions
、heightPx
、widthPx
方法:
getURI
PhotoAttribution 類別
PlusCode 類別
-
屬性:
compoundCode
、globalCode
查看課程
-
屬性:
author
、authorPhotoURI
、authorURI
、publishTime
、rating
、relativePublishTimeDescription
、text
、textLanguageCode
地點介面集服務
- PlacesService 類別
-
方法:
findPlaceFromPhoneNumber
、findPlaceFromQuery
、getDetails
、nearbySearch
、textSearch
- PlaceDetailsRequest 介面
- FindPlaceFromPhoneNumberRequest 介面
-
屬性:
fields
、language
、locationBias
、phoneNumber
- FindPlaceFromQueryRequest 介面
-
屬性:
fields
、language
、locationBias
、query
- PlaceSearchRequest 介面
-
屬性:
bounds
、keyword
、language
、location
、maxPriceLevel
、minPriceLevel
、openNow
、radius
、rankBy
、type
、name - TextSearchRequest 介面
- 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 介面
-
:
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
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
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 介面
- 結構化格式介面
地理編碼器
- 地理編碼器類別
-
方法:
geocode
- GeocodingRequest 介面
-
屬性:
address
、bounds
、componentRestrictions
、language
、location
、placeId
、region
- GeocodingComponentRestrictions 介面
- GeocodingStatus 常數
-
常數:
ERROR
、INVALID_REQUEST
、OK
、OVER_QUERY_LIMIT
、REQUEST_DENIED
、UNKNOWN_ERROR
ZERO_RESULTS
- GeocodingResponse 介面
-
屬性:
results
- KMZResult 介面
-
屬性:
address_components
、formatted_address
、geometry
、partial_match
、place_id
、plus_code
、postcode_localities
、types
- KMZAddressComponent 介面
-
屬性:
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
、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 介面
- 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 常數
- DriveOptions 介面
- 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 常數
- 距離介面
- 時間長度介面
- 時間介面
DirectionsTravelMode 常數DirectionsUnitSystem 常數
Distance Matrix
- DistanceMatrixService 類別
- DistanceMatrixRequest 介面
-
屬性:
avoidFerries
、avoidHighways
、avoidTolls
、destinations
、drivingOptions
、language
、origins
、region
、transitOptions
、travelMode
、unitSystem
- DistanceMatrixResponse 介面
- DistanceMatrixResponseRow 介面
-
屬性:
elements
- DistanceMatrixResponseElement 介面
- 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 版)
地圖檢視
JourneyShareMapView 類別
-
:
anticipatedRoutePolylines
anticipatedRoutePolylineSetup
automaticViewportMode
element
enableTraffic
locationProvider
map
mapOptions
takenRoutePolylines
takenRoutePolylineSetup
destinationMarkerSetuporiginMarkerSetuppingMarkerSetupsuccessfulTaskMarkerSetuptaskOutcomeMarkerSetupunsuccessfulTaskMarkerSetupvehicleMarkerSetupwaypointMarkerSetupdestinationMarkersoriginMarkerssuccessfulTaskMarkerstaskOutcomeMarkersunsuccessfulTaskMarkersvehicleMarkerswaypointMarkers JourneyShareMapViewOptions 介面
-
屬性:
anticipatedRoutePolylineSetup
、automaticViewportMode
、element
、locationProvider
、mapOptions
、takenRoutePolylineSetup
、
、destinationMarkerSetup
、originMarkerSetup
、pingMarkerSetup
、successfulTaskMarkerSetup
、taskOutcomeMarkerSetup
、unsuccessfulTaskMarkerSetup
、vehicleMarkerSetupwaypointMarkerSetup AutomaticViewportMode 常數
LocationProvider 抽象類別
-
方法:
addListener
PollingLocationProvider 摘要類別
-
屬性:
isPolling
事件:
ispollingchange
PollingLocationProviderIsPollingChangeEvent 介面
-
屬性:
error
驗證機制
AuthToken 介面
-
屬性:
expiresInSeconds
、token
AuthTokenContext 介面
AuthTokenFetcher typedef
AuthTokenFetcherOptions 介面
-
屬性:
context
、serviceType
FleetEngineServiceType 常數
-
常數:
DELIVERY_VEHICLE_SERVICE
、TASK_SERVICE
、TRIP_SERVICE
、UNKNOWN_SERVICE
使用者介面自訂
PolylineSetup typedef
PolylineSetupOptions 介面
-
屬性:
polylineOptions
、visible
DefaultPolylineSetupOptions 介面
MarkerSetup typedef
MarkerSetupOptions 介面
-
屬性:
markerOptions
DefaultMarkerSetupOptions 介面
MarkerCustomizationFunctionParams 介面
-
屬性:
defaultOptions
、isNew
、marker
DeliveryVehicleMarkerCustomizationFunctionParams 介面
-
屬性:
vehicle
PlannedStopMarkerCustomizationFunctionParams 介面
-
屬性:
stopIndex
TaskMarkerCustomizationFunctionParams 介面
-
屬性:
task
ShipmentMarkerCustomizationFunctionParams 介面
-
屬性:
task
TripMarkerCustomizationFunctionParams 介面
-
屬性:
trip
TripWaypointMarkerCustomizationFunctionParams 介面
-
屬性:
waypointIndex
Fleet Engine 實體
工作介面
-
屬性:
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 介面
-
屬性:
attributes
、currentRouteSegmentEndPoint
、latestVehicleLocationUpdate
、name
、navigationStatus
、remainingDistanceMeters
、remainingDurationMillis
、remainingVehicleJourneySegments
VehicleJourneySegment 介面
-
屬性:
distanceMeters
、durationMillis
、extraDurationMillis
、location
、path
VehicleLocationUpdate 介面
VehicleWaypoint 介面
-
屬性:
distanceMeters
、durationMillis
、location
、path
行程和訂單進度
FleetEngineTripLocationProvider 類別
-
屬性:
tripId
方法:
refresh
FleetEngineTripLocationProviderOptions 介面
-
屬性:
authTokenFetcher
、destinationMarkerCustomization
、originMarkerCustomization
、pollingIntervalMillis
、projectId
、tripId
、vehicleMarkerCustomization
、waypointMarkerCustomization
FleetEngineTripLocationProviderUpdateEvent 介面
-
屬性:
trip
車隊追蹤
FleetEngineDeliveryVehicleLocationProvider 類別
-
屬性:
deliveryVehicleId
、shouldShowOutcomeLocations
、shouldShowTasks
、staleLocationThresholdMillis
、taskFilterOptions
FleetEngineDeliveryVehicleLocationProviderOptions 介面
-
屬性:
authTokenFetcher
、deliveryVehicleId
、deliveryVehicleMarkerCustomization
、plannedStopMarkerCustomization
、pollingIntervalMillis
、projectId
、shouldShowOutcomeLocations
、shouldShowTasks
、staleLocationThresholdMillis
、taskFilterOptions
、taskMarkerCustomization
、taskOutcomeMarkerCustomization
FleetEngineTaskFilterOptions 介面
FleetEngineDeliveryVehicleLocationProviderUpdateEvent 介面
FleetEngineDeliveryFleetLocationProvider 類別
-
屬性:
deliveryVehicleFilter
、locationRestriction
、pollingIntervalMillis
、staleLocationThresholdMillis
事件:
update
FleetEngineDeliveryFleetLocationProviderOptions 介面
-
屬性:
authTokenFetcher
、deliveryVehicleFilter
、deliveryVehicleMarkerCustomization
、locationRestriction
、projectId
、staleLocationThresholdMillis
FleetEngineDeliveryFleetLocationProviderUpdateEvent 介面
-
屬性:
deliveryVehicles