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

1550
0
06-30-2016 08:39 AM
MarcBate
Occasional Contributor II

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?

0 Kudos
0 Replies