Test if user location is valid if not fall back to default lat/long to remove console errors
To remove the JS console errors, first test the location is a valid lat/long before centering, and if not valid fall back to the default.
To remove the JS console errors, first test the location is a valid lat/long before centering, and if not valid fall back to the default.