Share via


OfflineMapPackage.FindPackagesAsync(Geopoint) Method

Definition

Starts an asynchronous operation to find a map package that contains map data for specified geographical location.

public:
 static IAsyncOperation<OfflineMapPackageQueryResult ^> ^ FindPackagesAsync(Geopoint ^ queryPoint);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<OfflineMapPackageQueryResult> FindPackagesAsync(Geopoint const& queryPoint);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<OfflineMapPackageQueryResult> FindPackagesAsync(Geopoint queryPoint);
function findPackagesAsync(queryPoint)
Public Shared Function FindPackagesAsync (queryPoint As Geopoint) As IAsyncOperation(Of OfflineMapPackageQueryResult)

Parameters

queryPoint
Geopoint

The geographical location that you want to locate a map package for.

Returns

An OfflineMapPackageQueryResult that contains the result of the query.

Attributes

Remarks

This query can find multiple matches. It can also find no matches at all (For example: if you specify a border region or an area in the middle of the ocean).

Applies to