Search
Preparing search index...
The search index is not available
@types/amap-js-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@types/amap-js-sdk
AMap
Driving
Class Driving
Hierarchy
EventBindable
Driving
Index
Constructors
constructor
Methods
clear
clear
Avoid
Polygons
clear
Avoid
Road
get
Avlid
Polygons
get
Avoid
Road
off
on
search
search
OnAMAP
set
Avoid
Polygons
set
Avoid
Road
set
Policy
Constructors
constructor
new
Driving
(
options
?:
{
extensions
?:
string
;
hideMarkers
?:
boolean
;
map
?:
Map
;
panel
?:
string
|
HTMLElement
;
policy
?:
DrivingPolicy
;
showTraffic
?:
boolean
}
)
:
Driving
Parameters
Optional
options:
{
extensions
?:
string
;
hideMarkers
?:
boolean
;
map
?:
Map
;
panel
?:
string
|
HTMLElement
;
policy
?:
DrivingPolicy
;
showTraffic
?:
boolean
}
Optional
extensions
?:
string
Optional
hide
Markers
?:
boolean
Optional
map
?:
Map
Optional
panel
?:
string
|
HTMLElement
Optional
policy
?:
DrivingPolicy
Optional
show
Traffic
?:
boolean
Returns
Driving
Methods
clear
clear
(
)
:
void
Returns
void
clear
Avoid
Polygons
clear
Avoid
Polygons
(
)
:
void
Returns
void
clear
Avoid
Road
clear
Avoid
Road
(
)
:
void
Returns
void
get
Avlid
Polygons
get
Avlid
Polygons
(
)
:
LngLat
[]
[]
Returns
LngLat
[]
[]
get
Avoid
Road
get
Avoid
Road
(
)
:
string
Returns
string
off
off
(
eventName
:
string
, callback
:
EventCallback
)
:
void
Parameters
eventName:
string
callback:
EventCallback
Returns
void
on
on
(
eventName
:
string
, callback
:
EventCallback
)
:
void
Parameters
eventName:
string
callback:
EventCallback
Returns
void
search
search
(
origin
:
LngLat
, destination
:
LngLat
, opts
?:
{
waypoints
:
LngLat
[]
}
, callback
?:
(
status
:
string
, result
:
string
|
DrivingResult
)
=>
void
)
:
void
search
(
point
:
{
city
:
string
;
keyword
:
string
}
[]
, callback
:
(
status
:
string
, result
:
string
|
DrivingResult
)
=>
void
)
:
void
Parameters
origin:
LngLat
destination:
LngLat
Optional
opts:
{
waypoints
:
LngLat
[]
}
waypoints
:
LngLat
[]
Optional
callback:
(
status
:
string
, result
:
string
|
DrivingResult
)
=>
void
(
status
:
string
, result
:
string
|
DrivingResult
)
:
void
Parameters
status:
string
result:
string
|
DrivingResult
Returns
void
Returns
void
Parameters
point:
{
city
:
string
;
keyword
:
string
}
[]
callback:
(
status
:
string
, result
:
string
|
DrivingResult
)
=>
void
(
status
:
string
, result
:
string
|
DrivingResult
)
:
void
Parameters
status:
string
result:
string
|
DrivingResult
Returns
void
Returns
void
search
OnAMAP
search
OnAMAP
(
obj
:
{
destination
?:
LngLat
;
destinationName
?:
string
;
origin
?:
LngLat
;
originName
?:
string
}
)
:
void
Parameters
obj:
{
destination
?:
LngLat
;
destinationName
?:
string
;
origin
?:
LngLat
;
originName
?:
string
}
Optional
destination
?:
LngLat
Optional
destination
Name
?:
string
Optional
origin
?:
LngLat
Optional
origin
Name
?:
string
Returns
void
set
Avoid
Polygons
set
Avoid
Polygons
(
path
:
LngLat
[]
[]
)
:
void
Parameters
path:
LngLat
[]
[]
Returns
void
set
Avoid
Road
set
Avoid
Road
(
road
:
string
)
:
void
Parameters
road:
string
Returns
void
set
Policy
set
Policy
(
policy
:
DrivingPolicy
)
:
void
Parameters
policy:
DrivingPolicy
Returns
void
Exports
Externals
AMap
AMap.
Tile
Layer
AMap.event
Driving
constructor
clear
clear
Avoid
Polygons
clear
Avoid
Road
get
Avlid
Polygons
get
Avoid
Road
off
on
search
search
OnAMAP
set
Avoid
Polygons
set
Avoid
Road
set
Policy
Generated using
TypeDoc