Google Geocode API & JavaScript Tutorial




In this video we will be working with the Google geocoding API to get all location info including latitude and longitude from an address or even from just the name of a city or state. We will build an application with a Bootstrap 4 form to interact with the API.

CODE: Code for this video
http://www.traversymedia.com/downloads/mygeocode.zip

Google Map API Tutorial:

SPONSORS:
DevMountain Bootcamp – https://goo.gl/6q0dEa

SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:
http://www.paypal.me/traversymedia
http://www.patreon.com/traversymedia

FOLLOW TRAVERSY MEDIA:
http://www.facebook.com/traversymedia

http://www.linkedin.com/in/bradtraversy

Original source


45 responses to “Google Geocode API & JavaScript Tutorial”

  1. Something for your viewers to consider is that the API Key must be unrestricted.  I discovered under the returned object the following statement:  Browser API key cannot have referrer restrictions when used with this API.    Note:  Your videos are well produced and explained.

  2. Your Tutorials rock. Thanks a lot. How hard will it be to create a store locator app? Im trying to put a store locator on a website, that will use html5 geolocation and google maps, to display my store locations on a map, and also give clients the ability to find the nearest store from their location. Thanks for your help. again you rock man.

  3. Good thing about Chrome console is that you can right click on the object property and copy the whole path. Just to be easier for u, probably u already know this but maybe it could be helpful for someone. Great tutorial as always!

  4. Another awesome video! I'm hoping for the day you release a "Mega course" for many different technologies with assignment and projects, mentorship etc.. no one seems to teach like you do!

  5. Brad, you rock. Please continue to do these Google API videos! They are so helpful and really motivate me to continue my coding journey! I spent a few hours on your first Google API video and am in love with the possibilities! Thank you so much for your great material.

Leave a Reply