'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = require('./index.js');

var _index2 = _interopRequireDefault(_index);

var _mapbrowserevent = require('./mapbrowserevent.js');

var _mapbrowserevent2 = _interopRequireDefault(_mapbrowserevent);

function _interopRequireDefault(obj) {
  return obj && obj.__esModule ? obj : { default: obj };
}

/**
 * @constructor
 * @extends {ol.MapBrowserEvent}
 * @param {string} type Event type.
 * @param {ol.PluggableMap} map Map.
 * @param {ol.pointer.PointerEvent} pointerEvent Pointer event.
 * @param {boolean=} opt_dragging Is the map currently being dragged?
 * @param {?olx.FrameState=} opt_frameState Frame state.
 */
var _ol_MapBrowserPointerEvent_ = function (type, map, pointerEvent, opt_dragging, opt_frameState) {

  _mapbrowserevent2.default.call(this, type, map, pointerEvent.originalEvent, opt_dragging, opt_frameState);

  /**
   * @const
   * @type {ol.pointer.PointerEvent}
   */
  this.pointerEvent = pointerEvent;
};

_index2.default.inherits(_ol_MapBrowserPointerEvent_, _mapbrowserevent2.default);
exports.default = _ol_MapBrowserPointerEvent_;
module.exports = exports['default'];