Class TileGeneratorAbstract
Constructors
Protected
constructor
- new TileGenerator(geoPackage: GeoPackage, tableName: string, boundingBox: BoundingBox, projection: Projection, zoomLevels: number[]): TileGenerator
-
Parameters
-
-
tableName: string
-
-
projection: Projection
-
zoomLevels: number[]
Properties
Protected
projection
projection: Projection
Methods
addZoomLevel
- addZoomLevel(zoomLevel: any): boolean
-
Returns boolean
addZoomLevelRange
- addZoomLevelRange(minZoom: number, maxZoom: number): boolean
-
Parameters
-
minZoom: number
-
maxZoom: number
Returns boolean
addZoomLevels
- addZoomLevels(zoomLevels: number[]): boolean
-
Returns boolean
close
- close(): void
-
Returns void
Protected
Abstract
createTile
- createTile(z: number, x: number, y: number): Promise<GeoPackageTile>
-
Parameters
-
z: number
-
x: number
-
y: number
generateTiles
- generateTiles(): Promise<number>
-
Returns Promise<number>
getCompressQuality
- getCompressQuality(): number
-
Returns number
getMaxZoom
- getMaxZoom(): number
-
Returns number
getMinZoom
- getMinZoom(): number
-
Returns number
getTableName
- getTableName(): string
-
Returns string
getTileCount
- getTileCount(): number
-
Returns number
getZoomLevels
- getZoomLevels(): number[]
-
Returns number[]
isSkipExisting
- isSkipExisting(): boolean
-
Returns boolean
isXYZTiles
- isXYZTiles(): boolean
-
Returns boolean
Protected
Abstract
preTileGeneration
- preTileGeneration(): void
-
Returns void
setCompressFormat
- setCompressFormat(compressFormat: ImageType): void
-
Returns void
setCompressQuality
- setCompressQuality(compressQuality: number): void
-
Returns void
setSkipExisting
- setSkipExisting(skipExisting: boolean): void
-
Returns void
setXYZTiles
- setXYZTiles(xyzTiles: boolean): void
-
Returns void
Creates a set of tiles within a GeoPackage