Open hacen27 opened 1 year ago
How can I perform a geospatial query using GeoFlutterFire to find nearby locations within a certain radius from a given latitude and longitude? Exemple 👍
var queryRef = _firestore .collection('speedtestlocation2') .where('IPInfo', isNotEqualTo: 'Unknown ISP') .orderBy('IPInfo') .orderBy('avrg', descending: true);
var streams = geo.collection(collectionRef: queryRef).within( center: center, radius: 10, field: 'position', strictMode: true);
How can I perform a geospatial query using GeoFlutterFire to find nearby locations within a certain radius from a given latitude and longitude? Exemple 👍
var queryRef = _firestore .collection('speedtestlocation2') .where('IPInfo', isNotEqualTo: 'Unknown ISP') .orderBy('IPInfo') .orderBy('avrg', descending: true);