Nativescript Doc
Preparing search index...
The search index is not available
@nativescript-community/ui-carto
@nativescript-community/ui-carto
datasources/cache
PersistentCacheTileDataSource
Class PersistentCacheTileDataSource
Hierarchy (
View Summary
)
TileDataSource
<
any
,
PersistentCacheTileDataSourceOptions
>
PersistentCacheTileDataSource
Index
Constructors
constructor
Properties
cache
Only
Mode
capacity
during
Init
max
Overzoom
Level
max
Zoom?
min
Zoom?
native
options
Methods
clear
dispose
get
Native
get
Projection
init
Native
View
load
Tile
start
Download
Area
stop
All
Downloads
Constructors
constructor
new
PersistentCacheTileDataSource
(
options
?:
PersistentCacheTileDataSourceOptions
,
native
?:
any
,
)
:
PersistentCacheTileDataSource
Parameters
Optional
options
:
PersistentCacheTileDataSourceOptions
Optional
native
:
any
Returns
PersistentCacheTileDataSource
Properties
cache
Only
Mode
cacheOnlyMode
:
boolean
capacity
capacity
:
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
:
PersistentCacheTileDataSourceOptions
Methods
clear
clear
()
:
any
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
:
PersistentCacheTileDataSourceOptions
)
:
void
Parameters
native
:
any
options
:
PersistentCacheTileDataSourceOptions
Returns
void
load
Tile
loadTile
(
x
:
any
,
y
:
any
,
z
:
any
)
:
any
Parameters
x
:
any
y
:
any
z
:
any
Returns
any
start
Download
Area
startDownloadArea
<
T
=
DefaultLatLonKeys
>
(
mapBounds
:
MapBounds
<
T
>
,
minZoom
:
number
,
maxZoom
:
number
,
tileDownloadListener
:
TileDownloadListener
,
)
:
any
Type Parameters
T
=
DefaultLatLonKeys
Parameters
mapBounds
:
MapBounds
<
T
>
minZoom
:
number
maxZoom
:
number
tileDownloadListener
:
TileDownloadListener
Returns
any
stop
All
Downloads
stopAllDownloads
()
:
any
Returns
any
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
cache
Only
Mode
capacity
during
Init
max
Overzoom
Level
max
Zoom
min
Zoom
native
options
Methods
clear
dispose
get
Native
get
Projection
init
Native
View
load
Tile
start
Download
Area
stop
All
Downloads
Nativescript Doc
@nativescript-community/ui-carto
Loading...