mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-07 15:36:20 +00:00
Version 4.6.1: Removed obsolete MapProjection.TranslateLocation method
This commit is contained in:
parent
fa2c561bc9
commit
b12155e498
15 changed files with 19 additions and 73 deletions
|
|
@ -42,12 +42,5 @@ namespace MapControl
|
|||
{
|
||||
return new Location(point.Y, point.X);
|
||||
}
|
||||
|
||||
public override Location TranslateLocation(Location location, Point translation)
|
||||
{
|
||||
return new Location(
|
||||
location.Latitude - translation.Y / ViewportScale,
|
||||
location.Longitude + translation.X / ViewportScale);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue