Set time slider so that it always ends at the current date/time

04-15-2022 06:21 PM
Labels (2)
New Contributor III

We provide image services that are updated daily with new acquisitions. We present them in web maps for users to access, and I would like to set the time slider to default to displaying the past two weeks of data. Is there a way to do that in MapViewer or MapViewer Classic?

If not, is it possible to write a script that I could run daily to update the time slider settings for each of my webmaps? 

These are the settings I currently use, but I have to go in to manually set the end date:


then move my two-week slider so that it's at the end of the timeline:


then save the map.


Tags (2)
0 Kudos
0 Replies