Skip to contentEsri Developer
  • Documentation

    Maps and scenes

    Build 2D and 3D mapping applications with client APIs, the basemap styles service, and data services.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Portal and content management

    Use the portal service to create, manage, and access geospatial content and to also manage users and groups in your portal.

    Learn more in the Portal and data services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Data hosting

    Import, manage, and access your data by creating data services in ArcGIS.

    Learn more in the Portal and data services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Data visualization

    Style 2D and 3D data from feature services and scene services.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Spatial analysis

    Discover patterns, gain insights, and solve problems using the spatial analysis and raster analysis services.

    Learn more in the Spatial analysis services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Place search

    Find places and get detailed information for businesses, locations, and other points of interest with the places service.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Geocoding addresses

    Search for addresses, reverse geocode, get suggestions, and batch geocode with the geocoding service.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Routing and directions

    Find routes and directions or solve complex network problems with the routing service.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Data enrichment

    Get local facts and demographic data for locations with the GeoEnrichment service.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Elevation

    Get elevation values for a single location or multiple locations on land or water.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Security and authentication

    Access secure content and services in ArcGIS with API keys, OAuth 2.0, and user authentication.

    Learn more in the Security and authentication guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Offline mapping apps

    Build applications that work when network connectivity is unreliable or entirely absent.

    Learn more in the Offline mapping apps guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Find datasets

    Discover vector, raster, and table datasets for your applications.

    Learn where you can find datasets

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor
  • 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
        • analysis
        • core
        • editing
        • effects
        • form
        • geometry
        • graphic
        • ground
        • identity
        • layers
        • linkChart
        • networks
        • popup
        • portal
        • renderers
        • rest
        • smartMapping
        • statistics
        • support
        • symbols
        • tables
        • time
        • versionManagement
        • views
          • BasemapView
          • BreakpointsOwner
          • DOMContainer
          • GroundView
          • LinkChartView
          • Magnifier
          • MapView
          • MapViewOrSceneView
          • PopupView
          • SceneView
          • SelectionManager
          • Theme
          • VideoView
          • View
          • View2D
          • ViewAnimation
          • Viewport2DMixin
          • types
          • 2d
          • 3d
          • analysis
          • animation
          • draw
          • input
          • interactive
          • layers
          • navigation
            • Navigation
            • NavigationActionMap
            • types
            • gamepad
          • selection
          • support
          • ui
        • webdoc
        • webmap
        • webscene
        • widgets
      • map-components
      • charts-components
      • ai-components
      • embeddable-components
      • common-components
      • coding-components

      Navigation

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

      Navigation related configuration settings on the View.

      Constructors

      Constructor

      Constructor
      Parameters
      ParameterTypeDescriptionRequired
      properties
      NavigationProperties
      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
      actionMap
      NavigationActionMap
      browserTouchPanEnabled
      boolean
      declaredClass
      readonly inherited
      string
      Accessor
      gamepad
      readonly
      GamepadSettings
      momentumEnabled
      boolean

      actionMap

      autocast Property
      Type
      NavigationActionMap
      Since
      ArcGIS Maps SDK for JavaScript 4.32

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

      Example
      // By default, dragging the middle mouse button (tertiary button) zooms the SceneView. By setting the tertiary
      // drag action to "none", that default behavior can be disabled.
      view.navigation.actionMap.dragTertiary = "none";

      browserTouchPanEnabled

      Property
      Type
      boolean
      Since
      ArcGIS Maps SDK for JavaScript 4.14

      Indicates if single finger touch View.@drag events are enabled or disabled. When false, the map cannot be panned with single finger touch gesture on touch devices. This will allow web pages to scroll down without panning the map on touch devices. While single touch panning and zooming is disabled, the map can still be panned, zoomed, and rotated (if unconstrained) with two fingers. This property does not affect mouse-based dragging.

      Default value
      true
      Example
      // Disable single touch panning in a MapView.
      const view = new MapView({
      container: "viewDiv",
      map: new Map({
      basemap: "streets-vector"
      })
      });
      view.navigation.browserTouchPanEnabled = false;

      declaredClass

      readonlyinherited Property
      Type
      string
      Inherited from: Accessor

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

      gamepad

      readonly Property
      Type
      GamepadSettings

      Gamepad navigation specific configuration settings.

      Example
      // Disable the gamepad usage in MapView
      const view = new MapView({
      container: "viewDiv",
      map: new Map({
      basemap: "satellite"
      }),
      center: [176.185, -37.643],
      zoom: 13,
      navigation: {
      gamepad: {
      enabled: false
      }
      }
      });
      // Disable gamepad usage in SceneView.
      const view = new SceneView({
      container: "viewDiv",
      map: new Map({
      basemap: "satellite",
      ground: "world-elevation"
      }),
      camera: {
      position: [176.171, -37.660, 2000],
      heading: 0,
      tilt: 60
      },
      navigation: {
      gamepad: {
      enabled: false
      }
      }
      });

      momentumEnabled

      Property
      Type
      boolean
      Since
      ArcGIS Maps SDK for JavaScript 4.14

      When true, the view will temporarily continue to pan after the pointer (e.g. mouse, stylus, finger) has lifted.

      With respect to MapView, this property will be ignored if Config is true and the user has requested reduced motion. See prefers-reduced-motion for more information.

      Default value
      true
      Example
      // Disable pan animation in the MapView.
      const view = new MapView({
      container: "viewDiv",
      map: new Map({
      basemap: "streets-vector"
      })
      });
      view.navigation.momentumEnabled = false;
      • 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