WMTS support for Avalonia

This commit is contained in:
ClemensFischer 2024-05-22 11:47:57 +02:00
parent eb990ab9ee
commit 18a2f31fb3
5 changed files with 26 additions and 13 deletions

View file

@ -32,7 +32,7 @@ namespace MapControl
{
public static readonly DependencyProperty TileSourceProperty =
DependencyPropertyHelper.Register<MapTileLayerBase, TileSource>(nameof(TileSource), null, false,
async (obj, oldVale, newValue) => await obj.Update(true));
async (layer, oldValue, newValue) => await layer.Update(true));
public static readonly DependencyProperty SourceNameProperty =
DependencyPropertyHelper.Register<MapTileLayerBase, string>(nameof(SourceName));