plannerjs - v0.4.1
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Transit
Car
Planner
constructor
Units
add
Catalog
Source
add
Connection
Source
add
Stop
Source
complete
Path
get
All
Stops
get
Connection
Sources
get
Stops
Sources
prefetch
Connections
prefetch
Stops
query
resolve
Location
set
Development
Profile
set
ProfileID
Hierarchy
Planner
TransitCarPlanner
Index
Constructors
constructor
Properties
Units
Methods
add
Catalog
Source
add
Connection
Source
add
Stop
Source
complete
Path
get
All
Stops
get
Connection
Sources
get
Stops
Sources
prefetch
Connections
prefetch
Stops
query
resolve
Location
set
Development
Profile
set
ProfileID
Constructors
constructor
new
Transit
Car
Planner
(
)
:
TransitCarPlanner
Returns
TransitCarPlanner
Properties
Static
Units
Units
:
Units
= Units
Methods
add
Catalog
Source
add
Catalog
Source
(
accessUrl
:
string
)
:
Promise
<
void
>
Parameters
accessUrl:
string
Returns
Promise
<
void
>
add
Connection
Source
add
Connection
Source
(
accessUrl
:
string
, travelMode
?:
TravelMode
)
:
void
Parameters
accessUrl:
string
Default value
travelMode:
TravelMode
= TravelMode.Train
Returns
void
add
Stop
Source
add
Stop
Source
(
accessUrl
:
string
)
:
void
Parameters
accessUrl:
string
Returns
void
complete
Path
complete
Path
(
path
:
IPath
)
:
Promise
<
IPath
>
Parameters
path:
IPath
Returns
Promise
<
IPath
>
get
All
Stops
get
All
Stops
(
)
:
Promise
<
IStop
[]
>
Returns
Promise
<
IStop
[]
>
get
Connection
Sources
get
Connection
Sources
(
)
:
IConnectionsSourceConfig
[]
Returns
IConnectionsSourceConfig
[]
get
Stops
Sources
get
Stops
Sources
(
)
:
IStopsSourceConfig
[]
Returns
IStopsSourceConfig
[]
prefetch
Connections
prefetch
Connections
(
from
:
Date
, to
:
Date
)
:
void
Parameters
from:
Date
to:
Date
Returns
void
prefetch
Stops
prefetch
Stops
(
)
:
void
Returns
void
query
query
(
query
:
IQuery
)
:
AsyncIterator
<
IPath
>
Parameters
query:
IQuery
Returns
AsyncIterator
<
IPath
>
resolve
Location
resolve
Location
(
id
:
string
)
:
Promise
<
ILocation
>
Parameters
id:
string
Returns
Promise
<
ILocation
>
set
Development
Profile
set
Development
Profile
(
blob
:
object
)
:
Promise
<
this
>
Parameters
blob:
object
Returns
Promise
<
this
>
set
ProfileID
set
ProfileID
(
profileID
:
string
)
:
this
Parameters
profileID:
string
Returns
this
Generated using
TypeDoc