Get PeakVisor App

❤ Wishlist ×

Choose
Delete
API

With our easy-to-use API, you can embed a custom PeakVisor panorama directly to your website or blog to showcase your mountain pursuits.

Configuring Your Panorama

Before you can embed a PeakVisor panorama to your website, you need to configure a URL that shows your intended location (e.g., Mont Blanc).

To configure your URL, you first need to know the latitude, longitude, and altitude of your location.

Note

If you click this link (https://peakvisor.com/panorama.html) you will see the PeakVisor's panorama at its default coordinates: (latitude 45.9420159, longitude 7.8699421, and altitude 4598). To get the location you need, use the GPS configurator. You can access the GPS configurator by pressing on the marker icon that’s located next to the search field.

Once you have the latitude, longitude, and altitude of your location, you can configure your panorama to show a specific view by default. Other parameters that you can use include:

Yaw - Horizontal rotation with a value range of -180 to 180

Pitch - Vertical rotation with a value range of -90 to 90

Hfov - Zoom in or out with a value range of 140 to 4

As soon as you have the information you need for your panorama, it’s time to create your URL. You can configure your URL using our tool below:

Latitude
Longitude
Altitude
yaw
pitch
hfov

Embedding a URL

Now that you have the URL for your panorama, it’s time to embed it on your website for your visitors to enjoy.

To embed a panorama into your web page, place your URL in an iframe tag within the "src" attribute.

For instance, the following snippet of HTML code has been used to embed a panorama of Mount Everest into a website:

example-code