hirengevariya
hirengevariya
Hi, getting same issue with m schema // Create Geo Location Schema const GeoSchema = new mongoose.Schema({ type: {type: String, default: 'Point'}, coordinates: {type: [Number], index: '2dsphere'} }); // Create...
// Create Geo Location Schema const GeoSchema = new mongoose.Schema({ type: {type: String, default: 'Point'}, coordinates: {type: [Number], index: '2dsphere'} }); // Create Uer Location Schema const UserLocationSchema = new...
I have facing with below error message errors: { geometry: { CastError: Cast to Embedded failed for value "[72.591760, 23.014510]" at path "geometry" This is define schema // Create Geo...