Parse GeoObjects application flow IOS/Swift -


i'm working on prototype ios/swift application tracks user location on map. uses list of points parse backend show points of interest within radius of user. here question: i'm calling parse query "proximity" objects during "didupdateuserlocation" method. getting called every time phone location changes (which lot). proper place this? seems me after few users logged in , querying, parse interaction limit hit within few hours. or maybe don't understand how request limit works. tips?

this seems have side effect of closing open callouts on placed pins. every time location updated, callouts closed user cannot click on detail of callout.

your current setup bad idea. user without unlimited data plan unhappy you, , other users unhappy slowness of device when off wi-fi.

you should check location each time it's updated , limit requests server when update location far previous request location (that should store instance variables). need define far, 500m+

for map pins, ideally should check pins have , don't change them, list of new items have new location aren't on map , add them.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -