mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Minor changes
This commit is contained in:
parent
3774bf2ed3
commit
0be26af38c
9 changed files with 32 additions and 29 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue