2 writes to Longitude
Microsoft.Maui.Essentials (2)
Types\Location.shared.cs (2)
76
Longitude
= longitude;
103
Longitude
= point.Longitude;
17 references to Longitude
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)
103
Longitude = point.
Longitude
;
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);
242
$"{nameof(
Longitude
)}: {
Longitude
}, " +
258
return Latitude == other.Latitude &&
Longitude
== other.
Longitude
;
267
hashCode = (hashCode * 397) ^
Longitude
.GetHashCode();
Microsoft.Maui.Maps (4)
Primitives\Distance.cs (2)
58
var longitude1 = position1.
Longitude
.ToRadians();
61
var longitude2 = position2.
Longitude
.ToRadians();
Primitives\GeographyUtils.cs (1)
20
double centerLongitude = circle.Center.
Longitude
.ToRadians();
Primitives\MapSpan.cs (1)
40
return new MapSpan(new Location(lat, Center.
Longitude
), Math.Min(LatitudeDegrees, maxDLat), LongitudeDegrees);