Recently, we upgraded our version to 4.5, but when we click on the panZoomBar, middle, (on the circle) we get a run time error -
"The shape you provided does not pass our simple validation.There are no points in the shape."
Here is our source:
private void WpfMap_Loaded(object sender, RoutedEventArgs e)
{
wpfMap1.MapUnit = GeographyUnit.DecimalDegree;
wpfMap1.CurrentExtent = new RectangleShape(-133.2515625, 89.2484375, 126.9046875, -88.290625);
WorldMapKitWmsWpfOverlay worldMapKitOverlay = new WorldMapKitWmsWpfOverlay();
wpfMap1.Overlays.Add(worldMapKitOverlay);
PopupOverlay popupOverlay = new PopupOverlay();
wpfMap1.Overlays.Add("PopupOverlay", popupOverlay);
wpfMap1.Refresh();
}
Please, what did we do something wrong?