istornz / iPokeGo

A native iOS client to map the Pokemon around you!
https://github.com/RocketMap/RocketMap
MIT License
642 stars 168 forks source link

Add option to only show notification if pokemon is in range, with adj… #213

Closed markvl91 closed 8 years ago

markvl91 commented 8 years ago

…ustable range.

Not sure if MKMapView's user location updates in the background, otherwise up-to-date coordinates need to be pulled from somewhere else.

Solves #163, partially solves #192.

markvl91 commented 8 years ago

Any suggestions for range options? For ease of use I've added a pickerview with values ranging from 0 - 25000 meters.

With a spawn time till hidden of 15 minutes, you'd need to move ~100km/h to get to the furthest possible spawns. I suppose that could lead to unsafe situations, but I'm don't feel like we're in a position to decide about that.

For reference, 10k would require a speed of 40km/h, 5k would require 20km/h, 2.5k 10km/h.

I feel like 2.5k and 5k are nice values for bikers, with 5k having slight overlap with cars/scooters considering this is point-to-point, not taking into account roads.

Also, still planning to have infinite instead of 0m, as 0m simply means no notifications, and there's an option for that.