Pan and Rotate doesnt work from C# WPF App

877
0
11-28-2016 09:33 AM
jayshukla
New Contributor III

Hi There, I have a WPF app that loads an HTML page using default WebBrowser Control, noticed that Pan/Rotate functionality doesn't work with Version 4.0/4.1. I wanted to check and see if anyone else came across this issue. As a test,  I tried loading some of the ESRI samples (no custom code) and I still see this issue. Appreciate any feedback. Thanks Jay

Snippet

public MainWindow() {     InitializeComponent();      MapBrowser.Navigate(new Uri("http://index.html"));       MapBrowser.LoadCompleted += MapBrowserOnLoadCompleted;   }  private void MapBrowserOnLoadCompleted(object senderNavigationEventArgs navigationEventArgs) {     Debug.Write(sender);     MapBrowser.Refresh(); }
0 Kudos
0 Replies