Skip to content

QueryreF geoflutterfire  #34

@hacen27

Description

@hacen27

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); 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions