Hi,
I am working on a custom time slider widget that interacts with a Map widget in Experience Builder Dev Edition using the JimuMapViewSelector and JimuMapViewComponent. The data source of my map widget is a web map with time enabled feature layers.
With the API version 4.17, I can set up the time slider properties in the widget without a problem, changing mode, stops, play rate, start value for thumbs, and so on.
However, with the API version 4.18, all the time slider properties set within the widget are being ignored/overwritten by the web map time configuration.
For example, my time slider is on mode 'instant,' but it renders as mode 'time-window' (default). The same goes for all the other properties.
Insights:
I am using:
I was wondering if this is an intentional change in its behavior when using a web map with time-enabled layers as a data source in a map widget or if it is a bug?
I was also wondering if someone would have any insights on how to work around this?
Thank you.
Solved! Go to Solution.
I was able to solve this issue by removing the view declaration from the Time Slider widget, setting the Map View Time Extent on Map View Creation, and updating the Map View Time Extent when the current time extent of the Time Slider changes.
I'm also interested in a possible workaround for this situation.
I was able to solve this issue by removing the view declaration from the Time Slider widget, setting the Map View Time Extent on Map View Creation, and updating the Map View Time Extent when the current time extent of the Time Slider changes.