enabled offline MIN route, added validation, and improved geolocation for offline case