From e917bce40db70b4573f6ed7fcc25f325da3ef719 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 6 Aug 2025 19:10:04 +0200 Subject: [PATCH] correct cross the 180th meridian (antimeridian) handling --- source/UI/js/Map/MapPlace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/UI/js/Map/MapPlace.js b/source/UI/js/Map/MapPlace.js index 38cfa103..2ca60622 100644 --- a/source/UI/js/Map/MapPlace.js +++ b/source/UI/js/Map/MapPlace.js @@ -44,7 +44,7 @@ Ox.MapPlace = function(options) { update(); function update(updateMarker) { - if (that.east < 0 && that.west > 0) { + if (that.west > that.east) { that.east += 360; } that.points = {