AnsweredAssumed Answered

How to disable time on time slider

Question asked by naveenadair on Feb 25, 2016
Latest reply on Feb 29, 2016 by naveenadair

How can i disable time in the map view in the same way that it is disabled when the "Disable Time" button is clicked by a user on the time slider?


I understand how to set a time range by setting a "Start" and "End" value, i.e.



     MapView mapView = MapView.Active;

     if (mapView == null)



     DateTime startDateTime = new DateTime(2016, 1, 1);

     DateTime endDateTime = new DateTime(2016, 2, 26);


     mapView.Time.Start = startDateTime;

     mapView.Time.End = endDateTime;



And i also understand that if i set the "Start" and the "End" range to Null that this will mean the time range begins infinite in the past and future.  However, what i would like to achieve is disabling the time slider altogether.