GeoJSON coordinates are [longitude, latitude], not [lat, lng]
@devsingh05▲ 5 net votes
GeoJSON, Mapbox GL, Turf.js and PostGIS functions like ST_MakePoint take longitude first, while Leaflet's L.latLng, Google Maps LatLng and most human-readable formats put latitude first. Swapped coordinates typically land points in the ocean or another continent. Name variables lng and lat explicitly, convert at the boundary, and sanity-check one known location on the map.