TomTom Maps for JavaScript
Preparing search index...
plugins
WhereContext
Type Alias WhereContext
type
WhereContext
=
{
expandEntry
(
id
:
string
)
:
string
[]
|
undefined
;
fetchGeometry
(
place
:
string
|
Place
,
)
:
Promise
<
Feature
<
Polygon
|
MultiPolygon
,
GeoJsonProperties
>
|
undefined
>
;
geocodeAreas
(
query
:
string
,
queryAs
?:
QueryAs
,
bias
?:
Position
,
)
:
Promise
<
Place
[]
>
;
getRoute
(
routeId
?:
string
,
)
:
{
features
:
Feature
[]
;
label
:
string
}
|
{
error
:
string
}
;
viewport
()
:
{
bbox
?:
BBox
;
center
?:
Position
}
;
}
Index
Methods
expand
Entry
fetch
Geometry
geocode
Areas
get
Route
viewport
Methods
expand
Entry
expandEntry
(
id
:
string
)
:
string
[]
|
undefined
Parameters
id
:
string
Returns
string
[]
|
undefined
fetch
Geometry
fetchGeometry
(
place
:
string
|
Place
,
)
:
Promise
<
Feature
<
Polygon
|
MultiPolygon
,
GeoJsonProperties
>
|
undefined
>
Parameters
place
:
string
|
Place
Returns
Promise
<
Feature
<
Polygon
|
MultiPolygon
,
GeoJsonProperties
>
|
undefined
>
geocode
Areas
geocodeAreas
(
query
:
string
,
queryAs
?:
QueryAs
,
bias
?:
Position
,
)
:
Promise
<
Place
[]
>
Parameters
query
:
string
Optional
queryAs
:
QueryAs
Optional
bias
:
Position
Returns
Promise
<
Place
[]
>
get
Route
getRoute
(
routeId
?:
string
,
)
:
{
features
:
Feature
[]
;
label
:
string
}
|
{
error
:
string
}
Parameters
Optional
routeId
:
string
Returns
{
features
:
Feature
[]
;
label
:
string
}
|
{
error
:
string
}
viewport
viewport
()
:
{
bbox
?:
BBox
;
center
?:
Position
}
Returns
{
bbox
?:
BBox
;
center
?:
Position
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
expand
Entry
fetch
Geometry
geocode
Areas
get
Route
viewport
TomTom Maps for JavaScript
Loading...