imperiumlabs / GeoFirestore-Android

GeoFirestore for Android - Realtime location queries with Firestore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add updateCriteria method

cammace opened this issue · comments

In the case of map querying, I want to update the query radius and center when the map camera finishes moving. This requires calling both setCenter() and setRadius() which both internally call setupQueries(). I'm proposing adding an updateCriteria method which takes in both a new radius and center GeoPoint, setting the values and then calling setupQueries().

cc: @theonlynick0430

I was looking for the same function and reading the GeoQuery.java file i found that this methods exists already.