Howto:Creating a custom waypointlist pendant using Canvas: Difference between revisions

Jump to navigation Jump to search
m (→‎Canvas Code (proof-of-concept): re-structure for table support)
Line 57: Line 57:


<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
# for faster testing, let's use a vector with dummy data to be shown matching the columns of the hard-coded widget:
var dummyData = [
{target: 0, latitude:0, longitude:0, ETA:0},
];
var (width,height) = (320,160);
var (width,height) = (320,160);
var title = 'pui2canvas - waypointlist demo';
var title = 'pui2canvas - waypointlist demo';

Navigation menu