Beispiel #1
0
        public MainPage()
        {
            // Load main layout
            InitializeComponent();

            // Hide the default UI once the page is loaded
            WebViewMap.Navigated += async(sender, args) => { await WebViewMap.EvaluateJavaScriptAsync("hideUi()"); };
        }
Beispiel #2
0
 /// <summary>
 /// Moves map to plane
 /// </summary>
 /// <param name="id"></param>
 public async void ToPlane(string id) =>
 await WebViewMap.EvaluateJavaScriptAsync($"getFlight('{id}')");