Global

Methods

svg_ac_inst:Airspeed(parent, id, draw, options) → {object}

Airspeed Indicator
Parameters:
Name Type Description
parent Element parent element, such as a div
id string id of airspeed object
draw boolean true to draw on client, false to use static svg with same id
options object to set various airspeed limit arcs
Properties
Name Type Description
range number airspeed range 0..range
green array [80,140] green arc from clean stall to max cruise
yellow array [140,160] yellow arc from max cruise to never-exceed
red number 160 red never-exceed
white array [50,100] white arc for stall-flaps to max-flaps
Source:
Returns:
reference to an AirspeedInstance
Type
object

svg_ac_inst:Altimeter(parent, id, draw) → {object}

Altimeter
Parameters:
Name Type Description
parent Element parent element, such as a div
id string id of airspeed object
draw boolean true to draw on client, false to use static svg with same id
Source:
Returns:
Type
object

svg_ac_inst:Attitude(parent, id, draw) → {object}

Attitude Indicator
Parameters:
Name Type Description
parent Element parent element, such as a div
id string id of airspeed object
draw boolean true to draw on client, false to use static svg with same id
Source:
Returns:
reference to an AttitudeInstance
Type
object

svg_ac_inst:Heading(parent, id, draw) → {object}

heading Indicator
Parameters:
Name Type Description
parent Element parent element, such as a div
id string id of airspeed object
draw boolean true to draw on client, false to use static svg with same id
Source:
Returns:
reference to a HeadingInstance
Type
object

svg_ac_inst:Turn(parent, id, draw) → {object}

Turn Coordinator
Parameters:
Name Type Description
parent Element parent element, such as a div
id string id of airspeed object
draw boolean true to draw on client, false to use static svg with same id
Source:
Returns:
reference to a TurnInstance
Type
object

svg_ac_inst:VSI(parent, id, draw) → {object}

Vertical Speed Indicator
Parameters:
Name Type Description
parent Element parent element, such as a div
id string id of airspeed object
draw boolean true to draw on client, false to use static svg with same id
Source:
Returns:
Type
object