@geoblocks/edittrack
Preparing search index...
router/OSRMRouter
default
Class default
Hierarchy (
View Summary
)
default
default
Index
Constructors
constructor
Properties
extra
Params
radius
url
Methods
get
Route
is
In
Tolerance
snap
Segment
Constructors
constructor
new
default
(
options
:
OSRMRouterOptions
)
:
default
Parameters
options
:
OSRMRouterOptions
Returns
default
Properties
extra
Params
extraParams
:
string
radius
radius
:
number
url
url
:
string
Methods
get
Route
getRoute
(
pointFromCoordinates
:
Coordinate
,
pointToCoordinates
:
Coordinate
,
)
:
Promise
<
RouteInfo
>
Parameters
pointFromCoordinates
:
Coordinate
pointToCoordinates
:
Coordinate
Returns
Promise
<
RouteInfo
>
is
In
Tolerance
isInTolerance
(
pointA
:
Coordinate
,
pointB
:
Coordinate
)
:
boolean
Parameters
pointA
:
Coordinate
pointB
:
Coordinate
Returns
boolean
snap
Segment
snapSegment
(
segment
:
Feature
<
LineString
>
,
pointFrom
:
Feature
<
Point
>
,
pointTo
:
Feature
<
Point
>
,
)
:
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
Constructors
constructor
Properties
extra
Params
radius
url
Methods
get
Route
is
In
Tolerance
snap
Segment
@geoblocks/edittrack
Loading...