<SimBase.Document Type="AceXML" version="1,0" id="radarscreen">
    <Descr>AceXML Document</Descr>
    <Filename>radarscreen.xml</Filename>
    <SimGauge.Gauge id="Gauge">
        <FloatPosition>0.000,0.000</FloatPosition>
        <Size>772,768</Size>
        <Update id="Update">
            <Frequency>1</Frequency>
            <Script>(L:map_ZoomStep, number) 0 == if{ 
	13 (&gt;L:map_ZoomStep, number) 
	@CalculateZoomFactor((L:map_ZoomStep, number)) (&gt;L:map_ZoomFactor, number)
}
(L:MapInit) 0 == if{
	1 (&gt;L:LayerAirports)
	1 (&gt;L:LayerAirspaces)
	0 (&gt;L:LayerTerrain)
	1 (&gt;L:LayerVORs)
	1 (&gt;L:LayerILSs)
	0 (&gt;L:LayerNDBs)
	1 (&gt;L:LayerLowAirways)
	1 (&gt;L:LayerTags)
	0 (&gt;L:LayerCompass)
	0 (&gt;L:LayerIntersections)
	10 (&gt;L:LayerRangeRings)
	6 (&gt;L:VehicleObjectDetail)
	25 (&gt;L:Filter)
	1 (&gt;L:MapInit)
}</Script>
        </Update>
        <Macro id="g" Name="g">
            <MacroValue>C:fs9gps:1</MacroValue>
        </Macro>
        <Macro id="MapWidth" Name="MapWidth">
            <MacroValue>764</MacroValue>
        </Macro>
        <Macro id="MapHeight" Name="MapHeight">
            <MacroValue>760</MacroValue>
        </Macro>
        <Macro id="CalculateZoomFactor" Name="CalculateZoomFactor">
            <MacroValue>2000 1500 1000 500 350 200 150 100 50 35 20 15 10 5 3.5 2.0 1.5 1.0 0.576037 0.329164 0.246873 0.164582 0.082290 0 24 @1 case</MacroValue>
        </Macro>
        <Macro id="HeadingVal" Name="HeadingVal">
            <MacroValue>20</MacroValue>
        </Macro>
        <Element id="Map background">
            <FloatPosition>0.000,0.000</FloatPosition>
            <Rectangle id="Rectangle">
                <Bright>True</Bright>
                <Width>772</Width>
                <Height>768</Height>
                <FillColor>Black</FillColor>
            </Rectangle>
        </Element>
        <Element id="Map border">
            <FloatPosition>6.000,7.000</FloatPosition>
            <Rectangle id="Rectangle">
                <LineWidth>1</LineWidth>
                <Bright>True</Bright>
                <Width>760</Width>
                <Height>756</Height>
                <LineColor>0x808080</LineColor>
                <FillColor>Black</FillColor>
            </Rectangle>
        </Element>
        <Element id="Map">
            <FloatPosition>8.000,8.000</FloatPosition>
            <CustomDraw id="CustomDraw" Name="fs9gps:1:map">
                <Size>756,750</Size>
                <Bright>True</Bright>
                <CustomDrawParam id="UpdateAlways" Name="UpdateAlways">
                    <Value>1</Value>
                </CustomDrawParam>
                <CustomDrawParam id="Heading" Name="Heading">
                    <Value>(A:Plane heading degrees true, radians) 
(A:Plane heading degrees magnetic, radians) -
</Value>
                </CustomDrawParam>
                <CustomDrawParam id="CenterX" Name="CenterX">
                    <Value>@MapWidth 2 / </Value>
                </CustomDrawParam>
                <CustomDrawParam id="CenterY" Name="CenterY">
                    <Value>@MapHeight 2 /</Value>
                </CustomDrawParam>
                <CustomDrawParam id="Bright" Name="Bright">
                    <Value>1</Value>
                </CustomDrawParam>
                <CustomDrawParam id="Zoom" Name="Zoom">
                    <Value>(L:map_ZoomFactor, number) 1852.0 *</Value>
                </CustomDrawParam>
                <CustomDrawParam id="Latitude" Name="Latitude">
                    <Value>(A:GPS POSITION LAT, Radians)</Value>
                </CustomDrawParam>
                <CustomDrawParam id="Longitude" Name="Longitude">
                    <Value>(A:GPS POSITION LON, Radians)</Value>
                </CustomDrawParam>
                <CustomDrawParam id="LayerAirports" Name="LayerAirports">
                    <Value>(L:LayerAirports) 0 &gt;</Value>
                </CustomDrawParam>
                <CustomDrawParam id="LayerAirspaces" Name="LayerAirspaces">
                    <Value>(L:LayerAirspaces) 0 &gt;</Value>
                </CustomDrawParam>
                <CustomDrawParam id="LayerVehicles" Name="LayerVehicles">
                    <Value>1</Value>
                </CustomDrawParam>
                <CustomDrawParam id="LayerTerrain" Name="LayerTerrain">
                    <Value>(L:LayerTerrain) 0 &gt;</Value>
                </CustomDrawParam>
                <CustomDrawParam id="LayerBorders" Name="LayerBorders">
                    <Value>1</Value>
                </CustomDrawParam>
                <CustomDrawParam id="LayerVORs" Name="LayerVORs">
                    <Value>(L:LayerVORs) 0 &gt;</Value>
                </CustomDrawParam>
                <CustomDrawParam id="LayerILSs" Name="LayerILSs">
                    <Value>(L:LayerILSs) 0 &gt;</Value>
                </CustomDrawParam>
                <CustomDrawParam id="LayerNDBs" Name="LayerNDBs">
                    <Value>(L:LayerNDBs) 0 &gt;</Value>
                </CustomDrawParam>
                <CustomDrawParam id="LayerIntersections" Name="LayerIntersections">
                    <Value>(L:LayerIntersections) 0 &gt;</Value>
                </CustomDrawParam>
                <CustomDrawParam id="LayerAirways" Name="LayerAirways">
                    <Value>1</Value>
                </CustomDrawParam>
                <CustomDrawParam id="LayerRangeRings" Name="LayerRangeRings">
                    <Value>(L:LayerRangeRings) 0 &gt;</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ObjectDetailLayerAirports" Name="ObjectDetailLayerAirports">
                    <Value>0 0 0 0 0 0 0x5 0x5 0x7 0x7 0x1F 0x1F 0x1F 0x1F 0x4F 0x4F 0x4F 0x4F 0x4F 0x4F 0x4F 0x4F 0x4F 0x4F 24 (@g:map_ZoomStep) case</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ObjectDetailLayerAirways" Name="ObjectDetailLayerAirways">
                    <Value>(L:LayerLowAirways) 0 &gt; 1 * (L:LayerHighAirways) 0 &gt; 2 * +</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ObjectDetailLayerRangeRings" Name="ObjectDetailLayerRangeRings">
                    <Value>(L:LayerRangeRings)</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ObjectDetailLayerILSs" Name="ObjectDetailLayerILSs">
                    <Value>2</Value>
                </CustomDrawParam>
                <CustomDrawParam id="DetailLayerVehicles" Name="DetailLayerVehicles">
                    <Value>1</Value>
                </CustomDrawParam>
                <CustomDrawParam id="TextDetailLayerAirports" Name="TextDetailLayerAirports">
                    <Value>0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 24 (@g:map_ZoomStep) case (L:LayerAirports) 2 == and</Value>
                </CustomDrawParam>
                <CustomDrawParam id="TextDetailLayerVORs" Name="TextDetailLayerVORs">
                    <Value>0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 24 (@g:map_ZoomStep) case (L:LayerVORs) 2 == and</Value>
                </CustomDrawParam>
                <CustomDrawParam id="TextDetailLayerNDBs" Name="TextDetailLayerNDBs">
                    <Value>0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 24 (@g:map_ZoomStep) case (L:LayerNDBs) 2 == and</Value>
                </CustomDrawParam>
                <CustomDrawParam id="TextDetailLayerIntersections" Name="TextDetailLayerIntersections">
                    <Value>0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 24 (@g:map_ZoomStep) case (L:LayerIntersections) 2 == and</Value>
                </CustomDrawParam>
                <CustomDrawParam id="TextDetailLayerVehicles" Name="TextDetailLayerVehicles">
                    <Value>0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 24 (@g:map_ZoomStep) case (L:LayerTags) min</Value>
                </CustomDrawParam>
                <CustomDrawParam id="TextDetailLayerAirways" Name="TextDetailLayerAirways">
                    <Value>(L:LayerLowAirways) 2 == (L:LayerHighAirways) 2 == or</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerAirspaces" Name="ColorLayerAirspaces">
                    <Value>0x505050</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerBorders" Name="ColorLayerBorders">
                    <Value>0x800000</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerVehicles" Name="ColorLayerVehicles">
                    <Value>0x00F0F0</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerVehiclesSelected" Name="ColorLayerVehiclesSelected">
                    <Value>0x0000F0</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerAirportsTowered" Name="ColorLayerAirportsTowered">
                    <Value>0xA0A0A0</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerAirportsUntowered" Name="ColorLayerAirportsUntowered">
                    <Value>0x808080</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerIntersectionsEnroute" Name="ColorLayerIntersectionsEnroute">
                    <Value>0x606060</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerIntersectionsTerminal" Name="ColorLayerIntersectionsTerminal">
                    <Value>0xA0A0A0</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerAirwaysVictor" Name="ColorLayerAirwaysVictor">
                    <Value>0x804040</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerAirwaysJet" Name="ColorLayerAirwaysJet">
                    <Value>0x404080</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerVORs" Name="ColorLayerVORs">
                    <Value>0x505050</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerNDBs" Name="ColorLayerNDBs">
                    <Value>0xC0C0C0</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerILSs" Name="ColorLayerILSs">
                    <Value>0x606060</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerRangeRings" Name="ColorLayerRangeRings">
                    <Value>0x006000</Value>
                </CustomDrawParam>
                <CustomDrawParam id="TextColorLayerVehicles" Name="TextColorLayerVehicles">
                    <Value>0x00FF00</Value>
                </CustomDrawParam>
                <CustomDrawParam id="PanHorizontal" Name="PanHorizontal">
                    <Value>(L:PanHorizontal)</Value>
                </CustomDrawParam>
                <CustomDrawParam id="PanVertical" Name="PanVertical">
                    <Value>(L:PanVertical)</Value>
                </CustomDrawParam>
                <CustomDrawParam id="TrackUp" Name="TrackUp">
                    <Value>1</Value>
                </CustomDrawParam>
                <CustomDrawParam id="PanReset" Name="PanReset">
                    <Value>(L:PanReset)</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ObjectDetailLayerVehicles" Name="ObjectDetailLayerVehicles">
                    <Value>(L:VehicleObjectDetail)</Value>
                </CustomDrawParam>
                <CustomDrawParam id="ColorLayerVehicles" Name="ColorLayerVehicles">
                    <Value>0x00FFFF</Value>
                </CustomDrawParam>
            </CustomDraw>
        </Element>
        <Element id="Compass rose">
            <FloatPosition>0.000,0.000</FloatPosition>
            <Visibility>(L:LayerCompass) 0 &gt;</Visibility>
            <CustomDraw id="CustomDraw" Name="fs9gps:rose">
                <Size>772,768</Size>
                <Bright>True</Bright>
                <CustomDrawParam id="CenterX" Name="CenterX">
                    <Value>386</Value>
                </CustomDrawParam>
                <CustomDrawParam id="CenterY" Name="CenterY">
                    <Value>384</Value>
                </CustomDrawParam>
                <CustomDrawParam id="LineWidth" Name="LineWidth">
                    <Value>2</Value>
                </CustomDrawParam>
                <CustomDrawParam id="Color" Name="Color">
                    <Value>0x908080</Value>
                </CustomDrawParam>
                <CustomDrawParam id="Radius" Name="Radius">
                    <Value>380</Value>
                </CustomDrawParam>
                <CustomDrawParam id="Font" Name="Font">
                </CustomDrawParam>
                <CustomDrawParam id="FontSize" Name="FontSize">
                    <Value>10</Value>
                </CustomDrawParam>
                <CustomDrawParam id="LabelAllTicks" Name="LabelAllTicks">
                    <Value>1</Value>
                </CustomDrawParam>
                <CustomDrawParam id="FullCircle" Name="FullCircle">
                    <Value>1</Value>
                </CustomDrawParam>
                <CustomDrawParam id="Force3Digits" Name="Force3Digits">
                    <Value>1</Value>
                </CustomDrawParam>
            </CustomDraw>
        </Element>
        <MouseArea id="MouseArea">
            <FloatPosition>0.000,0.000</FloatPosition>
            <Size>772,768</Size>
            <HelpId>HELPID_GAUGE_RADAR_DISPLAY</HelpId>
        </MouseArea>
    </SimGauge.Gauge>
</SimBase.Document>