π‘ Home π Chapter π Prev π Next
β‘Β GMapsBook.com is crafted by Jozef Sorocin (π’Β Book a consulting hour) and powered by:
So far weβve talked about purely visual Maps APIs β the Javascript API and the Static API.
The Google Maps Platform suite offers two more incredibly useful APIs:
The scopes of these two APIs overlap heavily so in this chapter, you will learn how to distinguish between them, how to use them in conjunction, and when to deploy each independently.
First off, letβs clarify some terminology.
Geocoding is the process of turning an address into coordinates (latitude & longitude.)
Generally speaking, youβd use the Geocoding API to transform:
into full, properly formatted addresses with latitude & longitude and clearly separated address components β street name & house number, district, postal code, administrative area, country name, and the 2-letter country ISO code.
Cobrugurgbastei 1
(purposefully misspelled "Coburgbastei", a street in Vienna, Austria), the Geocoding API will respond with the formatted address Coburgbastei 1, 1010 Wien, Austria
and the individual address components: