worked on edge cases for map (in case user denies location permission, geolocation doesn't work