codeforamerica / ebt-near-me

A mobile app that shows the nearest places you can use an EBT card nationwide.
http://ebtnearme.org
MIT License
9 stars 15 forks source link

Fix flash #22

Closed lippytak closed 9 years ago

lippytak commented 9 years ago

I think this fixes https://github.com/fureigh/ebt-near-me/issues/19 and https://github.com/fureigh/ebt-near-me/issues/18 on iOS. Though I imagine you wanted to use watchPosition in order to load new markers while panning, so you'll probably have to adopt another fix later.

fureigh commented 9 years ago

Thanks for this, @lippytak!

I'm under the impression that watchPosition can yield more accurate results than getCurrentPosition, but I'm happy to merge this now and return to a combination approach later. The user's location doesn't inherently change while they're panning (unless they're also, say, in a moving vehicle), so we should be good there.