Preparing search index...
The search index is not available
pmtiles
pmtiles
Cache
Interface Cache
Interface for caches of parts (headers, directories) of a PMTiles archive.
interface
Cache
{
getArrayBuffer
:
(
(
source
,
offset
,
length
,
header
)
=>
Promise
<
ArrayBuffer
>
)
;
getDirectory
:
(
(
source
,
offset
,
length
,
header
)
=>
Promise
<
Entry
[]
>
)
;
getHeader
:
(
(
source
)
=>
Promise
<
Header
>
)
;
invalidate
:
(
(
source
)
=>
Promise
<
void
>
)
;
}
Index
Properties
get
Array
Buffer
get
Directory
get
Header
invalidate
Properties
get
Array
Buffer
get
Array
Buffer
:
(
(
source
,
offset
,
length
,
header
)
=>
Promise
<
ArrayBuffer
>
)
Type declaration
(
source
,
offset
,
length
,
header
)
:
Promise
<
ArrayBuffer
>
Parameters
source
:
Source
offset
:
number
length
:
number
header
:
Header
Returns
Promise
<
ArrayBuffer
>
get
Directory
get
Directory
:
(
(
source
,
offset
,
length
,
header
)
=>
Promise
<
Entry
[]
>
)
Type declaration
(
source
,
offset
,
length
,
header
)
:
Promise
<
Entry
[]
>
Parameters
source
:
Source
offset
:
number
length
:
number
header
:
Header
Returns
Promise
<
Entry
[]
>
get
Header
get
Header
:
(
(
source
)
=>
Promise
<
Header
>
)
Type declaration
(
source
)
:
Promise
<
Header
>
Parameters
source
:
Source
Returns
Promise
<
Header
>
invalidate
invalidate
:
(
(
source
)
=>
Promise
<
void
>
)
Type declaration
(
source
)
:
Promise
<
void
>
Parameters
source
:
Source
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
get
Array
Buffer
get
Directory
get
Header
invalidate
pmtiles
Compression
TileType
EtagMismatch
FetchSource
FileSource
PMTiles
Protocol
ResolvedValueCache
SharedPromiseCache
Cache
Entry
Header
RangeResponse
Source
DecompressFunc
bytesToHeader
findTile
leafletRasterLayer
tileIdToZxy
zxyToTileId
Loading...
Generated using
TypeDoc
Interface for caches of parts (headers, directories) of a PMTiles archive.