Minor changes

This commit is contained in:
ClemensF 2017-08-16 21:27:12 +02:00
parent 3774bf2ed3
commit 0be26af38c
9 changed files with 32 additions and 29 deletions

View file

@ -295,12 +295,12 @@ namespace MapControl
/// </summary>
protected abstract bool UpdateImage(BoundingBox boundingBox);
private void SetTopImage(BitmapSource bitmapSource)
private void SetTopImage(ImageSource imageSource)
{
topImageIndex = (topImageIndex + 1) % 2;
var topImage = (Image)Children[topImageIndex];
topImage.Source = bitmapSource;
topImage.Source = imageSource;
SetBoundingBox(topImage, boundingBox?.Clone());
}