Canvas Maps: Difference between revisions

Jump to navigation Jump to search
134 bytes removed ,  9 March 2016
Deleted the broken Gitorious link to https://gitorious.org/fg/toms-fgdata?p=fg:toms-fgdata.git;a=commit;h=9a40c82bc06c33fb59b95188ea000d69e760b75a, as this specific commit does not exist in the archived repository.
(→‎Background: Repository file link fixes.)
(Deleted the broken Gitorious link to https://gitorious.org/fg/toms-fgdata?p=fg:toms-fgdata.git;a=commit;h=9a40c82bc06c33fb59b95188ea000d69e760b75a, as this specific commit does not exist in the archived repository.)
Line 17: Line 17:
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.
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.


To illustrate just how powerful this new feature is, take a look at the following foreach loop which places all the parking positions in the shown map dialog (for the full code, see this [https://gitorious.org/~tomprogs/fg/toms-fgdata/commit/9a40c82bc06c33fb59b95188ea000d69e760b75a commit]).
To illustrate just how powerful this new feature is, take a look at the following foreach loop which places all the parking positions in the shown map dialog.
<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">
193  foreach(var park; me._apt.parking())
193  foreach(var park; me._apt.parking())

Navigation menu