Controlling the initial viewpoint and zoom of your panorama

When you display your panorama in a web page, you can control the initial view direction and.zoom of the panorama.  In addition, you can set the initial viewpoint to different places using the #bookmark notation on the URL of the web page that displays the panorama.


Setting the default viewpoint and zoom
Setting the initial viewpoint and zoom



 

Setting the default viewpoint and zoom

To set the default initial viewpoint, you make a special hotspot on the panorama.  Using the Hotspoteinstellungen / Hotspot properties dialog box, draw a hotspot that covers the area that you want to display in the viewer.

To make a hotspot set the initial viewpoint, select the Dieser Hotspot dient auch der Startposition / This hotspot is the default view checkbox on the Hotspoteinstellungen / Hotspot properties dialog box.  This will cause the viewer to zoom, pan and tilt to show the area of the hotspot.

The initial zoom is also controlled by the hotspot. The size of the hotspot determines the initial zoom setting.  The smallest rectangle that encloses the hotspot will expand to fill the viewer.  A smaller area will zoom in and a larger area will zoom out.

If you select the Setze den Neigungswinkel auf Null / Set tilt angle to zero checkbox, the hotspot will still set pan and zoom, but the tilt angle will be set to zero so that the viewer will be looking straight ahead.  This usually provides a more natural view than tilting up or down, but the zoom factor may be reduced automatically to achieve this view.  If you want complete control, you must turn this option off.

NOTE:  The initial viewpoint setting is performed by JavaScript statements added to the HTML web page.  This means that the person viewing the panorama must have JavaScript enabled in their browser.  If JavaScript is disabled, the initial viewpoint setting is ignored.


top


 

Setting the initial viewpoint and zoom

When you make a virtual tour where you enter each page from different places, it may be desirable to set the initial viewpoint differently depending upon where you come from.  If you can enter a room through different doors, you may want the initial to face away from the door you entered.  For example, you might enter the Living Room from either the Kitchen or the Dining Room.

To control the viewpoint this way, create a different hotspot for each initial viewpoint.  Then select Dieser Hotspot ist auch ein Anker / This hotspot is also a bookmark for each hotspot.  Give each hotspot a different name.  For example, if your panorama is in the Living Room, you might name two hotspots from_kitchen and from_dr for the views you want to show when entering from the Kitchen web page and from the Dining Room web page.  Then when you create the hyperlink that leads to the Living Room page from the Kitchen page, set its Anker / Bookmark to from_kitchen and when you create the hyperlink that leads to the Living Room page from the Dining Room page, set its Anker / Bookmark to from_dr.

NOTE:  The initial viewpoint setting is performed by JavaScript statements added to the HTML web page.  This means that the person viewing the panorama must have JavaScript enabled in their browser.  If JavaScript is disabled, the initial viewpoint setting is ignored.


top



© 1999-2007, Smoky City Design, LLC
Updated: April 6, 2007