Canvas Map API: Difference between revisions

Jump to navigation Jump to search
m
m (→‎Status: removing stuff that's no longer relevant / deprecated by MapStructure)
Line 83: Line 83:
* come up with a framework for MFDs
* come up with a framework for MFDs
* use the MFD framework for creating a stylable ND class
* use the MFD framework for creating a stylable ND class
== Styling ==
Supporting styling is one thing that we missed in the first iteration - but obviously we need a way to allow end-users to customize their ND, by either providing a custom draw callback, by specifying a SVG files, or by implement a "Drawable" interface.
And looking at Gijs 744 code, we also need a way to "inject" custom logic to style/mark elements, depending in controller-specific conditions, such as the range selected in the cockpit, or in the GUI dialog - or the next waypoint.


== Optimization ==
== Optimization ==

Navigation menu