Module:ViewFinder

From PanoZona

Contents

ViewFinder
Author Marek Standio
Module version 1.3
Compatibility SaladoPlayer 1.0 +

ViewFinder is simple tool useful during process of building configuration. ViewFinder consists of two elements: White dot in the middle and text field positioned by default in upper left corner of panorama window. Text field displays current camera pan, tilt and field of view. If you want to place hotspot in specific place, move dot over place where hotspot is to be placed, then use pan and tilt values from text field to fill in location attribute for new hotspot in configuration file. Another usefull usage example is determining field of view limits, which may vary depending on panorama maximum resolution.


Configuration structure

Configuration details

ViewFinder

Attribute TypeSub-attribute TypeDefaultValuesDescription
path S - - path to swf file Mandatory attribute. Value points to module swf file.

settings

Attribute TypeSub-attribute TypeDefaultValuesDescription
align O horizontal S left left, center, right Horizontal alignment of element against panorama window.
vertical S top top, middle, bottom Vertical alignment of element against panorama window.
move O horizontal N 0 - Number of pixels element is moved horizontally.
vertical N 0 - Number of pixels element is moved vertically.
useCursor B - false true, false If set to true, uses cursor position instead of dot in the middle of panorama window as current view indicator.
showDirection B - false true, false If set to true, displays current direction of the middle of panorama window.