Sample for PTV Developer within a WinForms application
Demonstrates how to:
- Utilize WebView2 to display the PTV Developer Vector Maps API.
- Integrate interactive routing using the PTV Developer Routing Api and maplibre-gl-directions.
- Bridge api calls between Winforms and WebView2.
Get your free API key at https://developer.myptv.com/ and add it in Form1.cs.
Note: It seems sometimes the WebView2 runtimes folder isn't copied at the initial build. In this case just clean and rebuild the solution.