Module:ViewFinder

From PanoZona

Revision as of 16:52, 5 February 2012 by MStandio (Talk | contribs)
Jump to: navigation, search

Contents

ViewFinder
Author Marek Standio
Module version 1.3
Compatibility SaladoPlayer 1.0 +
Preview screenshot
Download - included with SaladoPlayer 1.3 +

ViewFinder is simple tool usefull 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
Parent: modules
path S - - path to swf file Mandatory attribute. Value points to module swf file.

settings

Attribute TypeSub-attribute TypeDefaultValuesDescription
Parent: ViewFinder
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.




Whos here now:   Members 0   Guests 1   Bots & Crawlers 0
 
Personal tools
Namespaces
Variants
Actions
Forum Menu
SaladoPlayer
SaladoConverter
Site navigation
Toolbox
DONATE