Chapter 2. Adding Raster Layers

In this chapter, we will cover:

  • Styling of Google base maps
  • Using different tile sources as base maps
  • Adding tile overlays to maps
  • Adding image overlays to maps
  • Changing the transparency of overlays
  • Creating a heat map
  • Adding a traffic layer
  • Adding a transit layer
  • Adding a bicycling layer
  • Adding weather and cloud layers
  • Adding a Panoramio layer

Introduction

This chapter will cover everything about working with raster layers. The collection of recipes is composed of the most common use cases of handling raster layers in the Google Maps JavaScript API.

Raster is one of the prime data types in the GIS world. The Google Maps JavaScript API presents an extensive set of tools to integrate external sources of imagery. Also, the API ...

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.