mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 15:05:50 +00:00
Update Tile class
This commit is contained in:
parent
6903c4a436
commit
7fa2e37266
7 changed files with 17 additions and 10 deletions
|
|
@ -52,6 +52,13 @@ namespace MapControl
|
|||
|
||||
public bool Pending { get; set; } = true;
|
||||
|
||||
public void SetImageSource(Tile tile)
|
||||
{
|
||||
Pending = false;
|
||||
Image.Opacity = 1d;
|
||||
Image.Source = tile.Image.Source;
|
||||
}
|
||||
|
||||
private void FadeIn()
|
||||
{
|
||||
Image.BeginAnimation(UIElement.OpacityProperty, new DoubleAnimation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue