From 326694645ef807d8281a552defcaf884d93f7de5 Mon Sep 17 00:00:00 2001 From: Piotr Podusowski Date: Mon, 24 Jun 2024 21:57:52 +0200 Subject: [PATCH 1/2] typo fix --- walkers/src/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/walkers/src/map.rs b/walkers/src/map.rs index 10f59d2..528b85f 100644 --- a/walkers/src/map.rs +++ b/walkers/src/map.rs @@ -104,7 +104,7 @@ impl Projector { let projected_position = position.project(self.memory.zoom.into()); // We need the precision of f64 here, - // since some "gaps" between tiles are noticable on large zoom levels (e.g. 16+) + // since some "gaps" between tiles are noticeable on large zoom levels (e.g. 16+) let zoom: f64 = self.memory.zoom.into(); // We also need to know where the map center is. From d05a924442058ebc6b366bdca620f6b846115fdf Mon Sep 17 00:00:00 2001 From: Piotr Podusowski Date: Mon, 24 Jun 2024 21:59:59 +0200 Subject: [PATCH 2/2] zoom functions --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ffdf223..03c680c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file. ## Unreleased + * New functions in `MapMemory` for getting and setting the zoom level: `zoom` and `set_zoom`. * In-memory cache is now limited to 256 tiles. Previously it grew indefinitely. * `TilesManager` trait is now called `Tiles` and `Tiles` struct is now called `HttpTiles`.