From 399d95b626aeb877907142bc164e1cf6fe3ae1fa Mon Sep 17 00:00:00 2001 From: katamartin Date: Tue, 2 Apr 2024 11:26:19 -0400 Subject: [PATCH 1/2] Add missing break for equirectangular case --- src/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils.js b/src/utils.js index 07cabb6..b8a130c 100644 --- a/src/utils.js +++ b/src/utils.js @@ -39,6 +39,7 @@ export const pointToTile = (lon, lat, z, projection, order) => { if (x < 0) x = x + z2 y = Math.max(Math.min(y, z2), 0) tile = [x, y, z] + break default: return } From ffd117ae5d7c5ea860f3bd685e23e2782ae89a94 Mon Sep 17 00:00:00 2001 From: katamartin Date: Tue, 2 Apr 2024 11:26:27 -0400 Subject: [PATCH 2/2] package-lock --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8d32e76..6a0fb26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@carbonplan/maps", - "version": "3.2.0", + "version": "3.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@carbonplan/maps", - "version": "3.2.0", + "version": "3.3.0", "license": "MIT", "dependencies": { "@turf/turf": "^6.5.0",