mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
SupportedCrsIds
This commit is contained in:
parent
7da0f7f9af
commit
5bba4d6a1b
6 changed files with 11 additions and 11 deletions
|
|
@ -127,7 +127,7 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public double LoadingProgress => (double)GetValue(LoadingProgressProperty);
|
||||
|
||||
public abstract IReadOnlyCollection<string> SupportedMapProjections { get; }
|
||||
public abstract IReadOnlyCollection<string> SupportedCrsIds { get; }
|
||||
|
||||
protected override void SetParentMap(MapBase map)
|
||||
{
|
||||
|
|
@ -189,8 +189,8 @@ namespace MapControl
|
|||
if (ParentMap != null &&
|
||||
ParentMap.ActualWidth > 0d &&
|
||||
ParentMap.ActualHeight > 0d &&
|
||||
SupportedMapProjections != null &&
|
||||
SupportedMapProjections.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