Germán Álvarez
Creating a routing app with Google Maps API from scratch
#1about 2 minutes
Overview of the three map applications to be built
A brief introduction to the three projects that will be created from scratch: a styled map, a geolocated map, and a route-planning application.
#2about 5 minutes
Setting up the basic HTML and script structure
Learn how to structure the HTML file, include the Google Maps API script with a key and callback function, and prepare the initial JavaScript setup.
#3about 9 minutes
Rendering a basic map with a marker and custom styles
Instantiate a basic map with a specific center and zoom level, add a marker to a location, and apply custom JSON styles for unique visual themes.
#4about 11 minutes
Using browser geolocation to center the map on the user
Access the user's location using the browser's `navigator.geolocation` API and dynamically update the map's center and add a marker to their current position.
#5about 22 minutes
Creating a complete route planning application
Build a routing feature by capturing user input for a destination, using geolocation for the origin, and leveraging the Directions Service and Directions Renderer to calculate and display the route on the map.
#6about 7 minutes
Q&A on API billing, local development, and best practices
A discussion covering the Google Maps API free tier, how usage is counted during local development, and important best practices like managing API keys in production.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
11:32 MIN
The industry's focus on frameworks over web fundamentals
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
14:14 MIN
Scripting presentations and demos in VS Code
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
06:44 MIN
Using Chrome's built-in AI for on-device features
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
03:05 MIN
Building collaborative design tools and the neo-brutalism trend
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
06:33 MIN
The security challenges of building AI browser agents
AI in the Open and in Browsers - Tarek Ziadé
11:10 MIN
The only frontend stack that truly matters
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
Featured Partners
Related Videos
Snappy UI needs no Single-Page Application
Clemens Helm
Catching up on the basics you don't really need that much code
Chris Heilmann
Meet Your New BFF: Backend to Frontend without the Duct Tape
Noam Honig
The Eventloop in JavaScript - How does it work?
Christian Woerz
Building Apps With a Mixture of Code and No Code
Mark Piller
Build Your Own Subscription-based Course Platform
Dávid Lévai
Add Location-based Searching to Site with ElasticSearch
Derek Binkley
Accessibility in React Application
Julia Undeutsch
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.


Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript

MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
Angular
TypeScript

Picnic Technologies B.V.
Amsterdam, Netherlands
Intermediate
Senior
RxJS
Angular
TypeScript


engelhardt softwareentwicklung GmbH
Ditzingen, Germany
Remote
CSS
GIT
HTML
Java
+10

GALEJOBS SELECCIÓN
A Coruña, Spain
Intermediate
API
CSS
HTML
React
Vue.js
+5

