How to Create and Initialize a Synthetic Vision Map in MSFS?

Hello everyone,

I’m trying to create and initialize a synthetic vision map in Microsoft Flight Simulator (MSFS). I came across this GitHub repository that contains a code example for the G1000 Synthetic Vision System:

However, I’m having trouble understanding how to properly set it up and initialize it in my project. Could someone explain the process or provide a step-by-step guide on how to implement this?

Any advice or insights would be greatly appreciated.

Thank you!