mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
WmsImageLayer.InitializeAsync
This commit is contained in:
parent
7b2b95d629
commit
a7e4f50256
3 changed files with 86 additions and 62 deletions
|
|
@ -189,8 +189,7 @@ namespace MapControl
|
|||
if (ParentMap != null &&
|
||||
ParentMap.ActualWidth > 0d &&
|
||||
ParentMap.ActualHeight > 0d &&
|
||||
SupportedCrsIds != null &&
|
||||
SupportedCrsIds.Contains(ParentMap.MapProjection.CrsId))
|
||||
(SupportedCrsIds == null || SupportedCrsIds.Contains(ParentMap.MapProjection.CrsId)))
|
||||
{
|
||||
var width = ParentMap.ActualWidth * RelativeImageSize;
|
||||
var height = ParentMap.ActualHeight * RelativeImageSize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue