News Examples Documentation Download Buy Forum Contact

Radar Plugin radar.swf Version 1.0.7

  • a radar plugin
  • to show the current viewing area on a floor map
  • automatic shows the current field of view
  • the viewing direction can be changed by dragging the radar field
  • the position and size of it can by adjusted with the normal plugin attributes
    (align, x, y, width, height, ...)
  • attributes:
    • heading
      heading of the pano, 0-360, default="0"
    • linecolor
      line color, default="0xFFFFFF"
    • linewidth
      line width, default="0"
    • linealpha
      line alpha, default="0.3"
    • fillcolor
      fill color, default="0xFFFFFF"
    • fillalpha
      fill alpha, default="0.5"
  • flash source code included (AS3 for the free MXMLC compiler)


example xml code - how to include it:
<krpano version="1.0.7">
   <plugin name="radar" url="plugins/radar.swf" heading="33" />
   ...
</krpano>

example xml code - user defined radar style:
<krpano version="1.0.7">
   <plugin name="radar" url="radar.swf" 
           heading="90" 
           fillcolor="0xFF0000" 
           fillalpha="0.8"
           linecolor="0x00FF00"
           linewidth="2"
           linealpha="0.5"
           />
   ...
   <action name="changeheading">
      set(plugin[radar].heading,44);
   <action>
   ...
</krpano>