1 write to Center
Microsoft.Maui.Maps (1)
Primitives\MapSpan.cs (1)
13
Center
= center;
10 references to Center
Microsoft.Maui.Maps (10)
Primitives\MapSpan.cs (10)
29
double longKm = LongitudeDegreesToKm(
Center
, LongitudeDegrees);
38
double lat = Math.Max(Math.Min(
Center
.Latitude, north), south);
40
return new MapSpan(new Location(lat,
Center
.Longitude), Math.Min(LatitudeDegrees, maxDLat), LongitudeDegrees);
61
int hashCode =
Center
.GetHashCode();
80
double maxDLat = Math.Min(90 -
Center
.Latitude, 90 +
Center
.Latitude) * 2;
81
return new MapSpan(
Center
, Math.Min(LatitudeDegrees / zoomFactor, maxDLat), LongitudeDegrees / zoomFactor);
97
return
Center
.Equals(other.
Center
) && LongitudeDegrees.Equals(other.LongitudeDegrees) && LatitudeDegrees.Equals(other.LatitudeDegrees);
118
return $"{
Center
}, {LatitudeDegrees}, {LongitudeDegrees}";