Adding Street View to your maps

Google Maps already has good map data updated continuously with the ultimate cartographic quality. In addition, there comes the up-to-date satellite imagery. Although these were sufficient for Google Maps to be so popular and successful, there is another view that takes much interest—Street View.

Street View is the 360-degree panorama view from the roads that are covered under this service.


The complete listing of countries and cities where Street View is available can be found at

In this recipe, we will go over how to add Street View panoramas to the current view, switch between the map view and Street View, and set the panorama properties. ...

Get Google Maps JavaScript API Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.