I looked at the samples and did not see any reference to time enabled layers. Any insight would be greatly appreciated
You can set the MapView TimeExtent property. Then the layers that support time will use it.
Example:
<esri:MapView>
<esri:MapView.TimeExtent >
<esri:TimeExtent Start="07/01/2004" End="07/01/2004" />
</esri:MapView.TimeExtent>
<esri:Map >
<esri:ArcGISImageServiceLayer ServiceUri="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/World/MODIS/ImageServer" />
</esri:Map>
</esri:MapView>
Thanks for the prompt reply. I am not sure how I will transition some of my existing ArcObject applications to this as I have numerous time layers with various time extents. I appreciate your help.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.