Request
https://maps.googleapis.com/maps/api/streetview?location=41.8893164%2C12.4932938&size=600x300&heading=315&fov=90&pitch=0&key=YOUR-API-KEY-HERE
<img width="600" src="https://maps.googleapis.com/maps/api/streetview?location=41.8893164%2C12.4932938&size=600x300&heading=315&fov=90&pitch=0&key=YOUR-API-KEY-HERE" alt="Google Street View map of 41.8893164,12.4932938" />
background-image: url(https://maps.googleapis.com/maps/api/streetview?location=41.8893164%2C12.4932938&size=600x300&heading=315&fov=90&pitch=0&key=YOUR-API-KEY-HERE);
How to use
- Get a Google Street View API key.
- Customize the fields to build your map.
- Copy and paste the generated code into your HTML document or a stylesheet.
About
You can add a static map to any website with simple HTML and no JavaScript. Using URL parameters, you can describe the type of map that you want and Google Street View will send it back.
The Static Map Maker helps you configure the Google Street View API parameters.
Check out Google Street View's static maps API.