Canvas news: Difference between revisions

Jump to navigation Jump to search
1,441 bytes added ,  26 August 2017
Line 6: Line 6:


== 2017 ==
== 2017 ==
=== G1000 & MapStructure improvements ===
As of 09/2017, Stuart started making some tentative steps towards a full Garmin G1000 simulation, he started with the excellent xkv1000 as a starting point, particularly for the PFD which very closely mirrors the G1000.
For the MFD he's planning to use the [[Canvas MapStructure]] layers (obviously).
One area he is going to have to develop is tiled mapping, which the [[MapStructure]] in fgdata doesn't currently support as a layer. 
Stuart's thoughts are:
# Create an OverlayLayer layer with a controller that is analogous to the SymbolLayer, but likely with a simple update method rather than SearchCmd, and no .symbol equivalent
# Convert the tiled map example from the wiki, but also other layers such as a compass rose, airport diagram, lat/lon grid.
Stuart is currently undecided on how to handle the projection - whether to have the layer itself have to interpret the centerpoint of the map and scale, and then make a projection itself, or to provide it from the Map.  The latter in undoubtably cleaner, but for something like a tiled map he suspects that the management will need to be quite low down the stack.<ref>{{cite web
  |url    =  https://forum.flightgear.org/viewtopic.php?p=317013#p317013
  |title  =  <nowiki> Canvas G1000 </nowiki>
  |author =  <nowiki> stuart </nowiki>
  |date  =  Aug 21st, 2017
  |added  =  Aug 21st, 2017
  |script_version = 0.40
  }}</ref>
=== Property I/O ===
=== Property I/O ===
{{See also|Howto:Canvas Path Benchmarking}}
{{See also|Howto:Canvas Path Benchmarking}}

Navigation menu