MapLocationFinder.FindLocationsAsync Method

Definition

Overloads

FindLocationsAsync(String, Geopoint)

Converts the specified address to a collection of geographic locations (geocoding), using the specified reference point as a query hint.

FindLocationsAsync(String, Geopoint, UInt32)

Converts the specified address to a collection of geographic locations (geocoding), using the specified reference point as a query hint. The list contains no more than the specified maximum number of results.

FindLocationsAsync(String, Geopoint)

Converts the specified address to a collection of geographic locations (geocoding), using the specified reference point as a query hint.

public:
 static IAsyncOperation<MapLocationFinderResult ^> ^ FindLocationsAsync(Platform::String ^ searchText, Geopoint ^ referencePoint);
/// [Windows.Foundation.Metadata.Overload("FindLocationsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<MapLocationFinderResult> FindLocationsAsync(winrt::hstring const& searchText, Geopoint const& referencePoint);
[Windows.Foundation.Metadata.Overload("FindLocationsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<MapLocationFinderResult> FindLocationsAsync(string searchText, Geopoint referencePoint);
function findLocationsAsync(searchText, referencePoint)
Public Shared Function FindLocationsAsync (searchText As String, referencePoint As Geopoint) As IAsyncOperation(Of MapLocationFinderResult)

Parameters

searchText
String

The query for which you want to get locations.

referencePoint
Geopoint

A reference point that provides a query hint.

Returns

IAsyncOperation<MapLocationFinderResult>

When this method completes successfully, it returns a list of locations contained in the MapLocationFinderResult.

Attributes

See also

Applies to

FindLocationsAsync(String, Geopoint, UInt32)

Converts the specified address to a collection of geographic locations (geocoding), using the specified reference point as a query hint. The list contains no more than the specified maximum number of results.

public:
 static IAsyncOperation<MapLocationFinderResult ^> ^ FindLocationsAsync(Platform::String ^ searchText, Geopoint ^ referencePoint, unsigned int maxCount);
/// [Windows.Foundation.Metadata.Overload("FindLocationsWithMaxCountAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<MapLocationFinderResult> FindLocationsAsync(winrt::hstring const& searchText, Geopoint const& referencePoint, uint32_t const& maxCount);
[Windows.Foundation.Metadata.Overload("FindLocationsWithMaxCountAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<MapLocationFinderResult> FindLocationsAsync(string searchText, Geopoint referencePoint, uint maxCount);
function findLocationsAsync(searchText, referencePoint, maxCount)
Public Shared Function FindLocationsAsync (searchText As String, referencePoint As Geopoint, maxCount As UInteger) As IAsyncOperation(Of MapLocationFinderResult)

Parameters

searchText
String

The query for which you want to get locations.

referencePoint
Geopoint

A reference point that provides a query hint.

maxCount
UInt32

uint32_t

The maximum number of locations to get.

Returns

IAsyncOperation<MapLocationFinderResult>

When this method completes successfully, it returns a list of locations contained in the MapLocationFinderResult.

Attributes

See also

Applies to