See your calendar events in Google Maps using Google Apps Script
Google Apps Script is a cloud-based JavaScript platform that lets you integrate with and automate tasks across Google products.
In this article, I will show you how can you visualize google calendar events in the google maps using Google Calendar, Maps Javascript API, HTML, CSS and Google Apps Script.
Here is the links.
Configuration
Go to the Script and from overview tab choose make a copy option, your copy of the script will open in new window.
- Go to config.gs file and replace the CALENDAR_ID with your google calendar id. if you don’t know where to find google calendar id help yourself with this article.
- You can add the google maps API key in GOOGLE_MAPS_API_KEY variable if you want to use the script in production, if you don’t add the API key the script will run in test mode. here is the link of video on creating the google maps API key.
Deploy the web application from script editor
1. Go to Deploy button > New Deployment.
2. Press Deploy button & Authorize access
3. Copy the web application url.
4. Go to the link and filter the events by the date and events with location data will appear in the google maps. you can click on the events pointer to view more information about event.
Conclusion
It was the basic module of “events in the google maps” using Google Apps Script, you can modify and integrate the code in the other scripts also.
Here is the link of the Github Repo, The code is in the typescript, use clasp for the deployment.
Need Customized Automation for your Business? feel free to visit the website, we will be happy to help you.
Thank You