MapControl.FindMapElementsAtOffset MapControl.FindMapElementsAtOffset MapControl.FindMapElementsAtOffset MapControl.FindMapElementsAtOffset Method

Definition

Overloads

FindMapElementsAtOffset(Point) FindMapElementsAtOffset(Point) FindMapElementsAtOffset(Point) FindMapElementsAtOffset(Point)

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

FindMapElementsAtOffset(Point, Double) FindMapElementsAtOffset(Point, Double) FindMapElementsAtOffset(Point, Double) FindMapElementsAtOffset(Point, Double)

Retrieves the collection of MapElement objects within the specified radius.

FindMapElementsAtOffset(Point) FindMapElementsAtOffset(Point) FindMapElementsAtOffset(Point) FindMapElementsAtOffset(Point)

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

public : IVectorView<MapElement> FindMapElementsAtOffset(Point offset)
IVectorView<MapElement> FindMapElementsAtOffset(Point offset) const;
public IReadOnlyList<MapElement> FindMapElementsAtOffset(Point offset)
Public Function FindMapElementsAtOffset(offset As Point) As IReadOnlyList<MapElement>(Of MapElement)

Parameters

offset
Point Point

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

Returns

IReadOnlyList<MapElement> IReadOnlyList<MapElement>

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

See also

FindMapElementsAtOffset(Point, Double) FindMapElementsAtOffset(Point, Double) FindMapElementsAtOffset(Point, Double) FindMapElementsAtOffset(Point, Double)

Retrieves the collection of MapElement objects within the specified radius.

public : IVectorView<MapElement> FindMapElementsAtOffset(Point offset, double radius)
IVectorView<MapElement> FindMapElementsAtOffset(Point offset, double radius) const;
public IReadOnlyList<MapElement> FindMapElementsAtOffset(Point offset, Double radius)
Public Function FindMapElementsAtOffset(offset As Point, radius As Double) As IReadOnlyList<MapElement>(Of MapElement)

Parameters

offset
Point 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

IReadOnlyList<MapElement> IReadOnlyList<MapElement>

The collection of MapElement objects within the specified radius.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

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