@nativescript-community/ui-carto
Nativescript Doc
Preparing search index...
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
Geo
JSON
Feature
add
Geo
JSON
String
Feature
create
Layer
delete
Layer
dispose
get
Native
get
Projection
init
Native
View
load
Tile
remove
Geo
JSON
Feature
set
Layer
Feature
Collection
set
Layer
Geo
JSON
set
Layer
Geo
JSON
String
update
Geo
JSON
Feature
update
Geo
JSON
String
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
Geo
JSON
Feature
addGeoJSONFeature
(
layerIndex
:
number
,
geoJSON
:
Object
)
:
any
Parameters
layerIndex
:
number
geoJSON
:
Object
Returns
any
add
Geo
JSON
String
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
Geo
JSON
Feature
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
,
)
:
any
Parameters
layerIndex
:
number
projection
:
Projection
featureCollection
:
FeatureCollection
Returns
any
set
Layer
Geo
JSON
setLayerGeoJSON
(
layerIndex
:
number
,
geoJSON
:
Object
)
:
any
Parameters
layerIndex
:
number
geoJSON
:
Object
Returns
any
set
Layer
Geo
JSON
String
setLayerGeoJSONString
(
layerIndex
:
number
,
geoJSON
:
string
|
Object
)
:
any
Parameters
layerIndex
:
number
geoJSON
:
string
|
Object
Returns
any
update
Geo
JSON
Feature
updateGeoJSONFeature
(
layerIndex
:
number
,
geoJSON
:
Object
)
:
any
Parameters
layerIndex
:
number
geoJSON
:
Object
Returns
any
update
Geo
JSON
String
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
Geo
JSON
Feature
add
Geo
JSON
String
Feature
create
Layer
delete
Layer
dispose
get
Native
get
Projection
init
Native
View
load
Tile
remove
Geo
JSON
Feature
set
Layer
Feature
Collection
set
Layer
Geo
JSON
set
Layer
Geo
JSON
String
update
Geo
JSON
Feature
update
Geo
JSON
String
Feature
Nativescript Doc
@nativescript-community/ui-carto
Loading...