CHAPTER |
|
5 |
Google Maps API: The Building Blocks of Mapping Applications |
In the examples of the first few chapters of this book, you learned how to embed maps on web pages, and in the process you saw some of the members of the
google.maps
library, which provides all the functionality for setting up and manipulating a map at the client through JavaScript. This library is part of the script you include in every page that contains a Google map, and it exposes its functionality through different objects. The Map
object of the google.maps
library represents the map itself. The maps you embed to your pages are instances of this object, and you manipulate the map through the Map
object’s methods. You can set the map’s zoom level from within ...Get Google Maps 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.