Share via


LocationExtensions Class

Definition

This class contains static extension methods for use with Location objects.

public ref class LocationExtensions abstract sealed
public static class LocationExtensions
type LocationExtensions = class
Public Module LocationExtensions
Inheritance
LocationExtensions

Methods

CalculateDistance(Location, Double, Double, DistanceUnits)

Extension to calculate distance from location to another location.

CalculateDistance(Location, Location, DistanceUnits)

Extension to calculate distance from location to another location.

OpenMapsAsync(Location, MapLaunchOptions)

Open maps to this location.

OpenMapsAsync(Location)

Open maps to this location.

Applies to