@nativescript-community/ui-massifmaps
Nativescript Doc
Preparing search index...
search
VectorTileSearchService
Class VectorTileSearchService
Hierarchy (
View Summary
)
BaseNative
<
any
,
VectorTileSearchServiceOptions
>
Omit
<
Accessors
,
|
"layers"
|
"maxResults"
|
"maxZoom"
|
"minZoom"
|
"preventDuplicates"
|
"sortByDistance"
,
>
Omit
<
Methods
,
"findFeatures"
>
VectorTileSearchService
Index
Constructors
constructor
Properties
during
Init
layers
max
Results?
max
Zoom?
min
Zoom?
native
options
prevent
Duplicates
sort
By
Distance
Methods
dispose
find
Features
get
Data
Source
get
Layers
get
Max
Results
get
Max
Zoom
get
Min
Zoom
get
Native
get
Prevent
Duplicates
get
Sort
By
Distance
get
Tile
Decoder
init
Native
View
set
Layers
set
Max
Results
set
Max
Zoom
set
Min
Zoom
set
Prevent
Duplicates
set
Sort
By
Distance
Constructors
constructor
new
VectorTileSearchService
(
options
?:
VectorTileSearchServiceOptions
,
native
?:
any
,
)
:
VectorTileSearchService
Parameters
Optional
options
:
VectorTileSearchServiceOptions
Optional
native
:
any
Returns
VectorTileSearchService
Properties
during
Init
duringInit
:
boolean
layers
layers
:
string
[]
Optional
max
Results
maxResults
?:
number
Optional
max
Zoom
maxZoom
?:
number
Optional
min
Zoom
minZoom
?:
number
native
native
:
any
options
options
:
VectorTileSearchServiceOptions
prevent
Duplicates
preventDuplicates
:
boolean
sort
By
Distance
sortByDistance
:
boolean
Methods
dispose
dispose
()
:
any
Returns
any
find
Features
findFeatures
<
T
=
DefaultLatLonKeys
>
(
options
:
SearchRequest
<
T
>
,
callback
?:
(
res
:
VectorTileFeatureCollection
<
T
>
)
=>
void
,
)
:
VectorTileFeatureCollection
<
T
>
Type Parameters
T
=
DefaultLatLonKeys
Parameters
options
:
SearchRequest
<
T
>
Optional
callback
:
(
res
:
VectorTileFeatureCollection
<
T
>
)
=>
void
Returns
VectorTileFeatureCollection
<
T
>
get
Data
Source
getDataSource
()
:
any
Returns
any
get
Layers
getLayers
()
:
string
[]
Returns
string
[]
get
Max
Results
getMaxResults
()
:
number
Returns
number
get
Max
Zoom
getMaxZoom
()
:
number
Returns
number
get
Min
Zoom
getMinZoom
()
:
number
Returns
number
get
Native
getNative
()
:
any
Returns
any
get
Prevent
Duplicates
getPreventDuplicates
()
:
boolean
Returns
boolean
get
Sort
By
Distance
getSortByDistance
()
:
boolean
Returns
boolean
get
Tile
Decoder
getTileDecoder
()
:
any
Returns
any
init
Native
View
initNativeView
(
native
:
any
,
options
:
VectorTileSearchServiceOptions
)
:
void
Parameters
native
:
any
options
:
VectorTileSearchServiceOptions
Returns
void
set
Layers
setLayers
(
arg0
:
string
[]
)
:
void
Parameters
arg0
:
string
[]
Returns
void
set
Max
Results
setMaxResults
(
arg0
:
number
)
:
void
Parameters
arg0
:
number
Returns
void
set
Max
Zoom
setMaxZoom
(
arg0
:
number
)
:
void
Parameters
arg0
:
number
Returns
void
set
Min
Zoom
setMinZoom
(
arg0
:
number
)
:
void
Parameters
arg0
:
number
Returns
void
set
Prevent
Duplicates
setPreventDuplicates
(
arg0
:
boolean
)
:
void
Parameters
arg0
:
boolean
Returns
void
set
Sort
By
Distance
setSortByDistance
(
arg0
:
boolean
)
:
void
Parameters
arg0
:
boolean
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
during
Init
layers
max
Results
max
Zoom
min
Zoom
native
options
prevent
Duplicates
sort
By
Distance
Methods
dispose
find
Features
get
Data
Source
get
Layers
get
Max
Results
get
Max
Zoom
get
Min
Zoom
get
Native
get
Prevent
Duplicates
get
Sort
By
Distance
get
Tile
Decoder
init
Native
View
set
Layers
set
Max
Results
set
Max
Zoom
set
Min
Zoom
set
Prevent
Duplicates
set
Sort
By
Distance
Nativescript Doc
@nativescript-community/ui-massifmaps
Loading...