/arcgis-circadian-widget

:sunrise: An ArcGIS JS V4 widget that changes the map tint based on the time of day.

Primary LanguageHTMLMIT LicenseMIT

arcgis-circadian-widget

🌅 An ArcGIS JS V4 widget that changes the map tint based on the time of day.

npm

Include the style, create the widget

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

  // create your map and view

  var c = new Circadian();
  c.startup();

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

Running locally

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

example