1
0
Fork 0
forked from 0x2620/oxjs

correct cross the 180th meridian (antimeridian) handling

This commit is contained in:
j 2025-08-06 19:10:04 +02:00
commit e917bce40d

View file

@ -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 = {