Skip to contentEsri Developer
  • Documentation
  • SDKs and APIs
  • Explore developer products
  • Explore help resources

ArcGIS Maps SDK for JavaScriptReferences

  • Home
  • Sample Code
  • References
  • Showcase
  • Blogs
  • core
    • AttributeBinsGraphic
    • Basemap
    • Camera
    • CameraLayout
    • Color
    • Graphic
    • Ground
    • Map
    • PopupTemplate
    • Viewpoint
    • WebDocument2D
    • WebLinkChart
    • WebMap
    • WebScene
    • arcade
    • config
    • intl
    • kernel
    • request
    • unionTypes
      • BasemapView
      • BreakpointsOwner
      • DOMContainer
      • GroundView
      • LinkChartView
      • Magnifier
      • MapView
      • MapViewOrSceneView
      • PopupView
      • SceneView
      • SelectionManager
      • Theme
      • VideoView
      • View
      • View2D
      • ViewAnimation
      • Viewport2DMixin
      • types
        • Navigation
        • NavigationActionMap
        • types
  • map-components
  • charts-components
  • ai-components
  • embeddable-components
  • common-components
  • coding-components

NavigationActionMap

import NavigationActionMap from "@arcgis/core/views/navigation/NavigationActionMap.js";
const NavigationActionMap = await $arcgis.import("@arcgis/core/views/navigation/NavigationActionMap.js");
Inheritance
NavigationActionMap→Accessor
Since
ArcGIS Maps SDK for JavaScript 4.32

The navigation action map defines the default behavior of the navigation controls.

Known Limitations

The zoom action is only supported in a SceneView. The dragTertiary action is only supported in a SceneView.

Constructors

Constructor

Constructor

Parameters

ParameterTypeDescriptionRequired
properties
NavigationActionMapProperties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.
PropertyTypeClass
declaredClass
readonly inherited
string
Accessor
dragPrimary
DragAction
dragSecondary
DragAction
dragTertiary
DragAction
mouseWheel
MouseWheelAction

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

The name of the class. The declared class name is formatted as esri.folder.className.

dragPrimary

Property
Type
DragAction

The primary drag navigation action. On a mouse, this corresponds to a drag while the primary button (usually the left button) is pressed. On a touch device, this corresponds to a single touch drag. The zoom action is only supported in a SceneView

Default value
"pan"

dragSecondary

Property
Type
DragAction

The secondary drag navigation action. On a mouse, this corresponds to a drag while the secondary button (usually the right button) is pressed. On a touch device, this corresponds to a two-finger twist gesture. The zoom action is only supported in a SceneView

Default value
"rotate"

dragTertiary

Property
Type
DragAction

The tertiary drag navigation action. On a mouse, this corresponds to a drag while the tertiary button (usually the middle button) is pressed. On a touch device, this corresponds to a two-finger pinch gesture. This is only supported in a SceneView.

Default value
"zoom"

mouseWheel

Property
Type
MouseWheelAction

The mouse wheel zoom action. This action is triggered when the mouse wheel is scrolled.

Default value
"zoom"
  • Constructors
  • Properties
Was this page helpful?

Copyright © 2026 Esri . All rights reserved.

  • Privacy
  • Terms of Use

Sign up to receive the latest news from Esri