Tile
Defined in: src/source/tile.ts:68
A tile object is the combination of a Coordinate, which defines its place, as well as a unique ID and data tracking for its content
Methods
loadVectorData()
loadVectorData(
data:WorkerTileResult,painter:any,justReloaded?:boolean):void
Defined in: src/source/tile.ts:206
Given a data object with a 'buffers' property, load it into this tile's elementGroups and buffers properties and set loaded to true. If the data is null, like in the case of an empty GeoJSON tile, no-op but still set loaded to true.
Parameters
| Parameter | Type | Description | 
|---|---|---|
| data | WorkerTileResult | The data from the worker | 
| painter | any | the painter | 
| justReloaded? | boolean | trueto just reload | 
Returns
void
setSelfFadeLogic()
setSelfFadeLogic(
fadeEndTime:number):void
Defined in: src/source/tile.ts:171
Self fading for edge tiles (when panning map)
Parameters
| Parameter | Type | 
|---|---|
| fadeEndTime | number | 
Returns
void
unloadVectorData()
unloadVectorData():
void
Defined in: src/source/tile.ts:280
Release any data or WebGL resources referenced by this tile.
Returns
void