2 writes to Latitude
Microsoft.Maui.Essentials (2)
Types\Location.shared.cs (2)
70 Latitude = latitude; 102 Latitude = point.Latitude;
25 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 (12)
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)
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);