Skip to content

Commit

Permalink
Merge pull request #167 from podusowski/changelog
Browse files Browse the repository at this point in the history
Changelog
  • Loading branch information
podusowski committed Jun 24, 2024
2 parents 6731ac4 + d05a924 commit 04036fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion walkers/src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 04036fd

Please sign in to comment.