added useGoogleMaps method