MapContextRequestedEventArgs
MapContextRequestedEventArgs
MapContextRequestedEventArgs
MapContextRequestedEventArgs
Class
Definition
Provides event data for the MapContextRequested event.
public : sealed class MapContextRequestedEventArgs : IMapContextRequestedEventArgspublic sealed class MapContextRequestedEventArgs : IMapContextRequestedEventArgsPublic NotInheritable Class MapContextRequestedEventArgs Implements IMapContextRequestedEventArgs// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Constructors
MapContextRequestedEventArgs() MapContextRequestedEventArgs() MapContextRequestedEventArgs() MapContextRequestedEventArgs()
Initializes a new instance of the MapContextRequestedEventArgs class.
public : MapContextRequestedEventArgs()public MapContextRequestedEventArgs()Public Sub New()// This API is not available in Javascript.
Properties
Location Location Location Location
Gets a geolocation on the map of a context input gesture, such as a right-click.
public : Geopoint Location { get; }public Geopoint Location { get; }Public ReadOnly Property Location As Geopoint// This API is not available in Javascript.
The geolocation on the map of a context input gesture, such as a right-click.
Remarks
To get the x- and y-coordinate values that define the point on the map of a context input gesture, use the Position property.
MapElements MapElements MapElements MapElements
Gets a collection of MapElement objects at the point on the map specified by the Location property.
public : IVectorView<MapElement> MapElements { get; }public IReadOnlyList<MapElement> MapElements { get; }Public ReadOnly Property MapElements As IReadOnlyList<MapElement>// This API is not available in Javascript.
- Value
- IVectorView<MapElement> IReadOnlyList<MapElement> IReadOnlyList<MapElement> IReadOnlyList<MapElement>
A collection of MapElement objects at the point on the map specified by the Location property.
Position Position Position Position
Gets the x- and y-coordinate values that define the point on the map of a context input gesture, such as a right-click.
public : Point Position { get; }public Point Position { get; }Public ReadOnly Property Position As Point// This API is not available in Javascript.
The x- and y-coordinate values that define the point on the map of a context input gesture, such as a right-click.
Remarks
To get the geolocation point on the map of a context input gesture, use the Location property.