Skip to content

Commit

Permalink
Remove pub crate usage
Browse files Browse the repository at this point in the history
  • Loading branch information
terrorfisch committed Apr 23, 2023
1 parent 68618b5 commit bdf743a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maplibre/src/coords.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub const TILE_SIZE: f64 = 512.0;
/// [here](https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Zoom_levels).
/// This implementation allows 30 because this covers all tile sizes that can be represented
/// with signed 32-bit integers.
pub(crate) const MAX_ZOOM: u8 = 30;
const MAX_ZOOM: u8 = 30;

/// Represents the position of a node within a quad tree using the zoom level and morton encoding.
#[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Copy)]
Expand Down Expand Up @@ -95,7 +95,7 @@ impl ZoomLevel {
self.0 == 0
}

pub(crate) fn max_tile_coord(&self) -> u32 {
fn max_tile_coord(&self) -> u32 {
(1 << self.0) - 1
}

Expand Down

0 comments on commit bdf743a

Please sign in to comment.