2 writes to Latitude
Microsoft.Maui.Essentials (2)
Types\Location.shared.cs (2)
70
Latitude
= latitude;
102
Latitude
= point.Latitude;
20 references to Latitude
Microsoft.Maui.Essentials (13)
Geocoding\Geocoding.shared.cs (1)
104
return geocoding.GetPlacemarksAsync(location.
Latitude
, location.Longitude);
Map\Map.shared.cs (2)
211
return map.OpenAsync(location.
Latitude
, location.Longitude, options);
242
return map.TryOpenAsync(location.
Latitude
, location.Longitude, options);
Types\Location.shared.cs (10)
102
Latitude = point.
Latitude
;
186
CalculateDistance(latitudeStart, longitudeStart, locationEnd.
Latitude
, locationEnd.Longitude, units);
197
CalculateDistance(locationStart.
Latitude
, locationStart.Longitude, latitudeEnd, longitudeEnd, units);
207
CalculateDistance(locationStart.
Latitude
, locationStart.Longitude, locationEnd.
Latitude
, locationEnd.Longitude, units);
241
$"{nameof(
Latitude
)}: {
Latitude
}, " +
258
return
Latitude
== other.
Latitude
&& Longitude == other.Longitude;
266
int hashCode =
Latitude
.GetHashCode();
Microsoft.Maui.Maps (7)
Primitives\Distance.cs (2)
57
var latitude1 = position1.
Latitude
.ToRadians();
60
var latitude2 = position2.
Latitude
.ToRadians();
Primitives\GeographyUtils.cs (1)
19
double centerLatitude = circle.Center.
Latitude
.ToRadians();
Primitives\MapSpan.cs (4)
38
double lat = Math.Max(Math.Min(Center.
Latitude
, north), south);
80
double maxDLat = Math.Min(90 - Center.
Latitude
, 90 + Center.
Latitude
) * 2;
102
return EarthCircumferenceKm * Math.Cos(location.
Latitude
* Math.PI / 180.0);