GPS: Missing Airspace Options
From FSDeveloper Wiki
GPS: Missing Airspace Options
I have found a very curious OMISSION in the FSX SDK on the XML Map parameters...
ObjectDetailLayerAirspaces
-1 = Default 0 = Draw nothing
This is woefully incomplete! Here is a list of known input parameters for this token:
-1 - default 0 - Draw Nothing 8 - Class B 16 - Class C 32 - Class D 64 - MOA 128 - Restricted 256 - Prohibited 512 - Warning 1024 - Alert 2048 - Danger 4096 - Mode C 8192 - Radar 16384 - Training
You can create Macro entries for use in your gauge to display selected airspaces by summing the input parameters for each type:
B, C, D, MOA, RESTRICTED, PROHIBITED, WARNING, ALERT, DANGER, MODE_C, RADAR, TRAINING 8, 16,32, 64, 128, 256, 512 1024 2048 4096 8192 16384 <Macro Name="DisplayedAirspaces">0x7FF800</Macro>
MOA, RESTRICTED, PROHIBITED, WARNING, ALERT, DANGER 64 128 256 512 1024 2048 <Macro Name="AlwaysDisplayedAirspaces">0x0FC000</Macro>