Home -> VRSmarty plugins page -> compass.swf
This plugin is completely free for use in any context or connection.
compass.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 attributes are supported in the plugin <spot>:
imageimage=img/compassrose2.pngcompass/radar image file
offsetNorthoffsetNorth=316pano offset in degrees (example: 0° pan = 316° direction - NNW)


NOTE:
The attributes can be changed at any time in VRSmarty. Example:
spot_id.content.offsetNorth=143



Example VRSmarty XML file:

<spot id="compass" url="../plugins/compass.swf" layerType="pano" depth="10" type="static" staticAlign="TR" align="CC" staticX="50" staticY="50"
   image="img/compassrose2.png" offsetNorth="-110" 
/>
					


Version history: