Closed Tamil-Arya closed 7 years ago
Hi! Please ask your question on the Couchbase web forum or the Couchbase Mobile mailing list. We use Github issues only for bug reports and feature suggestions. Thanks.
Generally you do pagination of a query by setting the skip
and limit
properties.
I need to do pagination in the CATileLayer ( Blue print Map ) by using GeoQuery. But there is no more info about GeoQuery. Scenario : I implemented blue print using CATileLayer as Map for pointing particular location as well saving those data into the CouchDB. Now i have pointed more number of locations ( ex : 1000 location ) so now for this blue print i need to do pagination.
Saved in CouchDB : "CBLQueryRow[key={\"x\":30.87646403819598,\"rev\":\"74-6f383edea147189085edfeb95be\",\"type\":\"Location\",\"y\":138.300981086858,\"zoom\":1,\"latitude\":37.785834,\"longitude\":-122.406417}; value=(null); id=F8CC0F5EDAC0495BA406ADD404523B0B]" ) "CBLQueryRow[key={\"x\":10.87646403819598,\"rev\":\"24-757af6f383edea147189085edfeb95be\",\"type\":\"Location\",\"y\":68.981086858,\"zoom\":3,\"latitude\":54.85675834,\"longitude\":-152.406417}; value=(null); id=CC0F5EDAC0495BA406ADD404523B0B]" )
https://github.com/couchbase/couchbase-lite-ios/wiki/Geo-Querying