Hi,
I want to change the size of the map dynamically whenever parent window size change. I write the following code to do that
void Window_SizeChanged(object sender, SizeChangedEventArgs e) { if (IsLoaded) { wpfMap.Width = e.NewSize.Width;
wpfMap.Height = e.NewSize.Height;
wpfMap.Refresh(); } }
but it is not working? What should i do to change the size of the imaged based map.
Thanks
Raquib