Hey guys, for field point the order should be Latitude,Longitude because currently it's Longitude and Latitude, and I need to reverse when I need to supply coordinate to google maps or OSM
Is there anyway to fix this? will propose PR if it's needed
Cheers.
This is the standard order for GeoJSON fields in MongoDB.
https://www.mongodb.com/docs/manual/reference/geojson/That being said, how are you supplying the coordinates to Google Maps or OSM? I would expect there to be an opportunity to reorder these before being sent?
You could possibly use an afterRead hook to modify the data, but this may have implications in the Admin UI.
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.