AnsweredAssumed Answered

How to create custom FeatureLayer based on FeatureCollection that works with TimeSlider widget?

Question asked by MarcBate on Jun 30, 2016

I'd like to be able to use the TimeSlider or HistogramSlider widgets with my FeatureLayers that were created from FeatureCollections, but I get the error that setting a time definition on such a layer isn't supported.

 

How would I go about creating a custom layer that extends FeatureLayer so that it will be time-aware?

 

A great example would be to add the TimeSlider to the Flicker sample app:

Feature collection | ArcGIS API for JavaScript 3.17

 

Is this something planned for such feature layers in the JSAPI 4.x so that there aren't these limitations on these layers that don't use ArcGIS Server?

Outcomes