Delen via


MapControl.FindMapElementsAtOffset Method

Definition

Overloads

FindMapElementsAtOffset(Point)

Retrieves the collection of MapElement objects at the specified point on the map.

FindMapElementsAtOffset(Point, Double)

Retrieves the collection of MapElement objects within the specified radius.

FindMapElementsAtOffset(Point)

Retrieves the collection of MapElement objects at the specified point on the map.

public:
 virtual IVectorView<MapElement ^> ^ FindMapElementsAtOffset(Point offset) = FindMapElementsAtOffset;
IVectorView<MapElement> FindMapElementsAtOffset(Point const& offset);
/// [Windows.Foundation.Metadata.Overload("FindMapElementsAtOffset")]
IVectorView<MapElement> FindMapElementsAtOffset(Point const& offset);
public IReadOnlyList<MapElement> FindMapElementsAtOffset(Point offset);
[Windows.Foundation.Metadata.Overload("FindMapElementsAtOffset")]
public IReadOnlyList<MapElement> FindMapElementsAtOffset(Point offset);
function findMapElementsAtOffset(offset)
Public Function FindMapElementsAtOffset (offset As Point) As IReadOnlyList(Of MapElement)

Parameters

offset
Point

The point on the map from which to retrieve the collection of MapElement objects.

Returns

The collection of MapElement objects at the specified point on the map.

Attributes

See also

Applies to

FindMapElementsAtOffset(Point, Double)

Retrieves the collection of MapElement objects within the specified radius.

public:
 virtual IVectorView<MapElement ^> ^ FindMapElementsAtOffset(Point offset, double radius) = FindMapElementsAtOffset;
/// [Windows.Foundation.Metadata.Overload("FindMapElementsAtOffsetWithRadius")]
IVectorView<MapElement> FindMapElementsAtOffset(Point const& offset, double const& radius);
[Windows.Foundation.Metadata.Overload("FindMapElementsAtOffsetWithRadius")]
public IReadOnlyList<MapElement> FindMapElementsAtOffset(Point offset, double radius);
function findMapElementsAtOffset(offset, radius)
Public Function FindMapElementsAtOffset (offset As Point, radius As Double) As IReadOnlyList(Of MapElement)

Parameters

offset
Point

The point on the map that marks the center of a radius from which to retrieve the collection of MapElement objects.

radius
Double

double

A number that's added to the offset to mark the edge of the radius.

Returns

The collection of MapElement objects within the specified radius.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

Use this overload to retrieve a collection of map objects by using a hit test area that your app captures from touch interactions.

See also

Applies to