updated ionic and now map only asks for geolocation when clicking center button