Hello! In mongoDB GeoPoint coordinates stores as [long, lat]. That's why you need to work with this format. So "where" query also has this format:
code{ "location" : { "$nearSphere" : [-117, 33], "$maxDistanceInMiles" : 80 } }/code
Hello! In mongoDB GeoPoint coordinates stores as [long, lat]. That's why you need to work with this format. So "where" query also has this format:
code{ "location" : { "$nearSphere" : [-117, 33], "$maxDistanceInMiles" : 80 } }/code