@deck.gl/geo-layers
Advanced tools
Comparing version 7.3.8 to 7.3.9
@@ -42,3 +42,3 @@ "use strict"; | ||
var offsets = [[0, 0], [0, 1], [1, 1], [1, 0], [0, 0]]; | ||
var resolution = Math.max(1, MAX_RESOLUTION * Math.pow(2, -level)); | ||
var resolution = Math.max(1, Math.ceil(MAX_RESOLUTION * Math.pow(2, -level))); | ||
@@ -45,0 +45,0 @@ for (var i = 0; i < 4; i++) { |
@@ -25,3 +25,3 @@ import { S2 } from 's2-geometry'; | ||
const offsets = [[0, 0], [0, 1], [1, 1], [1, 0], [0, 0]]; | ||
const resolution = Math.max(1, MAX_RESOLUTION * Math.pow(2, -level)); | ||
const resolution = Math.max(1, Math.ceil(MAX_RESOLUTION * Math.pow(2, -level))); | ||
@@ -28,0 +28,0 @@ for (let i = 0; i < 4; i++) { |
@@ -30,3 +30,3 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
var offsets = [[0, 0], [0, 1], [1, 1], [1, 0], [0, 0]]; | ||
var resolution = Math.max(1, MAX_RESOLUTION * Math.pow(2, -level)); | ||
var resolution = Math.max(1, Math.ceil(MAX_RESOLUTION * Math.pow(2, -level))); | ||
@@ -33,0 +33,0 @@ for (var i = 0; i < 4; i++) { |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "7.3.8", | ||
"version": "7.3.9", | ||
"publishConfig": { | ||
@@ -48,3 +48,3 @@ "access": "public" | ||
}, | ||
"gitHead": "51690c8b501b3f08f0f337a83742da48d8acc8f4" | ||
"gitHead": "f7db99298b19fbabe84493a99ddfa3ace3c92cf6" | ||
} |
@@ -37,3 +37,3 @@ // s2-geometry is a pure JavaScript port of Google/Niantic's S2 Geometry library | ||
// when there are a large number of cells | ||
const resolution = Math.max(1, MAX_RESOLUTION * Math.pow(2, -level)); | ||
const resolution = Math.max(1, Math.ceil(MAX_RESOLUTION * Math.pow(2, -level))); | ||
@@ -40,0 +40,0 @@ for (let i = 0; i < 4; i++) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2382941