Geopackage Bounding box
zoom level
Max and Min X Tiles
Calculates the ranges of tile need for a given latitude range.
Taken from Map Cache Electron
zoom level
Expand the bounds to include provided latitude and longitude value.
Bounding Box to be expanded
Uses turf to rotate a bounding box.
GeoPackage Bounding Box EPSG:4326
Rotation in degrees; clockwise rotations are negative
GeoPackage Bounding Box Rotated by given number of degrees
Returns the floor of the zoom level where 1 image pixel equals 1 tile pixel. floor(log_2((360 * imageWidth) / (bbox_width * tile_size)))
Must be in EPSG:4326
Must be in Pixels
zoom level
Converts the Min/Max Latitude and Longitude into EPSG:3857 (Web Mercator)
EPSG:#### string of the current projection
Geopackage Bounding Box
New Geopackage Bounding Box with the transformed coordinates.
Get height and width of a bounding box
geopackage bounding box.
Object with width and height
Creates a list of zoom level where the number of filled tiles changes.
Bounding box after rotation
Zoom level closest to one to one in terms of pixels
A set of zoom levels
Calls function for each tile needed.
Taken from Map Cache Electron
Bounding Box
Array of Zoom Levels
Finds the y position of a tile
Taken from Map Cache Electron
Latitude in degrees
Zoom level
Finds the x position of a tile
Taken from Map Cache Electron
longitude in degrees
Zoom level
Finds the Latitude of a tile
Taken from Map Cache Electron
y tile coordinate
Zoom level
Finds the Longitude of a tile
Taken from Map Cache Electron
x tile coordinate
zoom level
Converts tiles to a geopackage Bounding box.
x tile position
y tile position
zoom level
Geopackage Bounding box.
Generated using TypeDoc
Calculates the ranges of tile need for a given longitude range.
Taken from Map Cache Electron
GeoSpatialUtilities