mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 22:46:58 +00:00
WmsImageLayer.InitializeAsync
This commit is contained in:
parent
7b2b95d629
commit
a7e4f50256
3 changed files with 86 additions and 62 deletions
|
|
@ -28,7 +28,9 @@ namespace MapControl.UiTools
|
|||
|
||||
protected override bool GetIsEnabled(MapBase map)
|
||||
{
|
||||
return map.MapLayer is not IMapLayer mapLayer || mapLayer.SupportedCrsIds.Contains(CrsId);
|
||||
return map.MapLayer is not IMapLayer mapLayer
|
||||
|| mapLayer.SupportedCrsIds == null
|
||||
|| mapLayer.SupportedCrsIds.Contains(CrsId);
|
||||
}
|
||||
|
||||
protected override bool GetIsChecked(MapBase map)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue