wellenvogel/avnav

Allow user/plugin js code to draw items on the map

Closed this issue · 2 comments

There could be interesting additonal displays (like lay lines) that could be provided by a plugin.
So there should be an JS API to draw data on the map.

The API will re-use the Widget API. You will have to implement a renderCanvas function. The user context (this) will provide the necessary translation functions from coordinates to canvas pixels and vice versa.

20220819