Removed unused ViewScale property.

This commit is contained in:
Clemens 2022-08-08 17:58:55 +02:00
parent d3f31bdf6a
commit 181c9e5642
3 changed files with 0 additions and 26 deletions

View file

@ -215,12 +215,6 @@ namespace MapControl
set => SetValue(AnimationEasingFunctionProperty, value);
}
/// <summary>
/// Gets the scaling factor from cartesian map coordinates to view coordinates,
/// i.e. pixels per meter, as a read-only dependency property.
/// </summary>
public double ViewScale => (double)GetValue(ViewScaleProperty);
/// <summary>
/// Gets the ViewTransform instance that is used to transform between cartesian map coordinates
/// and view coordinates.
@ -776,8 +770,6 @@ namespace MapControl
}
}
SetViewScale(ViewTransform.Scale);
OnViewportChanged(new ViewportChangedEventArgs(projectionChanged, Center.Longitude - centerLongitude));
centerLongitude = Center.Longitude;