Creating Static Google Maps - Apps Script | Maps Service ~ Episode 14.1

preview_player
Показать описание
Hey Coders! Did you know Apps Script can access Google Maps and create maps of any place in the world? You can search for not only street addresses and latitude/longitude coordinates, but also landmarks such as the Statue of Liberty, Taj Mahal, and the Colosseum. Need to create a visual display of your trip with pins, of top attractions, markers, and paths you took? Watch the above video to learn how to make static maps from your Apps Script editor for some serious Google Maps Automation!

Check out the source code on GitHub:

----------------------------------------------------------------------------------------------
🕒 Timestamps
0:00 Intro
1:03 How to Create a Static Map in Apps Script
2:20 Getting the Image of your Map and Sending it via Gmail
4:13 Set the Center of your Map
5:33 Set the Size of your Map
6:20 Set the Zoom of your Map
7:42 Set the Map Type of your Map
9:06 Require your Map to Display Certain Cities, Landmarks, etc.
10:51 Add Markers to your Map
12:39 How to Stylize the Markers on your Map
15:15 Adding Lines and Paths to your Map
17:15 How to Stylize the Paths on your Map
----------------------------------------------------------------------------------------------
Other playlists:

-----------------------------------
Google Cloud
-----------------------------------
App Engine:

Google Cloud Orientation:

-----------------------------------
Apps Script
-----------------------------------
Data Studio Service:

Maps Service:

Utilities Service:

Properties Service:

URL Fetch Service:

Drive Service:

Forms Service:

Lock Service:

HTML Service:

Document Service:

Slides Service:

Calendar Service:

Script Service:

Gmail Service:

Spreadsheet Service:

Apps Script Orientation:
----------------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Hi David,
Why i found error when execute the script as example returns
"Exception: Blob object must have non-null content type for this operation."

// send the email
GmailApp.sendEmail(addressEmail, subjectEmail, '', { attachments: [Utilities.newBlob(map)] });

How could i resolve this.
Thanks.

YugoGautomo
Автор

very nice video. Can you show methods for google maps api too? can I contact you by email too

nandakumarthananjeyan