Occurs when the layer is about to be re-drawn or refreshed.
Use this event to write code that performs the desired action before the layer is re-drawn or refreshed.
This event is also sent to the Map object.