getTilesForRegion

fun getTilesForRegion(currentLatitude: Double = 0.0, currentLongitude: Double = 0.0, radius: Double = 250.0, zoom: Int = 16): MutableList<Tile>

Given a radius and location it calculates the set of tiles (VectorTiles) that cover a circular region around the specified location.

Return

A MutableList of VectorTiles covering the searched region

Parameters

currentLatitude

The center of the region to search.

currentLongitude

The center of the region to search.

radius

The radius of the region to get adjoining tiles in meters