View Full Version : GPS code location
01-22-2006, 08:53 AM
I have searched through the GPS xml code trying to discover where the information shown in this linked picture is located. I have looked at every section of code that contains the word runway but cannot find, or do not recognize, what I'm looking for.
Would someone please explain what section of the GPS code produces this graphic and associated runway info?
01-22-2006, 12:50 PM
The gauge code is sectioned according to the "Groups" and "Pages" within the "Groups."
Note that this page is part of the "Waypoint Group" and the page name is "Airport Runways."
Use the "Find" feature to rapidly scan through the code looking for the "keywords," and you'll find this:
<Element Name="Airport Location Page">
..........snipped for brevity...........
<Element Name="Airport Runways Page">
The code you're looking for follows this comment tag... ;)
Keep in mind that this gauge code makes very heavy use of @Macros, so be prepared to do a bit more searching to locate the @Macro code as well...
01-23-2006, 07:27 AM
Thanks for the info. A couple of points I'm confuse on.
Is this line,
What is the "WaypointAirportRunwayDesignation" part, and what does the colon indicate?
01-23-2006, 11:48 PM
@c:WaypointAirportRunwayDesignation is the runway number
@c: is the short form that calls the macro and passes the runway number to the fs9gps.dll module and retrieves the information requested...
In short, the above is "Show me the information for runway number XX" and the fs9gps.dll returns the requested data.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.