Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/jpa/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Firebase Can';不要在有火基火堆的地方繁殖_Firebase_Flutter_Google Cloud Firestore - Fatal编程技术网

Firebase Can';不要在有火基火堆的地方繁殖

Firebase Can';不要在有火基火堆的地方繁殖,firebase,flutter,google-cloud-firestore,Firebase,Flutter,Google Cloud Firestore,我试图通过查找正方形内的所有文档(通过LAT和LNG[lon在我的例子中是LNG])来过滤我的查询 (由northeastLat+northeastLon+southwestLat+southwestLon)由我每次都会得到一个错误 我做错了什么 我甚至试着把它们分成四个问题 query = query.where("location.geoLocation.lat", isLessThanOrEqualTo: locationDetail

我试图通过查找正方形内的所有文档(通过LAT和LNG[lon在我的例子中是LNG])来过滤我的查询 (由northeastLat+northeastLon+southwestLat+southwestLon)由我每次都会得到一个错误

我做错了什么

我甚至试着把它们分成四个问题

       query = query.where("location.geoLocation.lat",
           isLessThanOrEqualTo: locationDetails.northeastLat);
       query = query.where("location.geoLocation.lon",
           isLessThanOrEqualTo: locationDetails.northeastLon);
       query = query.where("location.geoLocation.lat",
           isGreaterThanOrEqualTo: locationDetails.southwestLat);
       query = query.where("location.geoLocation.lon",
           isGreaterThanOrEqualTo: locationDetails.southwestLon);


你得到了什么错误?