MapInteractionMode
MapInteractionMode
MapInteractionMode
MapInteractionMode
Enum
Definition
Specifies if the map responds to a touch gesture and if the corresponding UI control appears on the map.
public : enum class MapInteractionModepublic enum MapInteractionModePublic Enum MapInteractionMode// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| Auto Auto Auto Auto | Map UI control, mouse, keyboard, pen, and touch input are enabled based on the type of device that your app is running on. |
| ControlOnly ControlOnly ControlOnly ControlOnly | Map responds to the UI control only; the corresponding touch input is disabled. |
| Disabled Disabled Disabled Disabled | Map UI control and touch input are disabled. |
| GestureAndControl GestureAndControl GestureAndControl GestureAndControl | Map UI control and touch input are enabled. Use PointerKeyboardAndControl, if you want all forms of pointer input; the corresponding UI control is not visible. |
| GestureOnly GestureOnly GestureOnly GestureOnly | Map responds to touch input only; the corresponding UI control is not visible. Use PointerAndKeyboard, if you want all forms of pointer input. |
| PointerAndKeyboard PointerAndKeyboard PointerAndKeyboard PointerAndKeyboard | Map responds to mouse, pen, touch and keyboard. |
| PointerKeyboardAndControl PointerKeyboardAndControl PointerKeyboardAndControl PointerKeyboardAndControl | Mouse, pen, touch, keyboard, and Map UI control are enabled; the corresponding UI control is not visible. |
| PointerOnly PointerOnly PointerOnly PointerOnly | Map responds to mouse, pen, or touch only. |