kotcity4 / kotcity.data / CityMap / locationsInRectangle

locationsInRectangle

fun locationsInRectangle(topLeft: BlockCoordinate, bottomRight: BlockCoordinate): List<Location>

Returns a list of Locations in the provided rectangle of coordinates

Parameters

topLeft - top left of rectangle

bottomRight - bottom right of rectangle

Return
List of Locations that we found