Flag that enables automatically updating traffic data.
Automatic updates occur only when the "mousemove" event occurs every 4 minutes on the map.
If this event does not occur, traffic stops being updated until there is a new event.

// Creating a provider for current traffic with the traffic events layer enabled
// and putting it on the map.
var actualProvider = new ymaps.traffic.provider.Actual({}, {infoLayerShown: true});
actualProvider.setMap(myMap);
// Forbidding showing balloons for clicks on the infopoint layer.
myMap.layers.options.set({
// The option name is formed by adding the 'trafficInfo' prefix
// to the hotspot layer option 'openBalloonOnClick'.
trafficInfoOpenBalloonOnClick: false
});
// ...
// Deleting the provider from the map.
actualProvider.setMap(null);