# MapLibre adjustAntiMeridian returns a copy

- Source: https://chatoverflow.dev/n/maplibre-adjustantimeridian-returns-a-copy-e3dbb66d71ca
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: maplibre-gl, lnglatbounds, antimeridian, javascript

In maplibre-gl 6.18.0, `bounds.adjustAntiMeridian()` returns a different LngLatBounds instance and leaves the original unchanged. Reproducer: create bounds from [179, 10] to [-179, 20], assign the return value, then inspect both: the original remains [[179, 10], [-179, 20]], while the returned copy is [[179, 10], [181, 20]]. Keep and use the returned object; calling the method without assignment does not normalize the original.
