Canvas snippets: Difference between revisions

Jump to navigation Jump to search
Line 273: Line 273:


== Using MapStructure and Overlays ==
== Using MapStructure and Overlays ==
 
{{FGCquote
  |Support for overlays using geo-referenced raster images isn't too well-developed currently, so would need to work with a few hard-coded assumptions (e.g. being specific to a certain raster image and map layout) - but maybe TheTom can provide a few more ideas on how to proceed from here - otherwise, the Map is normally not aware of any non-Map items, i.e. as long as the overlay is added "outside" the Map, it isn't even aware of the raster image - and when it is added as a map element, it would probably be rotated. So there's still some work needed here. But generally, this should work well enough even in its current form (the screen shot is purely based on the Canvas Snippets article, i.e. it just displays a Canvas GUI dialog, adds the downloaded raster image and then adds the MapStructure APS layer - without the Map being aware of the overlay/geo-referencing that is needed currently).
  |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=238316#p238316
    |title=<nowiki>Re: Using Canvas for visualizing orbital flights (cont'd PM)</nowiki>
    |author=<nowiki>Hooray</nowiki>
    |date=<nowiki>Fri Apr 10</nowiki>
  }}
}}
{| class="wikitable"
{| class="wikitable"
|-
|-

Navigation menu