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, ...
Get Google Maps JavaScript API Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.