Issue with Setting Map Region

Created on 9 July 2024, 6 months ago

We are encountering an issue with setting the map region`region=MA` parameter in the Geofield module with Google Maps API,

it tried to solve this in GoogleMapsService.php:


$api_url = isset($this->gmapApiLocalization[$index]) ? $web_protocol . $this->gmapApiLocalization[$index] : $web_protocol . $this->gmapApiLocalization['default'];
  $api_url .= '?region=MA';
  return $api_url;
}

But unfortunately its not working, any solution to this please?

Thanks in advance

💬 Support request
Status

Active

Version

3.0

Component

Code

Created by

🇲🇦Morocco achrafon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024