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:
- When I console.log(timeslider.mode) in a UseEffect after the time slider is rendered, it returns to me that the mode is 'instant' (as it was set on my code) instead of 'time-window' (as rendered);
- The widget only renders correctly if I don't set the property view in the time slider with the API version 4.18, but I lose the client-side rendering out of the box;
- I am using the workaround for API version 4.18 proposed in one of my coworker's thread (https://community.esri.com/t5/arcgis-experience-builder/major-bug-infinite-requests-after-closing-popup/m-p/1015592#M1378);
I am using:
- Experience builder version 1.2;
- OS Ubuntu 18.04 64-bit;
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.