mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 22:18:56 +00:00
MapTileLayerBase.TileImageLoader property
This commit is contained in:
parent
ebdbc012f2
commit
b32755e29e
7 changed files with 13 additions and 33 deletions
|
|
@ -11,9 +11,9 @@ namespace MapControl
|
|||
{
|
||||
public partial class Tile
|
||||
{
|
||||
private void AnimateImageOpacity(ImageSource image)
|
||||
private void AnimateImageOpacity()
|
||||
{
|
||||
if (image is BitmapSource bitmap && !bitmap.IsFrozen && bitmap.IsDownloading)
|
||||
if (Image.Source is BitmapSource bitmap && bitmap.IsDownloading && !bitmap.IsFrozen)
|
||||
{
|
||||
bitmap.DownloadCompleted += BitmapDownloadCompleted;
|
||||
bitmap.DownloadFailed += BitmapDownloadFailed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue