mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update MapTileLayerBase.cs
This commit is contained in:
parent
169854461f
commit
c7b0bcb1c1
|
|
@ -43,7 +43,8 @@ namespace MapControl
|
||||||
DependencyPropertyHelper.Register<MapTileLayerBase, int>(nameof(MaxBackgroundLevels), 5);
|
DependencyPropertyHelper.Register<MapTileLayerBase, int>(nameof(MaxBackgroundLevels), 5);
|
||||||
|
|
||||||
public static readonly DependencyProperty UpdateIntervalProperty =
|
public static readonly DependencyProperty UpdateIntervalProperty =
|
||||||
DependencyPropertyHelper.Register<MapTileLayerBase, TimeSpan>(nameof(UpdateInterval), TimeSpan.FromSeconds(0.2));
|
DependencyPropertyHelper.Register<MapTileLayerBase, TimeSpan>(nameof(UpdateInterval), TimeSpan.FromSeconds(0.2),
|
||||||
|
(layer, oldValue, newValue) => layer.updateTimer.Interval = newValue);
|
||||||
|
|
||||||
public static readonly DependencyProperty UpdateWhileViewportChangingProperty =
|
public static readonly DependencyProperty UpdateWhileViewportChangingProperty =
|
||||||
DependencyPropertyHelper.Register<MapTileLayerBase, bool>(nameof(UpdateWhileViewportChanging));
|
DependencyPropertyHelper.Register<MapTileLayerBase, bool>(nameof(UpdateWhileViewportChanging));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue