Groups
Groups
Sign in
Groups
Groups
Google Apps Script Community
Conversations
Labels
About
Send feedback
Help
Embedding Maps/Any iframe to a Workspace Add-on widget
172 views
Skip to first unread message
Alex
unread,
Dec 22, 2021, 10:32:59 PM
12/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Apps Script Community
Hi!
Is it possible to embed Google Maps to a Workspace Add-on? Like this
I can't find anything about this.
Martin Hawksey
unread,
Dec 23, 2021, 3:11:58 AM
12/23/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Apps Script Community
Hi Alex,
So I'm guessing the problem you are encountering is no iframe support in CardService? In Google Chat, which has a similar Card Service, the solution presented is a static image and button
https://developers.google.com/chat/api/guides/message-formats/cards
Here is some modified whereis bot code I wrote
for a talk
which generates a map and marker as an image in apps script (this stores/servers the image in Google Drive)
https://script.google.com/home/projects/126aKgvDPAdd58vW0xe4TlVRASCFK36YxfpenjBlYGuZHvLhVTiqE5gE6/edit
Some questions for you to solve if planning to put this into production, but hopefully gives you an idea of how to approach
Best
Martin
Alex
unread,
Dec 23, 2021, 4:15:20 AM
12/23/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Apps Script Community
Hi Martin!
Thank you so much!
I was looking for something interactive.
I agree that static maps can be used if conditions allow it.
Reply all
Reply to author
Forward
0 new messages