wrap = function(marker, listener) {
    return function(e) {
      e.target = marker;
      e['latitude'] = goog.math.toDegrees(marker.lat);
      e['longitude'] = goog.math.toDegrees(marker.lon);
      e['originalEvent'] = e.getBrowserEvent();

      listener(e);
    };
  }
Wraps the listener function with a wrapper function
that adds some extended event info.
@param {!weapi.markers.AbstractMarker} marker .
@param {function(Event)} listener Original listener function.
@return {!function(Event)} Wrapper listener.