Skip to content

Latest commit

 

History

History

TimeNavigation

This sample provides a new tab and controls that allow you to set the time in the map view, step through time, and navigate between time enabled bookmarks in the map.

View it live

Language:              C#
Subject:               Map-Exploration
Contributor:           ArcGIS Pro SDK Team <arcgisprosdk@esri.com>
Organization:          Esri, https://www.esri.com
Date:                  04/04/2024
ArcGIS Pro:            3.3
Visual Studio:         2022
.NET Target Framework: net8.0-windows

Resources

Community Sample Resources

Samples Data

  • Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the Releases page.

How to use the sample

  1. Download the Community Sample data(see under the 'Resources' section for downloading sample data). The sample data contains required data for this sample add-in. Make sure that the Sample data is unzipped in c:\data and "C:\Data\Interacting with Maps" is available.
  2. In Visual Studio click the Build menu.Then select Build Solution.
  3. Launch the debugger to open ArcGIS Pro.
  4. Open the "C:\Data\Interacting with Maps\Interacting with Maps.aprx" project which contains the required data needed for this sample.
  5. Open the Portland Crimes map.
  6. Click on the new Navigation tab on the ribbon.
    UI
  7. Within this tab there are 3 groups that provide functionality to navigate through time.
  8. The Map Time group provides two date picker controls to set the start and end time in the map.
  9. The Time Step group provides two combo boxes to set the time step interval. The previous and next button can be used to offset the map time forward or back by the specified time step interval.
  10. The Bookmarks group provides a gallery of time enabled bookmarks for the map. Clicking a bookmark in the gallery will zoom the map to that location and time.
    It also provides play, previous and next buttons that can be used to navigate between the time enabled bookmarks.
    These commands are only enabled when there are at least 2 bookmarks in the map. Finally it provides a slider that can be used to set how quickly to move between bookmarks during playback.

      ArcGIS Pro SDK for Microsoft .NET Framework              Home | API Reference | Requirements | Download | Samples