mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Equality methods
This commit is contained in:
parent
23a8e49efb
commit
2686cda333
9 changed files with 47 additions and 91 deletions
|
|
@ -28,8 +28,7 @@ namespace MapControl
|
|||
|
||||
public override Point? LocationToMap(double latitude, double longitude)
|
||||
{
|
||||
if (Location.Equals(latitude, Center.Latitude) &&
|
||||
Location.Equals(longitude, Center.Longitude))
|
||||
if (Center.Equals(latitude, longitude))
|
||||
{
|
||||
return new Point();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue