Insert data
db.places.insertOne({
name: 'California Academy of Sciences',
location: { type: 'Point', coordinates: [-122.4640133, 37.7690971] }
})
Type is GeoJSON Object.
Cordinates need to be provided first value as Longitude and second value as latitude