Forum

Thread tagged as: Question, Problem, Field-Types

Google Maps Integration

Hi

Using the current map field type within Perch I am receiving bad page requests for addresses which are verified in the find location editor in the admin console:

 https://maps.google.com/maps/api/staticmap?center=-33.87615648437848,151.226…m=14&maptype=map&markers=color:red|color:red|-33.867391,151.20211199999994

As Google maps have updated their API, when trying to process this request via the browser, I am receiving:

The Google Maps API server rejected your request. Invalid request. Invalid 'size' parameter.
Vinay Jagessar

Vinay Jagessar 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

What dimensions have you set for the map in your template?

ooh good spot! I was seeing the same problem, and had sizes set as % values, which it didn't like