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 3. Adding Vector Layers

In this chapter, we will cover:

  • Adding markers to maps
  • Adding popups to markers or maps
  • Adding lines to maps
  • Adding polygons to maps
  • Adding circles/rectangles to maps
  • Adding animated lines to maps
  • Adding the KML/GeoRSS layer
  • Adding GeoJSON to the Google Maps JavaScript API
  • Adding WKT to the Google Maps JavaScript API

Introduction

This chapter is about vector layers, which are completely different from raster layers. This chapter gives you the most common and important recipes that you may need while working with the Google Maps JavaScript API.

In the GIS world, both the vector and raster layers are used in different cases. Vectors are used for representing the Earth's features in most cases. For example, Points of Interest ...

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