Interface IMapTimeDescription
Provides access to time properties of a MapDescription.
[Guid("AA4291A6-8C04-4519-8AA5-4EDB246F726B")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMapTimeDescription
Properties
TimeReference
Time reference used by the time aware content.
ITimeReference TimeReference { get; set; }
Property Value
Remarks
You should set this property when the TimeValue that you are passing in is in different timezone that any of the dataframe's or layer's TimeReference in the MapServer.
When TimeReference is set to Null/Nothing, MapServer assumes the TimeValue is in layer's TimeReference while searching features from layer. For example, there may be two layers in the map, one is in Pacific Standard Time (PST) and the other is in Eastern Standard Time (EST). If the TimeValue you are passing in is PST, but you have TimeReference is set to Null, when MapServer searches for feature for the first layer, it will assume the input TimeValue is in PST and find the correct features. While it searches for the features from the second layer, it will assume the input TimeValue is in EST and will get incorrect features.
TimeValue
Time value that will be used by the time aware content of the map.
ITimeValue TimeValue { get; set; }