A661_SYMBOL_GENERIC
MapItems has the associated A661_SYMBOL_GENERIC_INTERACTIVE
MapItem for selection. A661_EVT_SELECTION
event associated with the MapItem index in the A661_MAPHORZ_ITEMLIST
widget.<mapItem arincID="A661_SYMBOL_GENERIC" mapType="mapHorz" hexID="0x28" > <mapItemAttr name="EndFlag" arincID="_ENDFLAG" /> <mapItemAttr name="SymbolType" arincID="_SYMBOLTYPE" /> <mapItemAttr name="RelativePosition" arincID="_TRUEFALSE" relative="true" /> <pad size="uchar" /> <mapItemAttr name="X/Lat/Range" coord="X" arincID="_XLATRANGE" /> <mapItemAttr name="Y/Lng/Bearing" coord="Y" arincID="_YLNGBEARING" /> </mapItem>If we have the following content in the runtime protocol:
<mapItem arincID="A661_SYMBOL_GENERIC" mapType="mapVert" hexID="0x28" > <mapItemAttr name="EndFlag" arincID="_ENDFLAG" /> <mapItemAttr name="SymbolType" arincID="_SYMBOLTYPE" /> <mapItemAttr name="RelativePosition" arincID="_TRUEFALSE" relative="true" /> <pad size="uchar" /> <mapItemAttr name="X" coord="X" arincID="_X" /> <mapItemAttr name="Y" coord="Y" arincID="_Y" /> </mapItem>
<mapItem arincID="A661_LEGEND" hexID="0x21" > <mapItemAttr name="EndFlag" arincID="_ENDFLAG" /> <mapItemAttr name="LegendString" arincID="_STRING" /> </mapItem>Note that a MapItem size in the protocol can not span more than 32 bits, meaning that a text containing more than 16 characters will have to span on more than one A661_LEGEND MapItem. In all cases, the end of the actual text will contain one NULL (0) characters, possibly padded to reach the 32 bits limit.
Copyright 2016-2017 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v2 licence