Constructors
constructor
- new GeoPackageTile(width: number, height: number, data: Buffer | Uint8Array, imageFormat?: ImageType): GeoPackageTile
-
Parameters
-
width: number
-
height: number
-
data: Buffer | Uint8Array
-
imageFormat: ImageType = ImageType.PNG
Properties
Readonly
height
height: number
Readonly
width
width: number
Methods
getData
- getData(): Buffer | Uint8Array
-
Returns Buffer | Uint8Array
getHeight
- getHeight(): number
-
Returns number
getMimeType
- getMimeType(): string
-
Returns string
getWidth
- getWidth(): number
-
Returns number
setData
- setData(data: Buffer): void
-
Returns void
GeoPackage tile wrapper containing tile dimensions and the image or raw image bytes