TileStore Class is a tile-lookup system that splits and simplifies as needed for each tile request
import { TileStore } from 'gis-tools-ts';const tileStore = new TileStore(data, { projection: 'WG', minzoom: 0, maxzoom: 9, indexMaxzoom: 4, tolerance: 3, buffer: 0.0625 buildBBox: false});// get a tileconst tile = tileStore.getTile(id); Copy
import { TileStore } from 'gis-tools-ts';const tileStore = new TileStore(data, { projection: 'WG', minzoom: 0, maxzoom: 9, indexMaxzoom: 4, tolerance: 3, buffer: 0.0625 buildBBox: false});// get a tileconst tile = tileStore.getTile(id);
Optional
input data may be WM or S2 as a Feature or a Collection of Features
options to define how to store the data
Builds the tile store with the input data
the input data
Builds the tile store with the input reader
the input reader
the tile id to acquire
Tile Store
Description
TileStore Class is a tile-lookup system that splits and simplifies as needed for each tile request
Usage