Talk to us

1.
Why include Google Street View on your website?

There are a number of reasons why you might want to include Google Street View on your website. If you want customers to be easily able to find your office or shop, you could include it on your 'about us' or 'contact us' page.

Perhaps your business is an architecture firm or builders. You can use Street View to show off an example of a building you've created.

Google Street View allows you to show the surrounding areas of a map location and allows the user to move forwards, backwards, or from side-to-side.

2.
The problem: embedding Street View isn't always simple…

In-order to include Google Street View on a website, the Google Maps API JavaScript library needs to be included on the webpage that is using Google Street View. To set the positioning of Google Street View, the following technical information needs to be set:

  1. Latitude

    Measures the north-south position from an imaginary line that calculates the distance from the equator.

  2. Longitude

    Measures the east-west position from an imaginary line that goes from the North Pole to the South Pole and passes through Greenwich in London.

  3. Heading

    The rotation angle of the image. The angle is measured clockwise relative to north.

  4. Pitch

    The angle variance 'up' or 'down' from the image's initial angle.

  5. Zoom

    The number of times the image has been zoomed in.

  6. Pano

    A unique ID which helps with the positioning of custom Street View panoramas, such as inside a building.

Trying to find this information using Street View on Google's website is very difficult, as this information is not displayed to the user.

3.
The solution: Fresh Egg's Google Street View Search

4.
Use our Google Street View Search on your own website

Fresh Egg has provided a GitHub repository for the work that we've done. The GitHub repository can be found here:

https://github.com/FreshEggLtd/google-street-view-search

The Street View Search makes it much easier to display the exact Google Street View map you want on a web page when it loads, without the need to know lots of technical jargon.

That said, knowledge of JavaScript is a must. Knowledge of a back-end codebase, such as ASP.NET, is also essential if the tool is to be implemented into a website CMS.

Need development support for your website?

Our expert team of web developers can help. For more information, contact us.

Talk to us

Get Fresh Thinking in your inbox

Get expert insights, event invites, and practical guides on digital marketing - every fortnight, in our newsletter.

This site is protected by reCAPTCHA.
You may unsubscribe from these communications at any time. Please review our Privacy Policy.