Skip to content
This repository has been archived by the owner on Jan 2, 2018. It is now read-only.

davetimmins/arcgis-hash-bang-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arcgis-hash-bang-widget

#️⃣ An ArcGIS JS V4 widget that gets and sets the URL hash, or does something else. Less bang, more hash.

npm

Create the widget

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

  // create your map and view

  var hashBang = new HashBang({
    view: view,
    silentMode: true // default is false
  });

If you set silentMode to true then the viewpoint will be stored in the browsers localStorage and leave the URL hash alone.

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

Running locally

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

About

#️⃣ An ArcGIS JS V4 widget that gets and sets the URL hash.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published