error checking for nearby places coordinates