throw an error if Google Maps API is not present