Map.GetMapElementsAt Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Retrieves the list of MapElement objects at the specified point in the viewport of the Map control.
Namespace: Microsoft.Phone.Maps.Controls
Assembly: Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
Syntax
Public Function GetMapElementsAt ( _
viewportPoint As Point _
) As IList(Of MapElement)
public IList<MapElement> GetMapElementsAt(
Point viewportPoint
)
Parameters
- viewportPoint
Type: System.Windows..::.Point
A point in the viewport of the Map control. viewportPoint can be zero or a positive integer.
Return Value
Type: System.Collections.Generic..::.IList<(Of <(MapElement>)>)
The list of MapElement objects at the specified point in the viewport of the Map control.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0