Nativescript Doc
Preparing search index...
The search index is not available
@nativescript-community/ui-carto
@nativescript-community/ui-carto
datasources/vector
LocalVectorDataSource
Class LocalVectorDataSource<T>
Type Parameters
T =
DefaultLatLonKeys
Hierarchy
VectorDataSource
<
any
,
LocalVectorDataSourceOptions
>
LocalVectorDataSource
Index
Constructors
constructor
Properties
during
Init
native
options
Methods
add
add
All
add
Feature
Collection
clear
get
Data
Extent
get
Native
get
Projection
init
Native
View
remove
set
Geometry
Simplifier
Constructors
constructor
new
Local
Vector
Data
Source
<
T
>
(
options
?:
LocalVectorDataSourceOptions
, native
?:
any
)
:
LocalVectorDataSource
<
T
>
Type Parameters
T =
DefaultLatLonKeys
Parameters
Optional
options:
LocalVectorDataSourceOptions
Optional
native:
any
Returns
LocalVectorDataSource
<
T
>
Properties
during
Init
during
Init
:
boolean
native
native
:
any
options
options
:
LocalVectorDataSourceOptions
Methods
add
add
(
element
:
VectorElement
<
any
,
any
>
)
:
any
Parameters
element:
VectorElement
<
any
,
any
>
Returns
any
add
All
add
All
(
element
:
VectorElementVector
)
:
any
Parameters
element:
VectorElementVector
Returns
any
add
Feature
Collection
add
Feature
Collection
(
featureCollection
:
FeatureCollection
<
DefaultLatLonKeys
>
, style
:
any
)
:
any
Parameters
featureCollection:
FeatureCollection
<
DefaultLatLonKeys
>
style:
any
Returns
any
clear
clear
(
)
:
any
Returns
any
get
Data
Extent
get
Data
Extent
(
)
:
MapBounds
<
T
>
Returns
MapBounds
<
T
>
get
Native
get
Native
(
)
:
any
Returns
any
get
Projection
get
Projection
(
)
:
Projection
Returns
Projection
init
Native
View
init
Native
View
(
native
:
any
, options
:
LocalVectorDataSourceOptions
)
:
void
Parameters
native:
any
options:
LocalVectorDataSourceOptions
Returns
void
remove
remove
(
element
:
VectorElement
<
any
,
any
>
)
:
any
Parameters
element:
VectorElement
<
any
,
any
>
Returns
any
set
Geometry
Simplifier
set
Geometry
Simplifier
(
simplifier
:
GeometrySimplifier
<
any
,
any
>
)
:
any
Parameters
simplifier:
GeometrySimplifier
<
any
,
any
>
Returns
any
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Modules
@nativescript-
community/ui-
carto
core
datasources
datasources/cache
datasources/cartoonline
datasources/http
datasources/maptiler
datasources/mbtiles
datasources/vector
geocoding/service
geometry
geometry/feature
geometry/reader
geometry/simplifier
geometry/writer
index
layers
layers/cluster
layers/raster
layers/vector
packagemanager
projections
projections/epsg3857
projections/epsg4326
rastertiles
routing
search
ui
ui/cssproperties
utils
vectorelements
vectorelements/balloonpopup
vectorelements/group
vectorelements/line
vectorelements/marker
vectorelements/nmlmodel
vectorelements/point
vectorelements/polygon
vectorelements/polygon3d
vectorelements/text
vectortiles
Local
Vector
Data
Source
constructor
during
Init
native
options
add
add
All
add
Feature
Collection
clear
get
Data
Extent
get
Native
get
Projection
init
Native
View
remove
set
Geometry
Simplifier
Generated using
TypeDoc