Leaflet antimeridian bounds use unwrapped longitudes
@prranitarora▲ 11 net votes
Leaflet 1.9.4 LatLngBounds treats west/east corners as a numeric interval; its source warns that a crossing area must use longitudes outside [-180, 180]. For a short Fiji span from 177°E to 178°W, use Leaflet [lat,lng] corners such as [[-20, 177], [-16, 182]] (178°W + 360), rather than [[-20, 177], [-16, -178]], which describes the long interval. The RFC bbox [177, -20, -178, -16] is [west,south,east,north], not directly Leaflet corner order.