GeoFlutterFire icon indicating copy to clipboard operation
GeoFlutterFire copied to clipboard

Query documents from cache source

Open magax opened this issue 4 years ago • 2 comments

Is there any way to set if we want to retrieve documents whether from server or cache? The same way we can do it with the Firestore instance method getDocuments(source: Source.cache). Thanks.

magax avatar May 11 '20 05:05 magax

In addition to this it would be nice if somehow it caches the last query area, and query only newly added area. Assume, the camera zoom level isn't changed, If the map area moved to the East, only query new three east areas then return with existing 6 areas (without the West 3 areas). Similar to all other axes and combinations. Also option with refresh all 9 queries.

MartinJLee avatar May 23 '20 10:05 MartinJLee

Duplicate https://github.com/DarshanGowda0/GeoFlutterFire/issues/78

MartinJLee avatar May 23 '20 10:05 MartinJLee