Commit 9a44395e authored by git's avatar git Committed by Christian Adamski
Browse files

Issue #3232561 by Rob.S: View with exposed filter loads with an unintended geocoded position

parent cf2bf4b6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -82,6 +82,10 @@ class GoogleGeocodingAPI extends GoogleGeocoderBase {
   * {@inheritdoc}
   */
  public function geocode($address) {
    if (empty($address)) {
      return FALSE;
    }

    $config = \Drupal::config('geolocation_google_maps.settings');
    $query_params = [
      'address' => $address,