6 references to Location
Microsoft.Maui.Controls.Maps (1)
Map.cs (1)
69
public Map() : this(new MapSpan(new Devices.Sensors.
Location
(20.793062527, -156.336394697), 0.5, 0.5))
Microsoft.Maui.Essentials (1)
Types\Location.shared.cs (1)
87
public Location(double latitude, double longitude, double altitude) :
this
(latitude, longitude)
Microsoft.Maui.Maps (4)
Platform\iOS\MauiMKMapView.cs (2)
213
handler.VirtualView.VisibleRegion = new MapSpan(new Devices.Sensors.
Location
(Region.Center.Latitude, Region.Center.Longitude), Region.Span.LatitudeDelta, Region.Span.LongitudeDelta);
318
handler?.VirtualView.Clicked(new Devices.Sensors.
Location
(tapGPS.Latitude, tapGPS.Longitude));
Primitives\GeographyUtils.cs (1)
32
positions.Add(new
Location
(latitude.ToDegrees(), longitude.ToDegrees()));
Primitives\MapSpan.cs (1)
40
return new MapSpan(new
Location
(lat, Center.Longitude), Math.Min(LatitudeDegrees, maxDLat), LongitudeDegrees);