From 7dfd130330dbc2893c4d3c41a9e804ab45a14c45 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Tue, 26 Jan 2021 23:46:22 +0000 Subject: [PATCH] draw 800km circles around both poles --- examples/tissot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tissot.js b/examples/tissot.js index 6388b0cfeb..747b5e87ed 100644 --- a/examples/tissot.js +++ b/examples/tissot.js @@ -58,7 +58,7 @@ const map3857 = new Map({ const radius = 800000; let x, y; for (x = -180; x < 180; x += 30) { - for (y = -90; y < 90; y += 30) { + for (y = -90; y <= 90; y += 30) { const circle4326 = circularPolygon([x, y], radius, 64); const circle3857 = circle4326.clone().transform('EPSG:4326', 'EPSG:3857'); vectorLayer4326.getSource().addFeature(new Feature(circle4326));