Select to view content in your preferred language

Timeline Widget with client side Feature layer

353
2
Jump to solution
11-14-2022 02:04 AM
Guy_srb
Regular Contributor

Is it possible to use the TimeSlider widget with client Side feature layer?

 

0 Kudos
1 Solution

Accepted Solutions
Guy_srb
Regular Contributor

I've managed to so by using:

timeSlider.watch("timeExtent", (evt) => {})

 

In the event I've found the current time of the the timeline, using that and featureLayer definition Expression property I was able to make use of the timeSlider with client side featureLayer.

View solution in original post

0 Kudos
2 Replies
sharjeelmohammed
New Contributor

Timeline widget allows you to view temporal data from web maps, feature layers, and map service layers to see how data changes over time. 

For connecting client Side feature layer requires either a geocode service or a hosted feature layer. So to my knowledge that is not possible out of the box

 

0 Kudos
Guy_srb
Regular Contributor

I've managed to so by using:

timeSlider.watch("timeExtent", (evt) => {})

 

In the event I've found the current time of the the timeline, using that and featureLayer definition Expression property I was able to make use of the timeSlider with client side featureLayer.

0 Kudos