Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.
Sorry was unable to download from PM .





<Update Hidden="Yes">
(L:map NDzoom,number) 14 == if{
14 (>L:map NDzoom,number)
4 (>L:NDZoomfactor,number)
}
</Update>
<Item Value="-28" Y= "110"/>
<Item Value= "0" Y="260"/>
<Item Value= "28" Y="410"/>
<Item Value="-28" X= "0"/>
<Item Value= "0" X="150"/>
<Item Value= "28" X="300"/>
<Click>(L:map NDzoom,number) (L:map NDzoom,number) 2 / - 14 max (>L:map NDzoom,number)
(L:NDZoomfactor,number) 2 * + 4 min (>L:NDZoomfactor,number)</Click>
<Click>(L:map NDzoom,number) 2 * + 1792 min (>L:map NDzoom,number)
(L:NDZoomfactor,number) (L:NDZoomfactor,number) 2 / - 0.03125 max (>L:NDZoomfactor,number)</Click>

Alexey and Karol,Everything works perfectly. The only one but, with a map scale of 1280km, the waypoints shift, as does the flightplan line. I think this is due to the default GPS module and is not fixed.
640 - is good, 1280 - is not
<Zoom>(L:map NDzoom,number) 1000 * 2 / </Zoom>. As you note, you're ok so far. However, the 1280 setting equates to a zoom of 640,000 meters. Your issue is that the map projection changes at 500,000 meter zoom and this change has not been accounted for in the code.at Zoom >= 500,000 meters, it switches to an Equidistant Cylindrical projection.

Hi Bob!
Thank you! That is what I meant. Need to change a code for zoom more than 500000m (1280km in our map)?
<Value>(L:Bearing0,radians) (A:PLANE HEADING DEGREES TRUE,radians) - sin (L:Distance0,kilometers) * @500KAdjustment *</Value>
<Macro Name="500KAdjustment">
(A:PLANE LATITUDE, degrees) 70 >=
if{ 1 }
els{ (L:map NDzoom,number) 1000 >=
if{ (A:PLANE LATITUDE, radians) cos }
els{ 1 }
}
</Macro>

Alexey and Karol,
The 640 setting equates to a zoom of 320,000 meters according to your expression<Zoom>(L:map NDzoom,number) 1000 * 2 / </Zoom>. As you note, you're ok so far. However, the 1280 setting equates to a zoom of 640,000 meters.
Bob
so the distance scale in the display is accurate .

Once again , well done

Hi Karol, I think Bob is right. We only halved the map. Just map view. At the same time, all distances look correct. Look for example at the display of airports. In the default map, their icons (view of the runway) were twice as large. Later, from home, I will show what I mean.
<Zoom>(L:map NDzoom,number) 1000 * 2 / </Zoom> equates to 640000. 

In the Radar you can see dramatically the change in aspect ratio of a ' U ' shaped valley as the zoom is changed
from 300 to 400 , just as shown in your above shot .

Hi AlexeyOh, i forgot add a code!
I'm just changed several lines.
First:
I wanted the default zoom to be 10. But when switching on, need have to turn the zoom from beginning to end several times to make the map look normal.Code:<Update Hidden="Yes"> (L:map NDzoom,number) 14 == if{ 14 (>L:map NDzoom,number) 4 (>L:NDZoomfactor,number) } </Update>
<Update Hidden="Yes">
(L:map NDzoom,number) 0 == if{
14 (>L:map NDzoom,number)
4 (>L:NDZoomfactor,number)
}
</Update>
If you are still using the above code , and still need to cycle the zooms several times , then possibly changing the first 14 to 0
as follows might help ,
<Element>
<FormattedText X="35" Y="10" Bright="Yes" FontSize="9" Font="Tu2X4_VSS" LineSpacing="8" Adjust="left" Color="dodgerblue" VerticalAdjust="Center">
<String>\{bo}
%((@c:NearestVorCurrentIdent))%!s!\n
%((A:PLANE LATITUDE,degrees) (>@c:GeoCalcLatitude1,degrees) (A:PLANE LONGITUDE,degrees) (>@c:GeoCalcLongitude1,degrees) (@c:NearestVorCurrentLatitude,degrees) (>@c:GeoCalcLatitude2,degrees) (@c:NearestVorCurrentLongitude,degrees) (>@c:GeoCalcLongitude2,degrees)
(@c:GeoCalcBearing,degrees) (>L:Bearing15,degrees) (@c:GeoCalcDistance,kilometerss) (L:NDZoomfactor,number) * (>L:Distance15,kilometers))
</String>
<Axis X="-5" Y="8"/>
</FormattedText>
<Element>
<PolyLine Color="dodgerblue" LineWidth="1" Bright="Yes"><Point X= "0" Y="-3"/><Point X= "3" Y= "3"/><Point X= "-3" Y="3"/></PolyLine>
<Clip Left="0" Right="299" Top ="48" Bottom="280"/>
</Element>
<Shift>
<Value>(L:Bearing15,radians) (A:PLANE HEADING DEGREES TRUE,radians) - cos (L:Distance15,kilometers) * -1 * </Value>
<Nonlinearity>
<Item Value="-28" Y= "110"/>
<Item Value= "0" Y="260"/>
<Item Value= "28" Y="410"/>
</Nonlinearity>
</Shift>
<Shift>
<Value>(L:Bearing15,radians) (A:PLANE HEADING DEGREES TRUE,radians) - sin (L:Distance15,kilometers) * </Value>
<Nonlinearity>
<Item Value="-28" X= "0"/>
<Item Value= "0" X="150"/>
<Item Value= "28" X="300"/>
</Nonlinearity>
</Shift>
<Clip Left="0" Right="299" Top ="48" Bottom="280"/>
</Element>

(L:NearVORsearch,enum) 0 ==
if{
(A:GPS POSITION LAT, degrees) (>@c:NearestVorCurrentLatitude, degrees)
(A:GPS POSITION LON, degrees) (>@c:NearestVorCurrentLongitude, degrees)
2 (>@c:NearestVorMaximumItems)
40 (>@c:NearestVorMaximumDistance, kilometers)
}
<Element>
<FormattedText X="35" Y="10" Bright="Yes" FontSize="9" Font="Tu2X4_VSS" LineSpacing="8" Adjust="left" Color="dodgerblue" VerticalAdjust="Center">
<String>\{bo}
%(0 (>@c:NearestVorCurrentLine))
%((@c:NearestVorCurrentICAO) (>@c:NearestVorCurrentIdent) )
%((@c:NearestVorCurrentIdent))%!s!\n
%((A:PLANE LATITUDE,degrees) (>@c:GeoCalcLatitude1,degrees) (A:PLANE LONGITUDE,degrees) (>@c:GeoCalcLongitude1,degrees) (@c:NearestVorCurrentLatitude,degrees) (>@c:GeoCalcLatitude2,degrees) (@c:NearestVorCurrentLongitude,degrees) (>@c:GeoCalcLongitude2,degrees)
(@c:GeoCalcBearing,degrees) (>L:Bearing15,degrees) (@c:GeoCalcDistance,kilometerss) (L:NDZoomfactor,number) * (>L:Distance15,kilometers))
</String>
<Axis X="-5" Y="8"/>
</FormattedText>
<Element>
<PolyLine Color="dodgerblue" LineWidth="1" Bright="Yes"><Point X= "0" Y="-3"/><Point X= "3" Y= "3"/><Point X= "-3" Y="3"/></PolyLine>
<Clip Left="0" Right="299" Top ="48" Bottom="280"/>
</Element>
<Shift>
<Value>(L:Bearing15,radians) (A:PLANE HEADING DEGREES TRUE,radians) - cos (L:Distance15,kilometers) * -1 * </Value>
<Nonlinearity>
<Item Value="-28" Y= "110"/>
<Item Value= "0" Y="260"/>
<Item Value= "28" Y="410"/>
</Nonlinearity>
</Shift>
<Shift>
<Value>(L:Bearing15,radians) (A:PLANE HEADING DEGREES TRUE,radians) - sin (L:Distance15,kilometers) * </Value>
<Nonlinearity>
<Item Value="-28" X= "0"/>
<Item Value= "0" X="150"/>
<Item Value= "28" X="300"/>
</Nonlinearity>
</Shift>
<Clip Left="0" Right="299" Top ="48" Bottom="280"/>
</Element>
Test fly it and see if it works .

Hi Karol!
I'm just want to add custom VOR (DME, NDB) symbols. If VOR (DME, NDB) is tuned - is green, if not - blue.
If VOR (DME, NDB) is flightplan waypoint - show it if flightplan is active. Also show airport symbols if wpt is departure or arrival airports.
Like on example picture.
/QUOTE]
Hi Alexey
That description is totally different , it's not the normal Nearest VOR search .
What you are after is very complex .
Also Departure and Arrival airports do not have a Variable , it requires an algorithm to check for First Index and
the Last Index .
Sorry , but I cannot help you on this task .
Perhaps Bob can help .
Cheers
Karol