plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

vantech avatar image
vantech asked mattnischan answered

Nanovg map API

The new map API for Nanovg is missing lots of features. It doesn't include 2D direction orientation (north up/heading/track path). It doesn't have navigation route, airways, airport boundary, air navigation chart...

All of this is present on the javascript/html version of the map. We require all of these features to be available on Nanovg for our upcoming aircraft product.


Is all of this being implemented? Or I'm just missing something?
aircraftgaugesnanovg
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

1 Answer

·
mattnischan avatar image
mattnischan answered

The Coherent/JS API also does not include any of the things you mention: all of that is done on top of the map graphic by drawing on the canvas with code.

Similarly, you would need to do the same in C++, using the NanoVG canvas to draw layers on top of the base map graphics. Rotation is handled on the code side as well, by rotating the received map image by the desired angle in code.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.