Hot answers tagged

1

Here you have an example from CARTO-VL's documentation on animation controls: Interactive progress bar in CartoVL. Basically, what you need to do is to use setCurrent method to update the animation when your progress bar control is dragged: $progressRange.addEventListener('change', () => { alnusViz.variables.animation.setCurrent($progressRange.value); ...


1

You have to wait for the dataView to load. It provides a statusChanged event for this this.widgetFormula.on('statusChanged', (status) => { if (status === 'loaded') { this.widgetFormula.getData(); // This should return data now } });


Only top voted, non community-wiki answers of a minimum length are eligible