Canvas snippets: Difference between revisions

Jump to navigation Jump to search
Line 553: Line 553:
! Screenshot !! Code  
! Screenshot !! Code  
|-
|-
| [[File:Layers style change.png|thumb|[[MapStructure]] layers shown in a Canvas GUI dialog]]
| [[File:Layers style change.png|thumb|[[MapStructure]] layers shown in a Canvas GUI dialog. Active VOR and radial in red color, inactive VOR in green color]]
| {{Note|This assumes that you already have a top-level root group set up, and named it '''root''', just change this variable if you want it to be rendered elsewhere. Equally, this snippet assumes that your canvas is named '''myCanvas'''.}}
| {{Note|This assumes that you already have a top-level root group set up, and named it '''root''', just change this variable if you want it to be rendered elsewhere. Equally, this snippet assumes that your canvas is named '''myCanvas'''.}}
<syntaxhighlight lang="nasal" enclose="div">
<syntaxhighlight lang="nasal" enclose="div">
29

edits

Navigation menu