OfflineMapPackage.FindPackagesInBoundingBoxAsync(GeoboundingBox) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Starts an asynchronous operation to find a map package that contains map data for specified four-sided geographic area.
public:
static IAsyncOperation<OfflineMapPackageQueryResult ^> ^ FindPackagesInBoundingBoxAsync(GeoboundingBox ^ queryBoundingBox);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<OfflineMapPackageQueryResult> FindPackagesInBoundingBoxAsync(GeoboundingBox const& queryBoundingBox);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<OfflineMapPackageQueryResult> FindPackagesInBoundingBoxAsync(GeoboundingBox queryBoundingBox);
function findPackagesInBoundingBoxAsync(queryBoundingBox)
Public Shared Function FindPackagesInBoundingBoxAsync (queryBoundingBox As GeoboundingBox) As IAsyncOperation(Of OfflineMapPackageQueryResult)
Parameters
- queryBoundingBox
- GeoboundingBox
A specified four-sided geographic area that defines the area 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).