added error handling to geolocation
Added map set center functionality