compass.swf
A hotspot plugin for showing a magnetic compass.
You can choose between having a static compass housing image with a rotating needle, or using a
static needle with a rotating compass scale, or simply a rotating compass image.
The following parameters are supported:
NOTE:
Only the offsetNorth parameter can be changed dynamically from FPP. Example:
Example plugin XML file:
Version history:
staticImage | staticImage=compass2.png | static (compass housing) image |
rotatingImage | rotatingImage=needle2.png | rotating (compass needle) image |
imageOffsetX | imageOffsetX="4" | needle horizontal offset from compass housing center point |
imageOffsetY | offsetY="-10" | needle vertical offset from compass housing center point |
delay | delay=40 | compass response speed (s) (0=no delay, 0.1-nn=slower) |
offsetNorth | offsetNorth=-82 | pano offset in degrees (i.e. magnetic direction at pan=0) |
NOTE:
Only the offsetNorth parameter can be changed dynamically from FPP. Example:
spot_id.offsetNorth=-41
Example plugin XML file:
<spot id="comp4" url="../compass.swf" static="1" salign="TR" align="TR" staticX="-10" staticY="10" scale="0.60" staticImage="img/compass1.png" rotatingImage="img/needle1.png" imageOffsetX="-2" imageOffsetY="46" offsetNorth="" delay="3" />
Version history: