msimonian77
msimonian77
Thank you for your reply. I tryed that and it works but concerned with the Canvas renderer handling adding features and selection much slower than the default SVG: http://trac.osgeo.org/openlayers/wiki/Future/OpenLayersWithCanvas So...
that actually is not working. Getting an error in Renderer.js : Uncaught TypeError: Cannot read property 'baseLayer' of null Do you know of a way to set the layer's renderer...
We are having the same issue and we would very much appreciate it if someone can look into fixing it as this layout has such great potential but is failing...
what i did was instead of adding the items in initialItems I added them in a useEffect: useEffect( () => { if (timelineRef.current.timeline) { timelineRef.current.timeline.setItems(timelineItems); } }, [timelineItems] );