Hello,
I'm currently testing a time enabled map and was curious if I could get some additional functionality out of the map. Here is the basic idea for the map:
This map will only display the features which have a start and end date that fall on the current date.
The issue is: in order to have this map display features for the current date a person would manually have to go into the map and change the date range (time span) to reflect the current date every single day. From my understanding, what a person would have to do is go into the map time settings and change the time span to the current date.
I need some advice, has anyone created a similar map? Are there templates out there that would satisfy what I'm trying to accomplish? Should I be looking into some kind of FME process to update these settings automatically everyday? Could this be resolved with python somehow?
I appreciate the help,
Andre
Solved! Go to Solution.
Andre,
I am not aware of a template that would suit your needs but most of the AGOL templates are built using JS API and thus you could modify the JS code in the template to set the maps time extent on loading.
Map | API Reference | ArcGIS API for JavaScript | setTimeExtent
Andre,
I am not aware of a template that would suit your needs but most of the AGOL templates are built using JS API and thus you could modify the JS code in the template to set the maps time extent on loading.
Map | API Reference | ArcGIS API for JavaScript | setTimeExtent