Canvas Map API: Difference between revisions

Jump to navigation Jump to search
Line 309: Line 309:


* that people can simply instantiate a "GenericMap" by including an existing XML file  
* that people can simply instantiate a "GenericMap" by including an existing XML file  
* dialog-specific settings can be overridden and customized (see above, or $FG_ROOT/gui/dialogs/airports.xml)
* dialog-specific settings can be overridden and customized (see above, or $FG_ROOT/gui/dialogs/airports.xml) - i.e. just copied/pasted
* the GenericMap is a LayeredMap where layers are created for different features and linked to toggle properties
* the GenericMap is a LayeredMap where layers are created for different features and linked to toggle properties
* there are a handful of variables/functions that need to be declared in the body of the dialog's Nasal/open block
* there are a handful of variables/functions that need to be declared in the body of the dialog's Nasal/open block

Navigation menu