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 (
View Summary
)
VectorDataSource
<
any
,
LocalVectorDataSourceOptions
>
LocalVectorDataSource
Index
Constructors
constructor
Properties
during
Init
native
options
Methods
add
add
All
add
Feature
Collection
clear
dispose
get
Data
Extent
get
Native
get
Projection
init
Native
View
remove
set
Geometry
Simplifier
Constructors
constructor
new
LocalVectorDataSource
<
T
=
DefaultLatLonKeys
>
(
options
?:
LocalVectorDataSourceOptions
,
native
?:
any
,
)
:
LocalVectorDataSource
<
T
>
Type Parameters
T
=
DefaultLatLonKeys
Parameters
Optional
options
:
LocalVectorDataSourceOptions
Optional
native
:
any
Returns
LocalVectorDataSource
<
T
>
Properties
during
Init
duringInit
:
boolean
native
native
:
any
options
options
:
LocalVectorDataSourceOptions
Methods
add
add
(
element
:
VectorElement
<
any
,
any
>
)
:
any
Parameters
element
:
VectorElement
<
any
,
any
>
Returns
any
add
All
addAll
(
element
:
VectorElementVector
)
:
any
Parameters
element
:
VectorElementVector
Returns
any
add
Feature
Collection
addFeatureCollection
(
featureCollection
:
FeatureCollection
<
DefaultLatLonKeys
>
,
style
:
any
,
)
:
any
Parameters
featureCollection
:
FeatureCollection
<
DefaultLatLonKeys
>
style
:
any
Returns
any
clear
clear
()
:
any
Returns
any
dispose
dispose
()
:
any
Returns
any
get
Data
Extent
getDataExtent
()
:
MapBounds
<
T
>
Returns
MapBounds
<
T
>
get
Native
getNative
()
:
any
Returns
any
get
Projection
getProjection
()
:
Projection
Returns
Projection
init
Native
View
initNativeView
(
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
setGeometrySimplifier
(
simplifier
:
GeometrySimplifier
<
any
,
any
>
)
:
any
Parameters
simplifier
:
GeometrySimplifier
<
any
,
any
>
Returns
any
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
during
Init
native
options
Methods
add
add
All
add
Feature
Collection
clear
dispose
get
Data
Extent
get
Native
get
Projection
init
Native
View
remove
set
Geometry
Simplifier
Nativescript Doc
@nativescript-community/ui-carto
Loading...