mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-01-01 22:30:14 +01:00
Update MapBase.MapLayer.cs
This commit is contained in:
parent
690ad48acd
commit
9aa9941b20
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue