Skip to content

Latest commit

 

History

History
 
 

ApplyOffsetToATimeAwareLayer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Applying a time offset to a time-aware feature layer

This sample demonstrates how to apply an offset to a time-aware layer.

Language:              C#, VB
Subject:               Graphics Pipeline
Organization:          Esri, http://www.esri.com
Date:                  3/28/2017
ArcObjects SDK:        10.5
Visual Studio:         2013, 2015
.NET Target Framework: 4.5

Resources

Usage

  1. Open the Visual Studio solution file and build the project. This will create a .dll and a type library (.tlb) file in the \bin folder. The .dll gets registered with the ESRI Add-Ins component category.
  2. Start ArcMap and load the TimeAwareHurricanes.mxd map in the folder /Samples/data/Time.
  3. Open the Customize dialog box. On the Commands tab, select the Add-In Controls. The Add-In Controls appear, including the Time Offset button.
  4. Drag the Time Offset button onto one of the toolbars and close the Customize dialog box.
  5. Double-click atlantic_hurricanes_2000 to open the layer's properties.
  6. Click the Time tab. Note that the time offset is 0.
  7. Click Cancel to close the properties panel.
  8. Click the Time Offset button.
  9. Reopen the properties of the atlantic_hurricanes_2000 layer. Note that the time offset has changed.

Licensing

Development licensing Deployment licensing
ArcGIS Desktop Basic ArcGIS Desktop Basic
ArcGIS Desktop Standard ArcGIS Desktop Standard
ArcGIS Desktop Advanced ArcGIS Desktop Advanced