Skip to Content
Former Member
Oct 12, 2015 at 02:44 PM

GoogleApiKey not used in GoogleMapTools



We realised that when using the DefaultStoreFinderService the underlying Google Geocode Api Call made by the de.hybris.platform.storelocator.impl.GoogleMapTools.class doesn't use the configured "googleApiKey" and we therefore often receive the following Response for the REST Call in GoogleMapTools.geocodeAddress(addressData)

 <?xml version="1.0" encoding="UTF-8"?>
  <error_message>You have exceeded your daily request quota for this API. We recommend registering for a key at the Google Developers Console:</error_message>

How can we make sure that the configured googleApiKey (set in as described here is used in that case?

We're running hybris 5.2