Nativescript Doc
Preparing search index...
The search index is not available
@nativescript-community/ui-carto
@nativescript-community/ui-carto
datasources
GeoJSONVectorTileDataSource
Class GeoJSONVectorTileDataSource
Hierarchy (
View Summary
)
TileDataSource
<
any
,
GeoJSONVectorTileDataSourceOptions
>
GeoJSONVectorTileDataSource
Index
Constructors
constructor
Properties
default
Layer
Buffer
during
Init
max
Overzoom
Level
max
Zoom?
min
Zoom?
native
options
simplify
Tolerance
Methods
add
GeoJSONFeature
add
GeoJSONString
Feature
create
Layer
delete
Layer
dispose
get
Native
get
Projection
init
Native
View
load
Tile
remove
GeoJSONFeature
set
Layer
Feature
Collection
set
Layer
GeoJSON
set
Layer
GeoJSONString
update
GeoJSONFeature
update
GeoJSONString
Feature
Constructors
constructor
new
GeoJSONVectorTileDataSource
(
options
?:
GeoJSONVectorTileDataSourceOptions
,
native
?:
any
,
)
:
GeoJSONVectorTileDataSource
Parameters
Optional
options
:
GeoJSONVectorTileDataSourceOptions
Optional
native
:
any
Returns
GeoJSONVectorTileDataSource
Properties
default
Layer
Buffer
defaultLayerBuffer
:
number
during
Init
duringInit
:
boolean
max
Overzoom
Level
maxOverzoomLevel
:
number
Optional
max
Zoom
maxZoom
?:
number
Optional
min
Zoom
minZoom
?:
number
native
native
:
any
options
options
:
GeoJSONVectorTileDataSourceOptions
simplify
Tolerance
simplifyTolerance
:
number
Methods
add
GeoJSONFeature
addGeoJSONFeature
(
layerIndex
:
number
,
geoJSON
:
Object
)
:
any
Parameters
layerIndex
:
number
geoJSON
:
Object
Returns
any
add
GeoJSONString
Feature
addGeoJSONStringFeature
(
layerIndex
:
number
,
geoJSON
:
string
|
Object
)
:
any
Parameters
layerIndex
:
number
geoJSON
:
string
|
Object
Returns
any
create
Layer
createLayer
(
name
:
string
)
:
number
Parameters
name
:
string
Returns
number
delete
Layer
deleteLayer
(
index
:
number
)
:
any
Parameters
index
:
number
Returns
any
dispose
dispose
()
:
any
Returns
any
get
Native
getNative
()
:
any
Returns
any
get
Projection
getProjection
()
:
Projection
Returns
Projection
init
Native
View
initNativeView
(
native
:
any
,
options
:
GeoJSONVectorTileDataSourceOptions
)
:
void
Parameters
native
:
any
options
:
GeoJSONVectorTileDataSourceOptions
Returns
void
load
Tile
loadTile
(
x
:
any
,
y
:
any
,
z
:
any
)
:
any
Parameters
x
:
any
y
:
any
z
:
any
Returns
any
remove
GeoJSONFeature
removeGeoJSONFeature
(
layerIndex
:
number
,
id
:
string
|
number
)
:
any
Parameters
layerIndex
:
number
id
:
string
|
number
Returns
any
set
Layer
Feature
Collection
setLayerFeatureCollection
(
layerIndex
:
number
,
projection
:
Projection
,
featureCollection
:
FeatureCollection
<
DefaultLatLonKeys
>
,
)
:
any
Parameters
layerIndex
:
number
projection
:
Projection
featureCollection
:
FeatureCollection
<
DefaultLatLonKeys
>
Returns
any
set
Layer
GeoJSON
setLayerGeoJSON
(
layerIndex
:
number
,
geoJSON
:
Object
)
:
any
Parameters
layerIndex
:
number
geoJSON
:
Object
Returns
any
set
Layer
GeoJSONString
setLayerGeoJSONString
(
layerIndex
:
number
,
geoJSON
:
string
|
Object
)
:
any
Parameters
layerIndex
:
number
geoJSON
:
string
|
Object
Returns
any
update
GeoJSONFeature
updateGeoJSONFeature
(
layerIndex
:
number
,
geoJSON
:
Object
)
:
any
Parameters
layerIndex
:
number
geoJSON
:
Object
Returns
any
update
GeoJSONString
Feature
updateGeoJSONStringFeature
(
layerIndex
:
number
,
geoJSON
:
string
|
Object
)
:
any
Parameters
layerIndex
:
number
geoJSON
:
string
|
Object
Returns
any
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
default
Layer
Buffer
during
Init
max
Overzoom
Level
max
Zoom
min
Zoom
native
options
simplify
Tolerance
Methods
add
GeoJSONFeature
add
GeoJSONString
Feature
create
Layer
delete
Layer
dispose
get
Native
get
Projection
init
Native
View
load
Tile
remove
GeoJSONFeature
set
Layer
Feature
Collection
set
Layer
GeoJSON
set
Layer
GeoJSONString
update
GeoJSONFeature
update
GeoJSONString
Feature
Nativescript Doc
@nativescript-community/ui-carto
Loading...