mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 06:55:04 +00:00
Version 5.0.1: Changed all WPF projects to Sdk format
This commit is contained in:
parent
49e15ce424
commit
54f8de93fe
23 changed files with 278 additions and 520 deletions
|
|
@ -239,12 +239,6 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public ViewTransform ViewTransform { get; } = new ViewTransform();
|
||||
|
||||
/// <summary>
|
||||
/// Gets a MatrixTransform that can be used to transform from cartesian map coordinates
|
||||
/// to view coordinates.
|
||||
/// </summary>
|
||||
public MatrixTransform MapToViewTransform { get; } = new MatrixTransform();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the horizontal and vertical scaling factors from cartesian map coordinates to view
|
||||
/// coordinates at the specified location, i.e. pixels per meter.
|
||||
|
|
@ -739,7 +733,6 @@ namespace MapControl
|
|||
}
|
||||
|
||||
ViewScale = ViewTransform.Scale;
|
||||
MapToViewTransform.Matrix = ViewTransform.MapToViewMatrix;
|
||||
|
||||
OnViewportChanged(new ViewportChangedEventArgs(projectionChanged, Center.Longitude - centerLongitude));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue