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

Chapter 6. Google Maps JavaScript Libraries

In this chapter, we will cover:

  • Drawing shapes on the map
  • Calculating the length/area of polylines and polygons
  • Encoding coordinates
  • Searching for and showing nearby places
  • Finding places with the autocomplete option
  • Adding drag zoom to the map
  • Creating custom popups / infoboxes

Introduction

This chapter delves into the additional JavaScript libraries that are part of the Google Maps JavaScript API. These libraries are not added to your application by default when you reference the Google Maps API; however, these can be added manually.

These libraries are classified into the following six categories:

  • drawing
  • geometry
  • places
  • panoramio
  • visualization
  • weather

The last three libraries in the preceding list—panoramio, visualization ...

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