{"id":581032,"date":"2019-08-13T14:27:29","date_gmt":"2019-08-13T21:27:29","guid":{"rendered":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=581032"},"modified":"2019-12-04T13:57:49","modified_gmt":"2019-12-04T21:57:49","slug":"auto-update-time-in-web-maps","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps","title":{"rendered":"Auto-Update Time in Web Maps"},"author":9412,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[23851,22771,37121],"tags":[43101,29851,444462,31591],"industry":[],"product":[36841,36581,36551],"class_list":["post-581032","blog","type-blog","status-publish","format-standard","hentry","category-data-management","category-natural-resources","category-real-time","tag-arcgis-living-atlas-of-the-world","tag-live-feeds","tag-near-real-time-gis","tag-time-enabled","product-api-python","product-arcgis-living-atlas","product-arcgis-online"],"acf":{"short_description":"Use ArcGIS Notebooks to easily keep your maps up-to-date with the proper time extent of its layers","flexible_content":[{"acf_fc_layout":"content","content":"<p>Do you want to include a time-enabled layer in your custom web map? Is the temporal extent of your time-enabled layer changing as the content changes? If so, your web map must also keep up with the changing time extent. This can be easily done by adjusting the web map time settings. The Web Map properties, such as the time settings, can be precisely accessed and updated using <a href=\"https:\/\/developers.arcgis.com\/python\/\">ArcGIS API for Python<\/a> in <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-enterprise\/analytics\/introducing-arcgis-notebooks\/\">ArcGIS Notebooks<\/a>. In this blog I\u2019ll show you how to adjust the Web Map time slider settings to display the correct time extent of a changing time-enabled layer using as an example custom web map that contains a time-enabled layer.<\/p>\n<h2>Some background info<\/h2>\n<p>A web map containing time-enabled layers, such as those available as <a href=\"https:\/\/livingatlas.arcgis.com\/en\/browse\/#d=2&amp;categories=Environment:1000000000\">Live Feeds<\/a> are known as <a href=\"https:\/\/doc.arcgis.com\/en\/arcgis-online\/get-started\/view-time-maps.htm\">time web maps<\/a>. Time web maps have a time slider which controls the display of content from layers as they change over time. Examples of time web maps in <a href=\"https:\/\/livingatlas.arcgis.com\/\">ArcGIS Living Atlas of the World<\/a> are the <a href=\"https:\/\/www.arcgis.com\/home\/item.html?id=4c3f71392afa46f6b45b07653f052030\">Arctic Sea Ice Artic Extent<\/a>, the <a href=\"https:\/\/www.arcgis.com\/home\/item.html?id=c0b7fd03f13d43f38b7fb9586c664bcb\">National Weather Service Wind Speed Forecast for the USA<\/a>, or the<a href=\"https:\/\/www.arcgis.com\/home\/item.html?id=0a42a065b8094842a0218c540e27761a\"> National Water Model (hourly forecast)<\/a>.<\/p>\n<p>The time extent (i.e., start and end times) of a Live Feed layer change regularly. They display a moving window of content, like a forecast for the next 10-days, or they display content starting from a fixed point in time and appending new values as they become available, such as observations from 1970 to the present. In any case, a custom web map that includes a time-enabled layer, like a Live Feed layer, must display the correct time extent in the <a id=\"saving-the-web-map-settings\" href=\"https:\/\/doc.arcgis.com\/en\/arcgis-online\/create-maps\/configure-time.htm\">time slider settings<\/a>.<\/p>\n<h2>Saving the web map time settings<\/h2>\n<p>A problem arises when creating and saving a time web map with a layer that updates automatically as time goes on. The time slider settings are stored (i.e., hard-coded values) within the web map, however, when an automatic update occurs (i.e. changing the start and end time extents), the web map is not aware of the change. The next time the web map is opened, it displays the old, now incorrect time settings and not the current time extent of the time-enabled layer.<\/p>\n<h2>Adjusting the time settings of a web map<\/h2>\n<p>The time extent on the time settings of a web map can be removed, clearing out the hard-coded values and forcing the map to query for the time extent of the time-enabled layer. In the following example, I\u2019ll adjust the time settings on a web map that includes the <a href=\"https:\/\/www.arcgis.com\/home\/item.html?id=0a42a065b8094842a0218c540e27761a\">National Water Model (hourly forecast)<\/a> layer, so that the proper time extent displays.<\/p>\n<h2>Example: Adjusting time on a web map<\/h2>\n<h3>Creating a web map<\/h3>\n<p>The <a href=\"https:\/\/www.arcgis.com\/home\/item.html?id=e274729bf53d4c6c89bc123ed8a80cb8\">NWM (1 hour forecast)<\/a> web map includes the <a href=\"https:\/\/www.arcgis.com\/home\/item.html?id=0a42a065b8094842a0218c540e27761a\">National Water Model (Hourly Forecast)<\/a> time-enabled layer from <a href=\"https:\/\/livingatlas.arcgis.com\/\">Living Atlas<\/a>. The web map was created and saved on August 01, 2019 2:00 pm PST. The map displays the right forecast from 08\/01\/2019 2:00 pm to 02\/02\/2019 7:00 am PST.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":581062,"id":581062,"title":"Forecast_OK_start","filename":"Forecast_OK_start.png","filesize":180015,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_OK_start.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\/forecast_ok_start","alt":"National Water Model Forecast from 08\/01\/2019 9:00 pm to 02\/02\/2019 9:00 pm UTC","author":"9412","description":"","caption":"","name":"forecast_ok_start","status":"inherit","uploaded_to":581032,"date":"2019-08-06 19:49:38","modified":"2019-08-06 19:50:09","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1112,"height":623,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_OK_start-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_OK_start.png","medium-width":464,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_OK_start.png","medium_large-width":768,"medium_large-height":430,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_OK_start.png","large-width":1112,"large-height":623,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_OK_start.png","1536x1536-width":1112,"1536x1536-height":623,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_OK_start.png","2048x2048-width":1112,"2048x2048-height":623,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_OK_start-826x463.png","card_image-width":826,"card_image-height":463,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_OK_start.png","wide_image-width":1112,"wide_image-height":623}},"image_position":"left-center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>The National Water Model (hourly forecast) displays the same time extent in its <a href=\"https:\/\/livefeeds2.arcgis.com\/arcgis\/rest\/services\/NFIE\/NationalWaterModel_Short\/MapServer\">REST endpoint<\/a>, from 08\/01\/2019 9:00 pm to 02\/02\/2019 9:00 pm UTC.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":581072,"id":581072,"title":"OLD_TIME_INFO","filename":"OLD_TIME_INFO.png","filesize":2615,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/OLD_TIME_INFO.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\/old_time_info","alt":"Time info","author":"9412","description":"","caption":"","name":"old_time_info","status":"inherit","uploaded_to":581032,"date":"2019-08-06 19:50:53","modified":"2019-08-06 19:51:04","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":440,"height":106,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/OLD_TIME_INFO-213x106.png","thumbnail-width":213,"thumbnail-height":106,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/OLD_TIME_INFO.png","medium-width":440,"medium-height":106,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/OLD_TIME_INFO.png","medium_large-width":440,"medium_large-height":106,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/OLD_TIME_INFO.png","large-width":440,"large-height":106,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/OLD_TIME_INFO.png","1536x1536-width":440,"1536x1536-height":106,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/OLD_TIME_INFO.png","2048x2048-width":440,"2048x2048-height":106,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/OLD_TIME_INFO.png","card_image-width":440,"card_image-height":106,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/OLD_TIME_INFO.png","wide_image-width":440,"wide_image-height":106}},"image_position":"left-center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<h3>Accessing the web map later in time<\/h3>\n<p>An hour later, we viewed the map after the National Water Model (hourly forecast) layer automatically updated using its <a href=\"https:\/\/www.arcgis.com\/home\/group.html?id=8f3721913b474c87910c767e717bdc20\">feed routine<\/a>. The REST endpoint now shows the forecast time advanced 1 hour, from 08\/01\/2019 9:00 pm to 02\/02\/2019 9:00 pm UTC.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":581082,"id":581082,"title":"NEW_TIME_INFO","filename":"NEW_TIME_INFO.png","filesize":2638,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/NEW_TIME_INFO.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\/new_time_info","alt":"Time info","author":"9412","description":"","caption":"","name":"new_time_info","status":"inherit","uploaded_to":581032,"date":"2019-08-06 19:51:56","modified":"2019-08-06 19:52:03","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":440,"height":106,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/NEW_TIME_INFO-213x106.png","thumbnail-width":213,"thumbnail-height":106,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/NEW_TIME_INFO.png","medium-width":440,"medium-height":106,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/NEW_TIME_INFO.png","medium_large-width":440,"medium_large-height":106,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/NEW_TIME_INFO.png","large-width":440,"large-height":106,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/NEW_TIME_INFO.png","1536x1536-width":440,"1536x1536-height":106,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/NEW_TIME_INFO.png","2048x2048-width":440,"2048x2048-height":106,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/NEW_TIME_INFO.png","card_image-width":440,"card_image-height":106,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/NEW_TIME_INFO.png","wide_image-width":440,"wide_image-height":106}},"image_position":"left-center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>However, the start time on the web map still shows one hour behind so the map does not display the latest forecast.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":581092,"id":581092,"title":"Forecast_MISSING","filename":"Forecast_MISSING.png","filesize":185856,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_MISSING.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\/forecast_missing","alt":"National Water Model Forecast","author":"9412","description":"","caption":"","name":"forecast_missing","status":"inherit","uploaded_to":581032,"date":"2019-08-06 19:52:47","modified":"2019-08-06 19:53:06","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1112,"height":623,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_MISSING-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_MISSING.png","medium-width":464,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_MISSING.png","medium_large-width":768,"medium_large-height":430,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_MISSING.png","large-width":1112,"large-height":623,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_MISSING.png","1536x1536-width":1112,"1536x1536-height":623,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_MISSING.png","2048x2048-width":1112,"2048x2048-height":623,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_MISSING-826x463.png","card_image-width":826,"card_image-height":463,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_MISSING.png","wide_image-width":1112,"wide_image-height":623}},"image_position":"left-center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>We fix this issue by removing the time extent properties of the web map, forcing it to retrieve the time extent from the National Water Model (hourly forecast) layer when the map is reloaded.<\/p>\n<h3>Editing the time properties of a web map using the ArcGIS API for Python<\/h3>\n<p>Open an ArcGIS Notebook in ArcGIS Enterprise or in your desktop.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":581132,"id":581132,"title":"Notebook_0","filename":"Notebook_0.png","filesize":16511,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_0.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\/notebook_0","alt":"","author":"9412","description":"","caption":"","name":"notebook_0","status":"inherit","uploaded_to":581032,"date":"2019-08-06 19:57:05","modified":"2019-08-06 19:57:05","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1417,"height":381,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_0-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_0.png","medium-width":464,"medium-height":125,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_0.png","medium_large-width":768,"medium_large-height":206,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_0.png","large-width":1417,"large-height":381,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_0.png","1536x1536-width":1417,"1536x1536-height":381,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_0.png","2048x2048-width":1417,"2048x2048-height":381,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_0-826x222.png","card_image-width":826,"card_image-height":222,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_0.png","wide_image-width":1417,"wide_image-height":381}},"image_position":"left-center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>Load the required modules.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":581142,"id":581142,"title":"Notebook_1","filename":"Notebook_1.png","filesize":3784,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_1.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\/notebook_1-4","alt":"","author":"9412","description":"","caption":"","name":"notebook_1-4","status":"inherit","uploaded_to":581032,"date":"2019-08-06 19:58:47","modified":"2019-08-06 19:58:47","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1194,"height":96,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_1-213x96.png","thumbnail-width":213,"thumbnail-height":96,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_1.png","medium-width":464,"medium-height":37,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_1.png","medium_large-width":768,"medium_large-height":62,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_1.png","large-width":1194,"large-height":96,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_1.png","1536x1536-width":1194,"1536x1536-height":96,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_1.png","2048x2048-width":1194,"2048x2048-height":96,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_1-826x66.png","card_image-width":826,"card_image-height":66,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_1.png","wide_image-width":1194,"wide_image-height":96}},"image_position":"left-center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>Connect to your ArcGIS Online or ArcGIS Enterprise account.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":581172,"id":581172,"title":"Notebook_2","filename":"Notebook_2.png","filesize":3975,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_2.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\/notebook_2-4","alt":"","author":"9412","description":"","caption":"","name":"notebook_2-4","status":"inherit","uploaded_to":581032,"date":"2019-08-06 20:01:02","modified":"2019-08-06 20:01:02","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1194,"height":66,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_2-213x66.png","thumbnail-width":213,"thumbnail-height":66,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_2.png","medium-width":464,"medium-height":26,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_2.png","medium_large-width":768,"medium_large-height":42,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_2.png","large-width":1194,"large-height":66,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_2.png","1536x1536-width":1194,"1536x1536-height":66,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_2.png","2048x2048-width":1194,"2048x2048-height":66,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_2-826x46.png","card_image-width":826,"card_image-height":46,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_2.png","wide_image-width":1194,"wide_image-height":66}},"image_position":"left-center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p><strong>Note:<\/strong> For layers that require login, you use a stored profile for authentication or you provide your username and password. The ArcGIS API for Python documentation has information on <a href=\"https:\/\/developers.arcgis.com\/python\/guide\/working-with-different-authentication-schemes\/\">working with different authentication schemes<\/a>.<\/p>\n<p>Get the web map item by providing its <a href=\"https:\/\/community.esri.com\/community\/gis\/web-gis\/arcgisonline\/blog\/2019\/06\/06\/where-can-i-find-the-item-id-for-an-arcgis-online-item\">item id<\/a>.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":581182,"id":581182,"title":"Notebook_3","filename":"Notebook_3.png","filesize":5547,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_3.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\/notebook_3-5","alt":"","author":"9412","description":"","caption":"","name":"notebook_3-5","status":"inherit","uploaded_to":581032,"date":"2019-08-06 20:02:48","modified":"2019-08-06 20:02:48","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1194,"height":67,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_3-213x67.png","thumbnail-width":213,"thumbnail-height":67,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_3.png","medium-width":464,"medium-height":26,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_3.png","medium_large-width":768,"medium_large-height":43,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_3.png","large-width":1194,"large-height":67,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_3.png","1536x1536-width":1194,"1536x1536-height":67,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_3.png","2048x2048-width":1194,"2048x2048-height":67,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_3-826x46.png","card_image-width":826,"card_image-height":46,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_3.png","wide_image-width":1194,"wide_image-height":67}},"image_position":"left-center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>Get the web map item data as a dictionary and delete the \u2018startTime\u2019 and the \u2018endTime\u2019 properties of the time slider widget.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":581192,"id":581192,"title":"Notebook_4","filename":"Notebook_4.png","filesize":9325,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_4.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\/notebook_4-5","alt":"","author":"9412","description":"","caption":"","name":"notebook_4-5","status":"inherit","uploaded_to":581032,"date":"2019-08-06 20:03:29","modified":"2019-08-06 20:03:29","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1194,"height":124,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_4-213x124.png","thumbnail-width":213,"thumbnail-height":124,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_4.png","medium-width":464,"medium-height":48,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_4.png","medium_large-width":768,"medium_large-height":80,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_4.png","large-width":1194,"large-height":124,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_4.png","1536x1536-width":1194,"1536x1536-height":124,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_4.png","2048x2048-width":1194,"2048x2048-height":124,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_4-826x86.png","card_image-width":826,"card_image-height":86,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_4.png","wide_image-width":1194,"wide_image-height":124}},"image_position":"left-center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p><strong>Note:<\/strong> If your time-enabled layer has a fixed \u2018startTime\u2019 and data is appended at the end (i.e., moving \u2018endTime\u2019), you can remove only the \u2018endTime\u2019 property on the time slider and allow the web map to discover it automatically from the time-enabled layer.<\/p>\n<p>Update the web map item details.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":581202,"id":581202,"title":"Notebook_5","filename":"Notebook_5.png","filesize":4554,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_5.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\/notebook_5-5","alt":"","author":"9412","description":"","caption":"","name":"notebook_5-5","status":"inherit","uploaded_to":581032,"date":"2019-08-06 20:05:32","modified":"2019-08-06 20:05:32","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1194,"height":101,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_5-213x101.png","thumbnail-width":213,"thumbnail-height":101,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_5.png","medium-width":464,"medium-height":39,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_5.png","medium_large-width":768,"medium_large-height":65,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_5.png","large-width":1194,"large-height":101,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_5.png","1536x1536-width":1194,"1536x1536-height":101,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_5.png","2048x2048-width":1194,"2048x2048-height":101,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_5-826x70.png","card_image-width":826,"card_image-height":70,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Notebook_5.png","wide_image-width":1194,"wide_image-height":101}},"image_position":"left-center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>Now the <a href=\"https:\/\/www.arcgis.com\/home\/item.html?id=e274729bf53d4c6c89bc123ed8a80cb8\">NWM (1 hour forecast)<\/a> web map displays the correct time extent after it\u2019s refreshed on the webpage.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":581212,"id":581212,"title":"Forecast_SHOWING_DATE","filename":"Forecast_SHOWING_DATE.png","filesize":184007,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_SHOWING_DATE.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\/forecast_showing_date","alt":"National Water Model Forecast","author":"9412","description":"","caption":"","name":"forecast_showing_date","status":"inherit","uploaded_to":581032,"date":"2019-08-06 20:06:34","modified":"2019-08-06 20:06:46","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1112,"height":623,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_SHOWING_DATE-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_SHOWING_DATE.png","medium-width":464,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_SHOWING_DATE.png","medium_large-width":768,"medium_large-height":430,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_SHOWING_DATE.png","large-width":1112,"large-height":623,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_SHOWING_DATE.png","1536x1536-width":1112,"1536x1536-height":623,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_SHOWING_DATE.png","2048x2048-width":1112,"2048x2048-height":623,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_SHOWING_DATE-826x463.png","card_image-width":826,"card_image-height":463,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/Forecast_SHOWING_DATE.png","wide_image-width":1112,"wide_image-height":623}},"image_position":"left-center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>After updating the time slider settings, the \u2018startTime\u2019 and \u2018endTime\u2019 properties are blank (i.e., the values are no longer hard-coded). The web map will query for the time extent settings from the time-enabled layer when the web map is loaded.<\/p>\n<p><strong>Note:<\/strong> If we modify the time slider settings on the web map and save it, t<a href=\"#saving-the-web-map-settings\">he time extent properties will be saved<\/a> as part of the online item. We\u2019ll have the initial problem in which the \u2018startTime\u2019 and \u2018endTime\u2019 properties are stored (i.e., hard-coded values). If this happens, just repeat the same workflow to delete the time extent properties once again.<\/p>\n<h2>Summary<\/h2>\n<p>To ensure the latest results available are displaying on your time web map quickly adjust them using <a href=\"https:\/\/developers.arcgis.com\/python\/\">ArcGIS API for Python<\/a> in <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-enterprise\/analytics\/introducing-arcgis-notebooks\/\">ArcGIS Notebooks<\/a>.<\/p>\n<h2>More information?<\/h2>\n<p>Join <a href=\"https:\/\/community.esri.com\/\">GeoNet<\/a> and ask a question to our community of experts.<\/p>\n<h2>Special note<\/h2>\n<p>I would like to acknowledge <a href=\"https:\/\/www.linkedin.com\/in\/paul-dodd-2703196\/\">Paul Dodd<\/a> for providing the workflow presented in this blog.<\/p>\n<p>&nbsp;<\/p>\n"}],"authors":[{"ID":9412,"user_firstname":"Gonzalo","user_lastname":"Espinoza Davalos","nickname":"Gonzalo Espinoza","user_nicename":"gespinoza","display_name":"Gonzalo Espinoza","user_email":"gespinoza@esri.com","user_url":"http:\/\/www.gespinozadav.com","user_registered":"2019-04-04 19:02:26","user_description":"Gonzalo Espinoza specializes in hydrologic modeling, real time climate and hydro-informatic tools such as flood mapping and forecasting using National Water Model data. He masters the full geospatial tech stack required to develop scalable and operational services relying on large volumes of EO data in the fields of water and environment. Gonzalo holds a PhD in Civil Engineering from the University of Texas at Austin.\r\n\r\nFor questions about ArcGIS Living Atlas, contact environment@esri.com","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/12\/head_shot_gonzalo_2-1-465x465.jpg' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"}],"related_articles":"","card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/MapClock_card.jpg","wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/MapClock_GonzaloBlog_Banner-1.jpg"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Auto-Update Time in Web Maps<\/title>\n<meta name=\"description\" content=\"Do you want to include a time-enabled layer in your custom web map? Is the temporal extent of your time-enabled layer changing as the content changes? If so, your web map must also keep up with the changing time extent. This can be easily done by adjusting the web map time settings. The Web Map properties, such as the time settings, can be precisely accessed and updated using ArcGIS API for Python in ArcGIS Notebooks.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Auto-Update Time in Web Maps\" \/>\n<meta property=\"og:description\" content=\"Do you want to include a time-enabled layer in your custom web map? Is the temporal extent of your time-enabled layer changing as the content changes? If so, your web map must also keep up with the changing time extent. This can be easily done by adjusting the web map time settings. The Web Map properties, such as the time settings, can be precisely accessed and updated using ArcGIS API for Python in ArcGIS Notebooks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2019-12-04T21:57:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.esri.com\/arcgis-blog\/wp-content\/uploads\/2019\/08\/MapClock_card-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"826\" \/>\n\t<meta property=\"og:image:height\" content=\"465\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\"},\"author\":{\"name\":\"Gonzalo Espinoza\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/7c6c2ef442df4dd54243a2d837c870c2\"},\"headline\":\"Auto-Update Time in Web Maps\",\"datePublished\":\"2019-08-13T21:27:29+00:00\",\"dateModified\":\"2019-12-04T21:57:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\"},\"wordCount\":5,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"ArcGIS Living Atlas of the World\",\"live feeds\",\"Near real-time GIS\",\"time-enabled\"],\"articleSection\":[\"Data Management\",\"Natural Resources\",\"Real-Time Visualization &amp; Analytics\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\",\"name\":\"Auto-Update Time in Web Maps\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2019-08-13T21:27:29+00:00\",\"dateModified\":\"2019-12-04T21:57:49+00:00\",\"description\":\"Do you want to include a time-enabled layer in your custom web map? Is the temporal extent of your time-enabled layer changing as the content changes? If so, your web map must also keep up with the changing time extent. This can be easily done by adjusting the web map time settings. The Web Map properties, such as the time settings, can be precisely accessed and updated using ArcGIS API for Python in ArcGIS Notebooks.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Auto-Update Time in Web Maps\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/7c6c2ef442df4dd54243a2d837c870c2\",\"name\":\"Gonzalo Espinoza\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/12\/head_shot_gonzalo_2-1-465x465.jpg\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/12\/head_shot_gonzalo_2-1-465x465.jpg\",\"caption\":\"Gonzalo Espinoza\"},\"description\":\"Gonzalo Espinoza specializes in hydrologic modeling, real time climate and hydro-informatic tools such as flood mapping and forecasting using National Water Model data. He masters the full geospatial tech stack required to develop scalable and operational services relying on large volumes of EO data in the fields of water and environment. Gonzalo holds a PhD in Civil Engineering from the University of Texas at Austin. For questions about ArcGIS Living Atlas, contact environment@esri.com\",\"sameAs\":[\"http:\/\/www.gespinozadav.com\",\"www.linkedin.com\/in\/gonzalo-espinoza-davalos\",\"https:\/\/x.com\/gespindav\"],\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/gespinoza\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Auto-Update Time in Web Maps","description":"Do you want to include a time-enabled layer in your custom web map? Is the temporal extent of your time-enabled layer changing as the content changes? If so, your web map must also keep up with the changing time extent. This can be easily done by adjusting the web map time settings. The Web Map properties, such as the time settings, can be precisely accessed and updated using ArcGIS API for Python in ArcGIS Notebooks.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps","og_locale":"en_US","og_type":"article","og_title":"Auto-Update Time in Web Maps","og_description":"Do you want to include a time-enabled layer in your custom web map? Is the temporal extent of your time-enabled layer changing as the content changes? If so, your web map must also keep up with the changing time extent. This can be easily done by adjusting the web map time settings. The Web Map properties, such as the time settings, can be precisely accessed and updated using ArcGIS API for Python in ArcGIS Notebooks.","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2019-12-04T21:57:49+00:00","og_image":[{"width":826,"height":465,"url":"https:\/\/www.esri.com\/arcgis-blog\/wp-content\/uploads\/2019\/08\/MapClock_card-1.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@ESRI","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps"},"author":{"name":"Gonzalo Espinoza","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/7c6c2ef442df4dd54243a2d837c870c2"},"headline":"Auto-Update Time in Web Maps","datePublished":"2019-08-13T21:27:29+00:00","dateModified":"2019-12-04T21:57:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps"},"wordCount":5,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["ArcGIS Living Atlas of the World","live feeds","Near real-time GIS","time-enabled"],"articleSection":["Data Management","Natural Resources","Real-Time Visualization &amp; Analytics"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps","name":"Auto-Update Time in Web Maps","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2019-08-13T21:27:29+00:00","dateModified":"2019-12-04T21:57:49+00:00","description":"Do you want to include a time-enabled layer in your custom web map? Is the temporal extent of your time-enabled layer changing as the content changes? If so, your web map must also keep up with the changing time extent. This can be easily done by adjusting the web map time settings. The Web Map properties, such as the time settings, can be precisely accessed and updated using ArcGIS API for Python in ArcGIS Notebooks.","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/real-time\/auto-update-time-in-web-maps#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Auto-Update Time in Web Maps"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/7c6c2ef442df4dd54243a2d837c870c2","name":"Gonzalo Espinoza","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/12\/head_shot_gonzalo_2-1-465x465.jpg","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/12\/head_shot_gonzalo_2-1-465x465.jpg","caption":"Gonzalo Espinoza"},"description":"Gonzalo Espinoza specializes in hydrologic modeling, real time climate and hydro-informatic tools such as flood mapping and forecasting using National Water Model data. He masters the full geospatial tech stack required to develop scalable and operational services relying on large volumes of EO data in the fields of water and environment. Gonzalo holds a PhD in Civil Engineering from the University of Texas at Austin. For questions about ArcGIS Living Atlas, contact environment@esri.com","sameAs":["http:\/\/www.gespinozadav.com","www.linkedin.com\/in\/gonzalo-espinoza-davalos","https:\/\/x.com\/gespindav"],"url":"https:\/\/www.esri.com\/arcgis-blog\/author\/gespinoza"}]}},"text_date":"August 13, 2019","author_name":"Gonzalo Espinoza","author_page":"https:\/\/www.esri.com\/arcgis-blog\/author\/gespinoza","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/08\/MapClock_GonzaloBlog_Banner-1.jpg","primary_product":"ArcGIS Living Atlas","tag_data":[{"term_id":43101,"name":"ArcGIS Living Atlas of the World","slug":"arcgis-living-atlas-of-the-world","term_group":0,"term_taxonomy_id":43101,"taxonomy":"post_tag","description":"","parent":0,"count":80,"filter":"raw"},{"term_id":29851,"name":"live feeds","slug":"live-feeds","term_group":0,"term_taxonomy_id":29851,"taxonomy":"post_tag","description":"","parent":0,"count":22,"filter":"raw"},{"term_id":444462,"name":"Near real-time GIS","slug":"near-real-time-gis","term_group":0,"term_taxonomy_id":444462,"taxonomy":"post_tag","description":"","parent":0,"count":3,"filter":"raw"},{"term_id":31591,"name":"time-enabled","slug":"time-enabled","term_group":0,"term_taxonomy_id":31591,"taxonomy":"post_tag","description":"","parent":0,"count":6,"filter":"raw"}],"category_data":[{"term_id":23851,"name":"Data Management","slug":"data-management","term_group":0,"term_taxonomy_id":23851,"taxonomy":"category","description":"","parent":0,"count":920,"filter":"raw"},{"term_id":22771,"name":"Natural Resources","slug":"natural-resources","term_group":0,"term_taxonomy_id":22771,"taxonomy":"category","description":"","parent":0,"count":262,"filter":"raw"},{"term_id":37121,"name":"Real-Time Visualization &amp; Analytics","slug":"real-time","term_group":0,"term_taxonomy_id":37121,"taxonomy":"category","description":"","parent":0,"count":166,"filter":"raw"}],"product_data":[{"term_id":36841,"name":"ArcGIS API for Python","slug":"api-python","term_group":0,"term_taxonomy_id":36841,"taxonomy":"product","description":"","parent":36601,"count":151,"filter":"raw"},{"term_id":36581,"name":"ArcGIS Living Atlas","slug":"arcgis-living-atlas","term_group":0,"term_taxonomy_id":36581,"taxonomy":"product","description":"","parent":0,"count":1171,"filter":"raw"},{"term_id":36551,"name":"ArcGIS Online","slug":"arcgis-online","term_group":0,"term_taxonomy_id":36551,"taxonomy":"product","description":"","parent":0,"count":2428,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=arcgis-living-atlas","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/581032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/9412"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=581032"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/581032\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=581032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=581032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=581032"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=581032"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=581032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}