/arcgis-extentnavigation-widget

:milky_way: An ArcGIS JS V4 widget that travels through extents.

Primary LanguageJavaScriptMIT LicenseMIT

arcgis-extentnavigation-widget

🌌 An ArcGIS JS V4 widget that travels through extents.

npm

Include the style, create the widget, then add it to your map UI

require([
  "custom-widgets/ExtentNavigation"
], function(ExtentNavigation) {

  // create your map and view

  var extentNav = new ExtentNavigation({
    view: view,
    numberOfExtentsToStore: 10 // default is 20
  });
  view.ui.add(extentNav, "top-right");

Get it from here or via npm npm install arcgis-extentnavigation-widget --save

Running locally

Download / clone this repository then run npm install > npm start