let MultiPointArr=[[113,23],[120,50]]
let MultiPoint={
"type": "MultiPoint",
"coordinates": MultiPointArr
}
let data= {
PointArr:MultiPoint
}
const db = wx.cloud.database()
db.collection(Name).doc(ID).update({
data:data
}).then(res=>{
console.log(res)
})
//这样写后,为什么数据库中显示PointArr字段的属性不是GeoMultiPoint?是object?是哪里写错了吗?请教!!!
并且,不能用geoNear方法查询.....