Allow the zoomOnClick option to be a function

Allow the zoomOnClick option to be a function. Return true or false from
that function to enable/disabled the default action