Add NUM_STEPS as an env / config variable to increase the distance pokesearch searches #2
Add DISTANCE_UNIT=meters/miles(default=miles) to toggle between metric and freedom units (displayed as meters away and miles away)
Both NUM_STEPS and DISTANCE_UNITS have default values (5 and 'miles' respectively) to preserve backward compatibility, and will be required in the next release
Bugs
Fix the way env variables are loaded by introducing pokeconfig.py. This fixes Windows, where $USERNAME was incorrectly loaded when running locally.
Misc
Replaced map search implementation generate_location_steps with the latest from PokemonGo-Map
Disabled debug data loading for now
Unify Pokemon dictionary object into a Pokemon class with
Use position as a tuple (lat, lng, 0) everywhere instead of p['lat'], p['lng']
Features
NUM_STEPS
as an env / config variable to increase the distance pokesearch searches #2DISTANCE_UNIT=meters/miles
(default=miles) to toggle between metric and freedom units (displayed as meters away and miles away)NUM_STEPS
andDISTANCE_UNITS
have default values (5 and 'miles' respectively) to preserve backward compatibility, and will be required in the next releaseBugs
pokeconfig.py
. This fixes Windows, where $USERNAME was incorrectly loaded when running locally.Misc
generate_location_steps
with the latest from PokemonGo-MapPokemon
class with(lat, lng, 0)
everywhere instead ofp['lat'], p['lng']