reconfigure api calls and geolocation conditionals for better mapping experience