| Crates.io | tiles-client |
| lib.rs | tiles-client |
| version | 0.8.1 |
| created_at | 2026-01-01 17:17:52.175695+00 |
| updated_at | 2026-01-03 19:57:55.01048+00 |
| description | Client for downloading tiles. |
| homepage | https://cyloncore.com |
| repository | https://gitlab.com/cyloncore/cartography-rs |
| max_upload_size | |
| id | 2016494 |
| size | 61,385 |
Download tiles from a tiles server and save them in a local file cache.
let client = tiles_client::ClientBuilder::new(
"com.examples.tiles_client",
"https://address.to.tile.server.org/{z}/{x}/{y}.png",
)
.build();
let tiles = client.tiles(
// Area
geo::Rect::new(
geo::Coord { x: -180.0, y: -80.0},
geo::Coord { x: 180.0, y: 80.0},
),
// Zoon level
1,
// Do not download tiles. Set to true to download tiles.
false,
);
It is the API user responsability to ensure compliance with the license of the tile server.