Companion

object Companion

Functions

Link copied to clipboard
fun getLatPixelInTile(lat: Double, zoom: Int, tileSize: Int = 256): Double

Calculates the Y pixel coordinate of a given latitude within its tile.

Link copied to clipboard
fun getLonPixelInTile(lon: Double, zoom: Int, tileSize: Int = 256): Double
Link copied to clipboard
fun latToTile(lat: Double, zoom: Int): Int
Link copied to clipboard
Link copied to clipboard
fun lonToTileNormalized(lon: Double, zoom: Int, unWrapped: Boolean = false): Int