davetimmins / arcgis-extentnavigation-widget

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

Home Page:https://davetimmins.github.io/arcgis-extentnavigation-widget/

Repository from Github https://github.comdavetimmins/arcgis-extentnavigation-widgetRepository from Github https://github.comdavetimmins/arcgis-extentnavigation-widget

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

About

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

https://davetimmins.github.io/arcgis-extentnavigation-widget/

License:MIT License


Languages

Language:JavaScript 58.2%Language:HTML 28.1%Language:CSS 13.7%