O'Reilly logo

Google Maps JavaScript API Cookbook by Balkan Uraz, Alper Dincer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Finding coordinates for an address

Locating an address or place on the map has always been a tedious task, and the Google Maps JavaScript API eases this task with the geocoding service. Geocoding, in its simplest definition, is to associate geographic coordinates with the address information, be it only a street name, the detailed building number and zip code, or only a locality name.

By having the coordinates of your respective addresses, you can easily overlay them in your map applications.

In this recipe, you will succeed in entering your holiday places and addresses and then map them as markers on top of your base maps in your application.

Getting ready

This recipe will make use of the concepts related to adding vector layers, particularly markers, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required