twcompass.swf
An external plugin with dual function - either for showing a compass needle or for use as a radar.
When used as a compass, the neeedle rotates to always point to the north when the user changes the pan angle
in the pano image. The radar function is of course to follow the user when he is panning, and to show -
for example on a floor map - which way he is looking.
The following parameters are supported:
NOTE:
All parameters can be updated dynamically from FPP.
| url | url=compassrose2.png | compass/radar image file |
| radar | radar=1 | function (0=compass, 1=radar) |
| salign | salign=RM | position (L,C,R and T,M,B |
| margin | margin=10 | margin to pano edge |
| or | ||
| margin=15:10 | ||
| visible | visible=1 | 0 or 1, anything else will toggle visibility |
| scale | scale=0.75 | scaling of compass/radar image |
| alpha | alpha=0.60 | image transparency |
| delay | delay=40 | compass speed (0=no delay, 10-100=slower) |
| offset | offset=316 | pano offset in degrees (example: 0° pan = 316° direction - NNW) |
NOTE:
All parameters can be updated dynamically from FPP.
