|
|
| Line 72: |
Line 72: |
|
| |
|
| If that could be made to work, people could easily instantiate a new MFD gauge (or dialog!) and just customize it according to their needs, which will be great. | | If that could be made to work, people could easily instantiate a new MFD gauge (or dialog!) and just customize it according to their needs, which will be great. |
|
| |
| == A Map Prototype using the Canvas System ==
| |
| There's a first proof of concept available which replicates part of the built-in, hard-coded, [[Map]] dialog:
| |
|
| |
| [[File:Demonstration of using the Canvas inside a GUI dialog..png|thumb|none|600px|Simple Map of KSFO]]
| |
|
| |
| The Nasal code which creates this map is shown here:
| |
|
| |
| <syntaxhighlight lang="php">
| |
| // copy/paste code here
| |
| </syntaxhighlight>
| |
|
| |
| Using the Canvas system, it has now become trivial to create new map layers of symbols with geographic positions which are transparently mapped to screen coordinates by the canvas system automatically.
| |
|
| |
|
| |
|
| == Planned Features == | | == Planned Features == |