Canvas MapStructure: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 24: Line 24:
[[File:Canvasready.png]]
[[File:Canvasready.png]]


{{Note|This article is intended for people wanting to add custom mapping/charting displays to FlightGear (aircraft, GUI dialogs, HUDs etc) - it assumes familiarity with [[Nasal]] scripting, [[Object Oriented Programming with Nasal]] and [[Canvas]] - while an existing chart layer (e.g. to show VORs/NDBs or DMEs) can be easily added and used by non-programmers within a few minutes, creating new MapStructure layers requires additional knowledge which is detailed below. In its simplest form, MapStructure is just a library of a handful of existing layers (navaids, traffic) that can be easily -and quickly- reused for all kinds of different purposes. For people familiar with Nasal coding, MapStructure is also a framework to create new fully reusable layers with integrated support for caching, resource management (listener/timers) and efficient searching/updating. }}
{{Note|This article is intended for people wanting to add custom mapping/charting displays to FlightGear (aircraft, GUI dialogs, HUDs etc) - it assumes familiarity with [[Nasal]] scripting, [[Object Oriented Programming with Nasal]] and [[Canvas]] - while an existing chart layer (e.g. to show VORs/NDBs or DMEs) can be easily added and used by non-programmers within a few minutes, creating new MapStructure layers requires additional knowledge which is detailed below. In its simplest form, MapStructure is just a library of a handful of existing layers (navaids, traffic) that can be easily -and quickly- reused for all kinds of different purposes. For people familiar with Nasal coding, MapStructure is also a framework to create new fully reusable layers with integrated support for caching, resource management (listener/timers) and efficient searching/updating.
For FlightGear versions <nowiki>>=</nowiki> 3.3+, there will also be a [[Canvas Widgets|Canvas Widget]] to easily add MapStructure-based maps to any Canvas dialog and/or to Canvas MFDs that internally use the Canvas GUI framework. }}


{{cquote
{{cquote

Navigation menu