1 instantiation of Placemark
Microsoft.Maui.Essentials (1)
Types\PlacemarkExtensions.ios.tvos.watchos.macos.cs (1)
11 return addresses.Select(address => new Placemark
32 references to Placemark
Microsoft.Maui.Essentials (32)
Geocoding\Geocoding.ios.tvos.watchos.macos.cs (2)
11 public async Task<IEnumerable<Placemark>> GetPlacemarksAsync(double latitude, double longitude) 17 return addressList?.ToPlacemarks() ?? Array.Empty<Placemark>();
Geocoding\Geocoding.shared.cs (8)
18 /// <returns>List of <see cref="Placemark"/> that best match the coordinates or <see langword="null"/> if no placemarks are found.</returns> 19 Task<IEnumerable<Placemark>> GetPlacemarksAsync(double latitude, double longitude); 52 /// <returns>List of <see cref="Placemark"/> that best match the coordinates or <see langword="null"/> if no placemarks are found.</returns> 53 public static Task<IEnumerable<Placemark>> GetPlacemarksAsync(Location location) => 61 /// <returns>List of <see cref="Placemark"/> that best match the coordinates or <see langword="null"/> if no placemarks are found.</returns> 62 public static Task<IEnumerable<Placemark>> GetPlacemarksAsync(double latitude, double longitude) => 97 /// <returns>List of <see cref="Placemark"/> that best match the coordinates or <see langword="null"/> if no placemarks are found.</returns> 99 public static Task<IEnumerable<Placemark>> GetPlacemarksAsync(this IGeocoding geocoding, Location location)
Map\Map.ios.watchos.macos.cs (2)
34 public async Task OpenAsync(Placemark placemark, MapLaunchOptions options) 40 public async Task<bool> TryOpenAsync(Placemark placemark, MapLaunchOptions options)
Map\Map.shared.cs (8)
28 Task OpenAsync(Placemark placemark, MapLaunchOptions options); 47 Task<bool> TryOpenAsync(Placemark placemark, MapLaunchOptions options); 96 public static Task OpenAsync(Placemark placemark) => 105 public static Task OpenAsync(Placemark placemark, MapLaunchOptions options) => 154 public static Task<bool> TryOpenAsync(Placemark placemark) => 164 public static Task<bool> TryOpenAsync(Placemark placemark, MapLaunchOptions options) => 261 public static Task OpenAsync(this IMap map, Placemark placemark) => 282 public static Task<bool> TryOpenAsync(this IMap map, Placemark placemark) =>
Types\Placemark.shared.cs (5)
11 /// Initializes a new instance of the <see cref="Placemark"/> class. 18 /// Initializes a new instance of the <see cref="Placemark"/> class. 20 /// <param name="placemark">An instance of <see cref="Placemark"/> that will be used to clone into this instance.</param> 22 public Placemark(Placemark placemark) 100 /// Returns a string representation of the current values of <see cref="Placemark"/>.
Types\PlacemarkExtensions.ios.tvos.watchos.macos.cs (1)
9 internal static IEnumerable<Placemark> ToPlacemarks(this IEnumerable<CLPlacemark> addresses)
Types\PlacemarkExtensions.shared.cs (6)
8 /// This class contains static extension methods for use with <see cref="Placemark"/> objects. 12 /// <inheritdoc cref="Map.OpenAsync(Placemark, MapLaunchOptions)"/> 13 public static Task OpenMapsAsync(this Placemark placemark, MapLaunchOptions options) => 16 /// <inheritdoc cref="Map.OpenAsync(Placemark)"/> 17 public static Task OpenMapsAsync(this Placemark placemark) => 20 internal static string GetEscapedAddress(this Placemark placemark)