上次更新时间:2022 年 10 月 27 日星期四
这是 Maps JavaScript API 3.50 版中所有类、方法和接口的索引。
点击任意一项的名称可查看详细文档。
全局概念
google.maps
设置(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_LOCAL_CONTEXT_SEARCH
、PLACES_LOCAL_CONTEXT_SEARCH
、PLACES_LOCAL_CONTEXT_SEARCH
、PLACES_LOCAL_CONTEXT_SEARCH
、PLACES_LOCAL_CONTEXT_SEARCH
、PLACES_LOCAL_CONTEXT_SEARCH
、
地图
地图
- 地图类
-
属性:
controls
、data
、mapTypes
、overlayMapTypes
方法:
fitBounds
、getBounds
、getCenter
、getClickableIcons
、getDiv
、
、">getFeatureLayer getHeading
、
、">getMapCapabilities getMapTypeId
、getProjection
、getRenderingType
、getStreetView
、getTilt
、getZoom
、moveCamera
、panBy
、panTo
、panToBounds
、、/、、、、、、常量:
DEMO_MAP_ID
事件:
bounds_changed
、center_changed
、click
、contextmenu
、dblclick
、drag
、dragend
、dragstart
、heading_changed
、idle
、isfractionalzoomenabled_changed
、
、">mapcapabilities_changed maptypeid_changed
、mousemove
、mouseout
、mouseover
、projection_changed
、renderingtype_changed
、tilesloaded
、tilesloaded
、tilesloaded
、tilesloaded
、tilesloaded
、tilesloaded
、tilesloaded
、tilesloaded
、tilesloaded
、tilesloaded
、tilesloaded
、tilesloaded
、tilesloaded
、tilesloaded
、 - MapOptions 接口
-
。
- MapTypeStyle 接口
-
属性:
elementType
、featureType
、stylers
- MapMouseEvent 接口
-
方法:
stop
- IconMouseEvent 接口
-
属性:
placeId
- MapTypeId 常量
- MapTypeRegistry 类
-
方法:
set
- MapRestriction 接口
-
属性:
latLngBounds
、strictBounds
- TrafficLayer 类
- TrafficLayerOptions 接口
-
属性:
autoRefresh
、map
- TransitLayer 类
- BicyclingLayer 类
">CameraOptions 接口 - VisibleRegion 接口
-
属性:
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
- CoordinateTransform 接口
- CameraParams 接口
坐标
- LatLng 类
- LatLngLiteral 接口
- LatLngBounds 类
-
方法:
contains
、equals
、extend
、getCenter
、getNorthEast
、getSouthWest
、intersects
、isEmpty
、toJSON
、toSpan
、toString
、toUrlValue
、union
常量:
MAX_BOUNDS
- LatLngBoundsLiteral 接口
- LatLngAltitude 类
- LatLngAltitudeLiteral 接口
- 点类
- Size 类
- 内边距接口
- 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 接口 -
属性:
displayName
、placeId
">FeatureMouseEvent 接口 -
属性:
features
控件
- FullscreenControlOptions 接口
-
属性:
position
- MapTypeControlOptions 接口
-
属性:
mapTypeIds
、position
、style
- MapTypeControlStyle 常量
- MotionTrackingControlOptions 接口
-
属性:
position
- PanControlOptions 接口
-
属性:
position
- RotationControlOptions 接口
-
属性:
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
- Marker 类
-
方法:
getAnimation
、getClickable
、getCursor
、getDraggable
、getIcon
、getLabel
、getMap
、getOpacity
、getPosition
、getShape
、getTitle
、getVisible
、getZIndex
、setAnimation
、setClickable
、setCursor
、setDraggable
、setIcon
、{2、{2、{2、getCursor
、{2、{2、{2、getCursor
、{2、{2、{2、{2、getCursor
、{2、{2、{2、getCursor
、{2、{2、{2、getCursor
、{2、{2、{2、{2、getCursor
、{2、{2、}、{28、}、{2、{2、}、{28、}常量:
MAX_ZINDEX
事件:
animation_changed
、click
、clickable_changed
、contextmenu
、cursor_changed
、dblclick
、drag
、dragend
、draggable_changed
、dragstart
、flat_changed
、icon_changed
、mousedown
、mouseout
、mouseover
、mouseup
、position_changed
、shape_changed
、title_changed
、title_changed
、title_changed
、title_changed
、title_changed
、title_changed
、title_changed
、title_changed
、title_changed
、title_changed
、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
">冲突行为常量 -
常量:
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
- 动画常量
高级标记(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 接口 -
属性:
background
、borderColor
、element
、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 接口
-
属性:
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
- Circle 类
-
方法:
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 接口
-
属性:
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 类
-
方法:
forEachLatLng
、getArray
、getAt
、getLength
、getType
- Data.LineString 类
-
方法:
forEachLatLng
、getArray
、getAt
、getLength
、getType
- Data.MultiLineString 类
-
方法:
forEachLatLng
、getArray
、getAt
、getLength
、getType
- Data.LinearRing 类
-
方法:
forEachLatLng
、getArray
、getAt
、getLength
、getType
- Data.Polygon 类
-
方法:
forEachLatLng
、getArray
、getAt
、getLength
、getType
- Data.MultiPolygon 类
-
方法:
forEachLatLng
、getArray
、getAt
、getLength
、getType
- Data.GeometryCollection 类
-
方法:
forEachLatLng
、getArray
、getAt
、getLength
、getType
- Data.MouseEvent 接口
-
属性:
feature
- Data.AddFeatureEvent 接口
-
属性:
feature
- Data.RemoveFeatureEvent 接口
-
属性:
feature
- Data.SetGeometryEvent 接口
-
属性:
feature
、newGeometry
、oldGeometry
- 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 接口
-
属性:
featureData
、latLng
、pixelOffset
- 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 类
-
方法:
getData
、getMap
、setData
、setMap
、setOptions
- 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 接口
-
属性:
addressControl
、addressControlOptions
、clickToGo
、controlSize
、disableDefaultUI
、disableDoubleClickZoom
、enableCloseButton
、fullscreenControl
、fullscreenControlOptions
、imageDateControl
、linksControl
、motionTracking
、motionTrackingControl
、motionTrackingControlOptions
、panControl
、panControlOptions
、pano
、position
、、、、、、、、、、} - StreetViewAddressControlOptions 接口
-
属性:
position
- PanoProviderOptions 接口
-
属性:
cors
- StreetViewTileData 接口
-
属性:
centerHeading
、tileSize
、worldSize
方法:
getTileUrl
- StreetViewPov 界面
- StreetViewCoverageLayer 类
服务
- StreetViewService 类
-
方法:
getPanorama
- StreetViewStatus 常量
- 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 接口
- RankBy 常量
- LocationBias 类型定义符
- LocationRestriction 类型定义符
- 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
地点自动补全服务
- AutocompleteService 类
- AutocompletionRequest 接口
-
属性:
bounds
、componentRestrictions
、input
、language
、location
、offset
、origin
、radius
、region
、sessionToken
、types
- AutocompleteResponse 接口
-
属性:
predictions
- QueryAutocompletionRequest 接口
- AutocompleteSessionToken 类
- ComponentRestrictions 接口
-
属性:
country
- AutocompletePrediction 接口
-
属性:
description
、distance_meters
、matched_substrings
、place_id
、structured_formatting
、terms
、types
- QueryAutocompletePrediction 接口
- PredictionTerm 接口
- PredictionSubstring 接口
- 结构化格式设置界面
地理编码器
- 地理编码器类
-
方法:
geocode
- GeocoderRequest 接口
-
属性:
address
、bounds
、componentRestrictions
、
、">language location
、placeId
、region
- GeocoderComponentRestrictions 接口
-
属性:
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
- GeocoderGeometry 接口
-
属性:
bounds
、location
、location_type
、viewport
- 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 接口
- 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 常量
- 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 接口
-
属性:
elevation
、location
、resolution
- ElevationStatus 常量
-
常量:
INVALID_REQUEST
、OK
、OVER_QUERY_LIMIT
、REQUEST_DENIED
、UNKNOWN_ERROR
Local Context(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 常量 - PlaceDetailsViewSetupOptions 接口
">PlaceDetailsLayoutMode 常量 -
常量:
INFO_WINDOW
、SHEET
">PlaceDetailsPosition 常量
旅程分享(Beta 版)
地图视图
">Journey SharingMapView 类 -
属性:
anticipatedRoutePolylines
、anticipatedRoutePolylineSetup
、automaticViewportMode
、destinationMarkers
、destinationMarkerSetup
、element
、enableTraffic
、locationProvider
、map
、mapOptions
、originMarkers
、originMarkerSetup
、pingMarkerSetup
、successfulTaskMarkers
、successfulTaskMarkerSetup
、takenRoutePolylines
、takenRoutePolylineSetup
、taskOutcomeMarkers
、、、、、、、、、、} ">Journey SharingMapViewOptions 接口 -
属性:
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 类型定义符 ">AuthTokenFetcherOptions 接口 -
属性:
context
、serviceType
">FleetEngineServiceType 常量 -
常量:
DELIVERY_VEHICLE_SERVICE
、TASK_SERVICE
、TRIP_SERVICE
、UNKNOWN_SERVICE
界面自定义
">DirectionsSetup 类型定义符 ">polylineSetupOptions 接口 -
属性:
polylineOptions
、visible
">DefaultpolylineSetupOptions 接口 ">MarkerSetup 类型定义符 ">MarkerSetupOptions 接口 -
属性:
markerOptions
">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 接口 -
属性:
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
、pollingIntervalMillis
、projectId
、tripId
">FleetEngineTripLocationProviderUpdateEvent 接口 -
属性:
trip
舰队跟踪
">FleetEngineDeliveryVehicleLocationProvider 类 -
属性:
deliveryVehicleId
、shouldShowOutcomeLocations
、shouldShowTasks
、staleLocationThresholdMillis
、taskFilterOptions
">FleetEngineDeliveryVehicleLocationProviderOptions 接口 -
属性:
authTokenFetcher
、deliveryVehicleId
、pollingIntervalMillis
、projectId
、shouldShowOutcomeLocations
、shouldShowTasks
、staleLocationThresholdMillis
、taskFilterOptions
">FleetEngineTaskFilterOptions 接口 ">FleetEngineDeliveryVehicleLocationProviderUpdateEvent 接口 ">FleetEngineDeliveryFleetLocationProvider 类 -
属性:
deliveryVehicleFilter
、locationRestriction
、pollingIntervalMillis
、staleLocationThresholdMillis
活动:
update
">FleetEngineDeliveryFleetLocationProviderOptions 接口 -
属性:
authTokenFetcher
、deliveryVehicleFilter
、locationRestriction
、projectId
、staleLocationThresholdMillis
">FleetEngineDeliveryFleetLocationProviderUpdateEvent 接口 -
属性:
deliveryVehicles