Two new custom action functions.

They are:

 - customActionOnZoomEvent: called on each zoom
 - customActionOnMoveEvent: called on each drag, pan, or zoom