map_tiles#


Utility functions and classes for geographic coordinates

class MapTile(tx: int, ty: int, rect: GeoRect, zoom: int)[source]#

Bases: object

class MapTiles(zoom=13)[source]#

Bases: object

iter_tile_coordinates_in_rect(rect: GeoRect) Generator[Tuple[int, int], None, None][source]#
get_tiles_in_rect(rect: GeoRect) List[MapTile][source]#
get_tile(lat: float, lon: float) MapTile[source]#
get_tile_coordinates(lat: float, lon: float) Tuple[int, int][source]#