- Messages
- 371
- Country

Hi,
I write a FMC/like that use 2 gps maps in the code.
On for the departure airport and one for the arrival airport.
I use the customdraw map instruction and I display one map at the time.
I initialize the position of the first map with :
And the position of the map is centered on the departure airport. all is ok
For the destination airport, I initialize the second map with :
And it is ok, the map is centered on the destination airport.
But, I want to use the rangerings macro. So I have added at each map this code :
It is ok for the first map, but with the seconde map, the rangerings are centered to the departure airport, and not on the destination airport.
Do you know where is the solution for center the rangerings to the destination airport on the second map ?
thank you
I think that the problem is peharps the rangerings are automatically draw according the aircraft position and not the map position ......
Is there a solution ?
Francois
I write a FMC/like that use 2 gps maps in the code.
On for the departure airport and one for the arrival airport.
I use the customdraw map instruction and I display one map at the time.
I initialize the position of the first map with :
Code:
<CustomDrawParam id="CustomDrawParam" Name="Latitude">
<Value>(C:fs9gps:FlightPlanDepartureLatitude,radians)</Value>
</CustomDrawParam>
<CustomDrawParam id="CustomDrawParam" Name="Longitude">
<Value>(C:fs9gps:FlightPlanDepartureLongitude,radians)</Value>
</CustomDrawParam>
For the destination airport, I initialize the second map with :
Code:
<CustomDrawParam id="CustomDrawParam" Name="Latitude">
<Value>(C:fs9gps:FlightPlanDestinationLatitude,radians)</Value>
</CustomDrawParam>
<CustomDrawParam id="CustomDrawParam" Name="Longitude">
<Value>(C:fs9gps:FlightPlanDestinationLongitude,radians)</Value>
</CustomDrawParam>
But, I want to use the rangerings macro. So I have added at each map this code :
Code:
<CustomDrawParam id="LayerRangeRings" Name="LayerRangeRings">
<Value>(L:Show_Rings, bool)</Value>
</CustomDrawParam>
Do you know where is the solution for center the rangerings to the destination airport on the second map ?
thank you
I think that the problem is peharps the rangerings are automatically draw according the aircraft position and not the map position ......
Is there a solution ?
Francois
Last edited:


