Board index FlightGear Development Canvas

findNavaidsWithinRange()

Canvas is FlightGear's new fully scriptable 2D drawing system that will allow you to easily create new instruments, HUDs and even GUI dialogs and custom GUI widgets, without having to write C++ code and without having to rebuild FlightGear.

findNavaidsWithinRange()

Postby Hooray » Mon Sep 24, 2012 10:54 am

We should consider overloading it, so that it doesn't just look at the current aircraft position, but so that a lat/lon can be specified optionally - that will be very useful for all mapping needs.
At the moment, it is not possible to look up navaids for an airport that is outside the current range, i.e.:

1) go to KSFO
2) look up KRNO
3) find no navaids rendered for KRNO, because the function will just look at navaids within range of KSFO :-)
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11437
Joined: Tue Mar 25, 2008 8:40 am

Return to Canvas

Who is online

Users browsing this forum: No registered users and 2 guests