MapElementsLayerContextRequestedEventArgs
MapElementsLayerContextRequestedEventArgs
MapElementsLayerContextRequestedEventArgs
MapElementsLayerContextRequestedEventArgs
Class
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Provides event data for the MapContextRequested event.
public : sealed class MapElementsLayerContextRequestedEventArgs : IMapElementsLayerContextRequestedEventArgspublic sealed class MapElementsLayerContextRequestedEventArgs : IMapElementsLayerContextRequestedEventArgsPublic NotInheritable Class MapElementsLayerContextRequestedEventArgs Implements IMapElementsLayerContextRequestedEventArgs// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Constructors
MapElementsLayerContextRequestedEventArgs() MapElementsLayerContextRequestedEventArgs() MapElementsLayerContextRequestedEventArgs() MapElementsLayerContextRequestedEventArgs()
Prerelease. Initializes a new instance of the MapElementsLayerContextRequestedEventArgs class.
public : MapElementsLayerContextRequestedEventArgs()public MapElementsLayerContextRequestedEventArgs()Public Sub New()// This API is not available in Javascript.
Properties
Location Location Location Location
Prerelease. Gets a geolocation on the map layer 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 layer 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 layer of a context input gesture, use the Position property.
MapElements MapElements MapElements MapElements
Prerelease. Gets a collection of MapElement objects at the point on the map layer 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 layer specified by the Location property.
Position Position Position Position
Prerelease. Gets the x- and y-coordinate values that define the point on the map layer 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 layer of a context input gesture, such as a right-click.
Remarks
To get the geolocation point on the map layer of a context input gesture, use the Location property.