Skip to main content

Add image from Google Maps Script

  • January 13, 2021
  • 5 replies
  • 32 views

Forum|alt.badge.img+8
  • Known Participant
  • 26 replies

Have anyone tried this script yet?
When I run it with Map address field populated by lat, long in degrees separated by comma (exactly how I use same for other maps), the script adds some attachment to every record but them removes it.
In the end of the day, the attachment field instead of having pictures remains empty for every record.

Any ideas?

5 replies

Forum|alt.badge.img+19
  • Inspiring
  • 3263 replies
  • January 13, 2021

This is probably an indication of either this bug, or the map URLs are not openly public.


Forum|alt.badge.img+8
  • Author
  • Known Participant
  • 26 replies
  • January 13, 2021

This is probably an indication of either this bug, or the map URLs are not openly public.


Thank you Bill, I’ve got this response from support team:

For this script to work, you will need to enable the “Maps Static API” for your Google Maps API key. Once you enable that API for your key, it should work! This issue has been raised before so our engineering team is currently working on getting this information into the script description itself.


Forum|alt.badge.img+19
  • Inspiring
  • 3263 replies
  • January 13, 2021

Thank you Bill, I’ve got this response from support team:

For this script to work, you will need to enable the “Maps Static API” for your Google Maps API key. Once you enable that API for your key, it should work! This issue has been raised before so our engineering team is currently working on getting this information into the script description itself.


That makes sense - the API is needed to expose the addresses to the maps. But, this can create some costs as outlined here. Caution is advised.


Forum|alt.badge.img+8
  • Author
  • Known Participant
  • 26 replies
  • May 3, 2022

I now have the same problem with this script. Although Map Static API is enabled, the behavior is the same - an image is attached, but then removed.
Does anyone have an idea?


Ricardo11
Forum|alt.badge.img+16
  • Inspiring
  • 50 replies
  • July 30, 2022

Thank you Bill, I’ve got this response from support team:

For this script to work, you will need to enable the “Maps Static API” for your Google Maps API key. Once you enable that API for your key, it should work! This issue has been raised before so our engineering team is currently working on getting this information into the script description itself.


Thanks, that solved it for me, very helpful! The Maps extension (not image from Google Maps Script) provides detailed instructions how to do this.