

		<Element Name="MapView Pages">
			<Visible>(L:kln90_scr_big, number) 1 == (L:kln90_scr_big, number) 2 == ||</Visible>
			<Position X="135" Y="4" />
			<CustomDraw Name="fs9gps:map" X="241" Y="156" LayerTerrain="No" LayerBorders="No" LayerFlightPlan="Yes"
				FlightPlanLineWidth="1.5" ActiveColorLayerFlightPlan="0x00FF00" PastColorLayerFlightPlan="0x00FF00"
				ColorLayerFlightPlan="0x00FF00" Bright="Yes" CenterX="121" CenterY="125">
				<CenterY>(L:kln90_nav_page, number) @kNAVPageDflt == (L:kln90_scr_big, number) 1 == and if{ 125 } els{ 78 }</CenterY>
				<Zoom>(@g:map_ZoomFactor) 1200.0 *</Zoom>
				<Latitude>(A:GPS POSITION LAT, Radians)</Latitude>
				<Longitude>(A:GPS POSITION LON, Radians)</Longitude>
				<Heading>(A:GPS GROUND TRUE TRACK, Radians)</Heading>
				<LayerAirports>(@g:map_ZoomFactor) 500 &lt; 3 (L:kln90_nav_page, number) @kNAVPageDflt == if{ (@g:navPage0DetailLevel) } els{ (@g:navPage1DetailLevel) } > and</LayerAirports>
				<LayerAirports>(L:kln90_apt, bool)</LayerAirports>
				<LayerVORs>(@g:map_ZoomFactor) 200 &lt; 2 (L:kln90_nav_page, number) @kNAVPageDflt == if{ (@g:navPage0DetailLevel) } els{ (@g:navPage1DetailLevel) } > and</LayerVORs>
				<LayerVORs>(L:kln90_vor, bool)</LayerVORs>
				<LayerILSs>(@g:map_ZoomFactor) 50 &lt; 2 (L:kln90_nav_page, number) @kNAVPageDflt == if{ (@g:navPage0DetailLevel) } els{ (@g:navPage1DetailLevel) } > and</LayerILSs>
				<LayerILSs>(L:kln90_vor, bool)</LayerILSs>
				<LayerNDBs>(@g:map_ZoomFactor) 100 &lt; 2 (L:kln90_nav_page, number) @kNAVPageDflt == if{ (@g:navPage0DetailLevel) } els{ (@g:navPage1DetailLevel) } > and</LayerNDBs>
				<LayerNDBs>(L:kln90_ndb, bool)</LayerNDBs>
				<LayerIntersections>(@g:map_ZoomFactor) 100 &lt; 2 (L:kln90_nav_page, number) @kNAVPageDflt == if{ (@g:navPage0DetailLevel) } els{ (@g:navPage1DetailLevel) } > and</LayerIntersections>
				<LayerIntersections>(L:kln90_int, bool)</LayerIntersections>
				<ObjectDetailLayerAirports>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</ObjectDetailLayerAirports>
				<TextDetailLayerAirports>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</TextDetailLayerAirports>
				<TextDetailLayerVORs>0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 24 (@g:map_ZoomStep) case</TextDetailLayerVORs>
				<TextDetailLayerILSs>0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 24 (@g:map_ZoomStep) case</TextDetailLayerILSs>
				<TextDetailLayerNDBs>0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 24 (@g:map_ZoomStep) case</TextDetailLayerNDBs>
				<TextDetailLayerIntersections>0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 24 (@g:map_ZoomStep) case</TextDetailLayerIntersections>
				<ObjectDetailLayerFlightPlan>0xE 0xF (@c:FlightPlanIsActiveApproach) ?</ObjectDetailLayerFlightPlan>
				<TrackUp>(L:kln90_nav_page, number) @kNAVPageDflt == (L:kln90_scr_big, number) 1 == and if{ 1 } els{ 0 }</TrackUp>
				<LayerFlightPlan>(L:kln90_rte, bool)</LayerFlightPlan>
			</CustomDraw>
			<Element>
				<Position X="121" Y="125" />
				<Polygon FillColor="#00FF00" Bright="Yes">
					<Point X="2" Y="-8" />
					<Point X="2" Y="-2" />
					<Point X="9" Y="-2" />
					<Point X="9" Y="2" />
					<Point X="2" Y="2" />
					<Point X="2" Y="11" />
					<Point X="6" Y="11" />
					<Point X="6" Y="15" />
					<Point X="-6" Y="15" />
					<Point X="-6" Y="11" />
					<Point X="-2" Y="11" />
					<Point X="-2" Y="2" />
					<Point X="-9" Y="2" />
					<Point X="-9" Y="-2" />
					<Point X="-2" Y="-2" />
					<Point X="-2" Y="-8" />
				</Polygon>
				<Rotate>
					<Value>(L:kln90_nav_page, number) @kNAVPageDflt == (L:kln90_scr_big, number) 1 == and if{ 0 } els{ (A:GPS GROUND TRUE TRACK, Radians) }</Value>
				</Rotate>
				<Shift>
					<Value>(L:kln90_nav_page, number) @kNAVPageDflt == (L:kln90_scr_big, number) 1 == and if{ 0 } els{ 47 }</Value>
					<Scale Y="-1" />
				</Shift>
			</Element>
			<Element>
				<Position X="17" Y="5" />
				<Visible>(L:kln90_scr_big, number) 2 ==</Visible>
				<Text X="20" Y="23" Length="1" Font="Arial" FontSize="23" Adjust="Left" VerticalAdjust="Top"
					Multiline="No" Color="#00FF00" BackgroundColor="Black" Bright="Yes">
					<String>N</String>
				</Text>
			</Element>
			<Element>
				<Position X="17" Y="5" />
				<Visible>(L:kln90_scr_big, number) 1 ==</Visible>
				<Text X="35" Y="23" Length="2" Font="Arial" FontSize="23" Adjust="Left" VerticalAdjust="Top"
					Multiline="No" Color="#00FF00" BackgroundColor="Black" Bright="Yes">
					<String>TK</String>
				</Text>
			</Element>
			<Element>
				<Position X="0" Y="9" />
				<Visible>(L:kln90_scr_big, number) 1 == (L:kln90_scr_big, number) 2 == ||</Visible>
				<Image Name="kl90_norte.bmp" Bright="Yes"></Image>
			</Element>
			<Element>
				<Position X="0" Y="125" />
				<FormattedText X="60" Y="23" Font="Arial" FontSize="23" Adjust="Left" Color="%((L:kln90_crsrleft_p, bool) (L:kln90_crsrleft_nav5, number) 3 == and if{ 0x000000 } els{ 0x00FF00 })"
					BackgroundColor="%((L:kln90_crsrleft_p, bool) (L:kln90_crsrleft_nav5, number) 3 == and if{ 0x00FF00 } els{ 0x000000 }) "
					Bright="Yes">
					<String>
						%((@g:map_ZoomFactor) s0 5 >=)%{if}%(l0)%!d!%{else}%(l0 1 >=)%{if}%(l0)%!.1f!%{else}%(l0 6076 *)%!d!\{dpl=ft}%{end}%{end}
						%((L:kln90_nav_page, number) @kNAVPageDflt == if{ (@g:navPage0DetailLevel) } els{ (@g:navPage1DetailLevel) } s0 0 !=)%{if}-%(l0)%!d!%{end}
					</String>
				</FormattedText>
			</Element>
		</Element>




