
With the fadeOnMarkers expression, you can easily create fade-in and fade-out effects using markers to set the duration. It simplifies the process of controlling the opacity of a layer based on markers placed in your timeline. Apply it to the Opacity property.
var markers = thisLayer.marker;
var numMarkers = markers.numKeys;
var numMarkers = markers.numKeys;
