Canvas Map API: Difference between revisions

Jump to navigation Jump to search
Line 46: Line 46:


== Full Example: Creating dialogs with embedded Canvas Maps ==
== Full Example: Creating dialogs with embedded Canvas Maps ==
At the moment, the system (and its design) is still evolving - so nothing is set in stone, and most things written here should be considered a "draft". This is also why the system makes currently some assumptions and requires certain variables/functions to be specified in the dialog XML.
(For the latest information, you'll want to refer to $FG_ROOT/gui/dialogs/airports.xml as the "de facto" example of how to use the system)


Add this to the "Nasal/open" tag of your XML dialog and customize it for your dialog:
Add this to the "Nasal/open" tag of your XML dialog and customize it for your dialog:

Navigation menu