2 writes to Longitude
Microsoft.Maui.Essentials (2)
Types\Location.shared.cs (2)
76 Longitude = longitude; 103 Longitude = point.Longitude;
22 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 (9)
Handlers\Map\MapHandler.iOS.cs (1)
104 var mapRegion = new MKCoordinateRegion(new CLLocationCoordinate2D(center.Latitude, center.Longitude), new MKCoordinateSpan(mapSpan.LatitudeDegrees, mapSpan.LongitudeDegrees));
Handlers\MapPin\MapPinHandler.iOS.cs (1)
15 mKPointAnnotation.Coordinate = new CLLocationCoordinate2D(mapPin.Location.Latitude, mapPin.Location.Longitude);
Platform\iOS\MauiMKMapView.cs (3)
140 .Select(position => new CLLocationCoordinate2D(position.Latitude, position.Longitude)) 144 .Select(position => new CLLocationCoordinate2D(position.Latitude, position.Longitude)) 149 new CLLocationCoordinate2D(circleElement.Center.Latitude, circleElement.Center.Longitude),
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);