Update WmsImageLayer.cs

This commit is contained in:
ClemensFischer 2025-01-27 17:37:26 +01:00
parent 8d6c35e757
commit 381dca48ce

View file

@ -39,7 +39,7 @@ namespace MapControl
DependencyPropertyHelper.Register<WmsImageLayer, string>(nameof(WmsLayers), null, DependencyPropertyHelper.Register<WmsImageLayer, string>(nameof(WmsLayers), null,
async (layer, oldValue, newValue) => async (layer, oldValue, newValue) =>
{ {
// Ignore property change from GetImageAsync when Layers was null. // Ignore property change from GetImageAsync when WmsLayers was null.
// //
if (oldValue != null) if (oldValue != null)
{ {