MapControlAutomationPeer
MapControlAutomationPeer
MapControlAutomationPeer
MapControlAutomationPeer
Class
Definition
Exposes MapControl types to Microsoft UI Automation.
public : sealed class MapControlAutomationPeer : FrameworkElementAutomationPeer, IMapControlAutomationPeer, IScrollProvider, ITransformProvider, ITransformProvider2public sealed class MapControlAutomationPeer : FrameworkElementAutomationPeer, IMapControlAutomationPeer, IScrollProvider, ITransformProvider, ITransformProvider2Public NotInheritable Class MapControlAutomationPeer Inherits FrameworkElementAutomationPeer Implements IMapControlAutomationPeer, IScrollProvider, ITransformProvider, ITransformProvider2// This API is not available in Javascript.
- Inheritance
-
FrameworkElementAutomationPeerFrameworkElementAutomationPeerFrameworkElementAutomationPeerFrameworkElementAutomationPeerMapControlAutomationPeerMapControlAutomationPeerMapControlAutomationPeerMapControlAutomationPeer
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
Inherited properties
Properties
CanMove CanMove CanMove CanMove
Gets a Boolean value indicating if the associated map can be repositioned.
public : PlatForm::Boolean CanMove { get; }public bool CanMove { get; }Public ReadOnly Property CanMove As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
A Boolean value indicating if the associated map can be repositioned.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
CanResize CanResize CanResize CanResize
Gets a Boolean value indicating if the associated map can be resized.
public : PlatForm::Boolean CanResize { get; }public bool CanResize { get; }Public ReadOnly Property CanResize As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
A Boolean value indicating if the associated map can be resized.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
CanRotate CanRotate CanRotate CanRotate
Gets a Boolean value indicating if the associated map can be rotated.
public : PlatForm::Boolean CanRotate { get; }public bool CanRotate { get; }Public ReadOnly Property CanRotate As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
A Boolean value indicating if the associated map can be rotated.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
CanZoom CanZoom CanZoom CanZoom
Get a Boolean value indicating if the associated map can be zoomed.
public : PlatForm::Boolean CanZoom { get; }public bool CanZoom { get; }Public ReadOnly Property CanZoom As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
A Boolean value indicating if the associated map can be zoomed.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
HorizontallyScrollable HorizontallyScrollable HorizontallyScrollable HorizontallyScrollable
Gets a Boolean value indicating if the map is scrollable in a horizontal direction.
public : PlatForm::Boolean HorizontallyScrollable { get; }public bool HorizontallyScrollable { get; }Public ReadOnly Property HorizontallyScrollable As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
Boolean value indicating if the map is scrollable in a horizontal direction.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
HorizontalScrollPercent HorizontalScrollPercent HorizontalScrollPercent HorizontalScrollPercent
Gets a Double value indicating the percentage of how far the map has been scrolled horizontally.
public : double HorizontalScrollPercent { get; }public double HorizontalScrollPercent { get; }Public ReadOnly Property HorizontalScrollPercent As double// This API is not available in Javascript.
- Value
- double double double double
A Double value indicating the percentage of how far the map has been scrolled horizontally.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
HorizontalViewSize HorizontalViewSize HorizontalViewSize HorizontalViewSize
Gets the horizontal size of the map view.
public : double HorizontalViewSize { get; }public double HorizontalViewSize { get; }Public ReadOnly Property HorizontalViewSize As double// This API is not available in Javascript.
- Value
- double double double double
The horizontal size of the map view.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
MaxZoom MaxZoom MaxZoom MaxZoom
Gets the maximum zoom level for the associated map.
public : double MaxZoom { get; }public double MaxZoom { get; }Public ReadOnly Property MaxZoom As double// This API is not available in Javascript.
- Value
- double double double double
The maximum zoom level for the associated map.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Remarks
See the remarks section of the MaxZoomLevel property.
MinZoom MinZoom MinZoom MinZoom
Gets the minimum zoom level for the associated map.
public : double MinZoom { get; }public double MinZoom { get; }Public ReadOnly Property MinZoom As double// This API is not available in Javascript.
- Value
- double double double double
The minimum zoom level for the associated map.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Remarks
See the remarks section of the MaxZoomLevel property.
VerticallyScrollable VerticallyScrollable VerticallyScrollable VerticallyScrollable
Gets a Boolean value indicating if the map is scrollable in a vetrical direction.
public : PlatForm::Boolean VerticallyScrollable { get; }public bool VerticallyScrollable { get; }Public ReadOnly Property VerticallyScrollable As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
Boolean value indicating if the map is scrollable in a vertical direction.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
VerticalScrollPercent VerticalScrollPercent VerticalScrollPercent VerticalScrollPercent
Gets a Double value indicating the percentage of how far the map has been scrolled vertically.
public : double VerticalScrollPercent { get; }public double VerticalScrollPercent { get; }Public ReadOnly Property VerticalScrollPercent As double// This API is not available in Javascript.
- Value
- double double double double
A Double value indicating the percentage of how far the map has been scrolled vertically.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
VerticalViewSize VerticalViewSize VerticalViewSize VerticalViewSize
Gets the vertical size of the map view.
public : double VerticalViewSize { get; }public double VerticalViewSize { get; }Public ReadOnly Property VerticalViewSize As double// This API is not available in Javascript.
- Value
- double double double double
The vertical size of the map view.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
ZoomLevel ZoomLevel ZoomLevel ZoomLevel
Gets the zoom level of the associated map, which is a value between 1 and 20 in 2D views.
public : double ZoomLevel { get; }public double ZoomLevel { get; }Public ReadOnly Property ZoomLevel As double// This API is not available in Javascript.
- Value
- double double double double
The zoom level of the associated map.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Remarks
See the remarks section of the TryZoomInAsync method.
Methods
Move(Double, Double) Move(Double, Double) Move(Double, Double) Move(Double, Double)
Moves the map by the specified horizontal and vertical amounts.
public : void Move(double x, double y)public void Move(Double x, Double y)Public Function Move(x As Double, y As Double) As void// This API is not available in Javascript.
- x
- double Double Double Double
The amount to move the map horizontally.
- y
- double Double Double Double
The amount to move the map vertically.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Resize(Double, Double) Resize(Double, Double) Resize(Double, Double) Resize(Double, Double)
Resizes the associated map to the specified width and height.
public : void Resize(double width, double height)public void Resize(Double width, Double height)Public Function Resize(width As Double, height As Double) As void// This API is not available in Javascript.
- width
- double Double Double Double
The new width for the associated map.
- height
- double Double Double Double
The new height for the associated map.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Rotate(Double) Rotate(Double) Rotate(Double) Rotate(Double)
Rotates the map's camera from its current position.
public : void Rotate(double degrees)public void Rotate(Double degrees)Public Function Rotate(degrees As Double) As void// This API is not available in Javascript.
- degrees
- double Double Double Double
The degrees that the map's camera rotates in a horizontal clockwise direction.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Remarks
Values greater than 360 degrees are normalized to their equivalent 0-360 degree value.
Scroll(ScrollAmount, ScrollAmount) Scroll(ScrollAmount, ScrollAmount) Scroll(ScrollAmount, ScrollAmount) Scroll(ScrollAmount, ScrollAmount)
Scrolls the map by the specified horizontal and vertical amounts.
public : void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)Public Function Scroll(horizontalAmount As ScrollAmount, verticalAmount As ScrollAmount) As void// This API is not available in Javascript.
- horizontalAmount
- ScrollAmount ScrollAmount ScrollAmount ScrollAmount
The amount to scroll the map horizontally.
- verticalAmount
- ScrollAmount ScrollAmount ScrollAmount ScrollAmount
The amount to scroll the map vertically.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
SetScrollPercent(Double, Double) SetScrollPercent(Double, Double) SetScrollPercent(Double, Double) SetScrollPercent(Double, Double)
Sets the percentage that the map is scrolled both horizontally and vertically.
public : void SetScrollPercent(double horizontalPercent, double verticalPercent)public void SetScrollPercent(Double horizontalPercent, Double verticalPercent)Public Function SetScrollPercent(horizontalPercent As Double, verticalPercent As Double) As void// This API is not available in Javascript.
- horizontalPercent
- double Double Double Double
The percentage that the map is scrolled horizontally.
- verticalPercent
- double Double Double Double
The percentage that the map is scrolled vertically.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Zoom(Double) Zoom(Double) Zoom(Double) Zoom(Double)
Zooms the associated map to the specified ZoomLevel.
public : void Zoom(double zoom)public void Zoom(Double zoom)Public Function Zoom(zoom As Double) As void// This API is not available in Javascript.
- zoom
- double Double Double Double
The ZoomLevel to which to set the associated map.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
ZoomByUnit(ZoomUnit) ZoomByUnit(ZoomUnit) ZoomByUnit(ZoomUnit) ZoomByUnit(ZoomUnit)
Zooms the viewport of the associated map by the specified ZoomUnit.
public : void ZoomByUnit(ZoomUnit zoomUnit)public void ZoomByUnit(ZoomUnit zoomUnit)Public Function ZoomByUnit(zoomUnit As ZoomUnit) As void// This API is not available in Javascript.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|