20,741
edits
Line 1,276: | Line 1,276: | ||
TestMap.addLayer(factory: canvas.SymbolLayer, type_arg: type.name, visible: type.vis, priority: type.zindex,); | TestMap.addLayer(factory: canvas.SymbolLayer, type_arg: type.name, visible: type.vis, priority: type.zindex,); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
To test the new layer, we need to review the taxiing tutorial to check where all those targets are located, specifically see the presets section below: | |||
<syntaxhighlight lang="xml"> | |||
<presets> | |||
<airport-id>KLVK</airport-id> | |||
<on-ground>1</on-ground> | |||
<runway>12</runway> | |||
<altitude-ft>-9999</altitude-ft> | |||
<latitude-deg>37.6952</latitude-deg> | |||
<longitude-deg>-121.8167</longitude-deg> | |||
<heading-deg>175.0</heading-deg> | |||
<airspeed-kt>0</airspeed-kt> | |||
<glideslope-deg>0</glideslope-deg> | |||
<offset-azimuth-deg>0</offset-azimuth-deg> | |||
<offset-distance-nm>0</offset-distance-nm> | |||
</presets> | |||
</syntaxhighlight> | |||
This tells us that we need to start fgfs using <code>--airport=KLVK --runway=12</code> | |||
== Diagnostics == | == Diagnostics == |