Update MapBase.MapLayer.cs

This commit is contained in:
ClemensFischer 2025-09-06 13:45:21 +02:00
parent 690ad48acd
commit 9aa9941b20

View file

@ -133,8 +133,8 @@ namespace MapControl
if (mapLayers.Count > 0)
{
#if WPF
// Execute at DispatcherPriority.DataBind to ensure that all bindings are evaluated.
#if WPF // Execute at DispatcherPriority.DataBind to ensure that all bindings are evaluated.
//
Dispatcher.Invoke(() => AddMapLayers(mapLayers, index), DispatcherPriority.DataBind);
#else
AddMapLayers(mapLayers, index);