plannerjs - v0.4.1
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Composite
Tile
Provider
constructor
fetcher
pathfinder
Provider
registry
tiles
zoi
Fetcher
get
ByLocation
get
ByTile
Coords
get
ByUrl
get
IdFor
Location
get
IdFor
Tile
Coords
get
Multiple
ByTile
Coords
getmultiple
ByLocation
wait
Hierarchy
RoutableTileProviderDefault
CompositeTileProvider
Implements
IRoutableTileProvider
Index
Constructors
constructor
Properties
fetcher
pathfinder
Provider
registry
tiles
zoi
Fetcher
Methods
get
ByLocation
get
ByTile
Coords
get
ByUrl
get
IdFor
Location
get
IdFor
Tile
Coords
get
Multiple
ByTile
Coords
getmultiple
ByLocation
wait
Constructors
constructor
new
Composite
Tile
Provider
(
pathfinderProvider
:
PathfinderProvider
, fetcher
:
IRoutableTileFetcher
)
:
CompositeTileProvider
Parameters
pathfinderProvider:
PathfinderProvider
fetcher:
IRoutableTileFetcher
Returns
CompositeTileProvider
Properties
Protected
fetcher
fetcher
:
IRoutableTileFetcher
Protected
pathfinder
Provider
pathfinder
Provider
:
PathfinderProvider
Protected
registry
registry
:
RoutableTileRegistry
Protected
tiles
tiles
:
IRoutableTileIndex
Protected
zoi
Fetcher
zoi
Fetcher
:
IZoiTileFetcher
Methods
get
ByLocation
get
ByLocation
(
zoom
:
number
, location
:
ILocation
)
:
Promise
<
RoutableTile
>
Parameters
zoom:
number
location:
ILocation
Returns
Promise
<
RoutableTile
>
get
ByTile
Coords
get
ByTile
Coords
(
coordinate
:
TileCoordinate
)
:
Promise
<
RoutableTile
>
Parameters
coordinate:
TileCoordinate
Returns
Promise
<
RoutableTile
>
Protected
get
ByUrl
get
ByUrl
(
url
:
string
, zoiUrl
?:
string
)
:
Promise
<
RoutableTile
>
Parameters
url:
string
Optional
zoiUrl:
string
Returns
Promise
<
RoutableTile
>
get
IdFor
Location
get
IdFor
Location
(
zoom
:
number
, location
:
ILocation
)
:
string
Parameters
zoom:
number
location:
ILocation
Returns
string
get
IdFor
Tile
Coords
get
IdFor
Tile
Coords
(
coordinate
:
TileCoordinate
)
:
string
Parameters
coordinate:
TileCoordinate
Returns
string
get
Multiple
ByTile
Coords
get
Multiple
ByTile
Coords
(
coordinates
:
TileCoordinate
[]
)
:
Promise
<
RoutableTileSet
>
Parameters
coordinates:
TileCoordinate
[]
Returns
Promise
<
RoutableTileSet
>
getmultiple
ByLocation
getmultiple
ByLocation
(
zoom
:
number
, locations
:
ILocation
[]
)
:
Promise
<
RoutableTileSet
>
Parameters
zoom:
number
locations:
ILocation
[]
Returns
Promise
<
RoutableTileSet
>
wait
wait
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Generated using
TypeDoc