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
5c17a1c36f
commit
44ba57e92b
4 changed files with 6 additions and 6 deletions
|
|
@ -51,11 +51,11 @@ namespace MapControl
|
|||
IsHitTestVisible = false // avoid touch capture issues
|
||||
};
|
||||
|
||||
public bool Pending { get; set; } = true;
|
||||
public bool IsLoaded { get; set; }
|
||||
|
||||
public void SetImageSource(ImageSource image, bool animateOpacity = true)
|
||||
{
|
||||
Pending = false;
|
||||
IsLoaded = true;
|
||||
Image.Source = image;
|
||||
|
||||
if (image != null && animateOpacity && MapBase.ImageFadeDuration > TimeSpan.Zero)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue