On this page

Type Alias CoveringTilesOptionsInternal

CoveringTilesOptionsInternal: CoveringTilesOptions & {
    calculateTileZoom?: CalculateTileZoomFunction;
    reparseOverscaled?: boolean;
    terrain?: Terrain;
}

Type Declaration

  • OptionalcalculateTileZoom?: CalculateTileZoomFunction

    Optional function to redefine how tiles are loaded at high pitch angles.

  • OptionalreparseOverscaled?: boolean

    true if tiles should be sent back to the worker for each overzoomed zoom level, false if not. Fill this option when computing covering tiles for a source. When true, any tile at maxzoom level that should be overscaled to a greater zoom will have its zoom set to the overscaled greater zoom. When false, such tiles will have zoom set to maxzoom.

  • Optionalterrain?: Terrain

    When terrain is present, tile visibility will be computed in regards to the min and max elevations for each tile.

Was this helpful?
SDK JS
Reference
CoveringTilesOptionsInternal