Preparing search index...
The search index is not available
@geoblocks/edittrack
@geoblocks/edittrack
router/OSRMRouter
default
Class default
Hierarchy (
view full
)
default
default
Index
Constructors
constructor
Properties
extra
Params
map
max
Routing
Tolerance
radius
url
Methods
get
Route
is
In
Tolerance
snap
Segment
Constructors
constructor
new default
(
options
)
:
default
Parameters
options
:
OSRMRouterOptions
Returns
default
Properties
extra
Params
extra
Params
:
string
map
map
:
Map
max
Routing
Tolerance
max
Routing
Tolerance
:
number
radius
radius
:
number
url
url
:
string
Methods
get
Route
get
Route
(
pointFromCoordinates
,
pointToCoordinates
)
:
Promise
<
Coordinate
[]
>
Parameters
pointFromCoordinates
:
Coordinate
pointToCoordinates
:
Coordinate
Returns
Promise
<
Coordinate
[]
>
is
In
Tolerance
is
In
Tolerance
(
pointA
,
pointB
)
:
boolean
Parameters
pointA
:
Coordinate
pointB
:
Coordinate
Returns
boolean
snap
Segment
snap
Segment
(
segment
,
pointFrom
,
pointTo
)
:
Promise
<
boolean
>
Parameters
segment
:
Feature
<
LineString
>
pointFrom
:
Feature
<
Point
>
pointTo
:
Feature
<
Point
>
Returns
Promise
<
boolean
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
constructor
extra
Params
map
max
Routing
Tolerance
radius
url
get
Route
is
In
Tolerance
snap
Segment
@geoblocks/edittrack
Loading...