Class: ViewerClickEvent

bu. ViewerClickEvent

Events emitted when a viewer is clicked.


new ViewerClickEvent(type, pixel, coordinate [, opt_dragging])

Parameters:
Name Type Argument Description
type string

Event type.

pixel ol.Pixel

The viewer pixel relative to the viewport corresponding to the original browser event.

coordinate bu.Coordinate

The coordinate in viewer projection corresponding to the original browser event.

opt_dragging boolean <optional>

Is the viewer currently being dragged? Default is false.

Source:
bu/events.js

Extends

Members


coordinate :bu.Coordinate

The coordinate in viewer projection corresponding to the original browser event.

Type:
Source:
bu/events.js

dragging :boolean

Is the viewer currently being dragged? Default is false.

Type:
  • boolean
Source:
bu/events.js

pixel :ol.Pixel

The viewer pixel relative to the viewport corresponding to the original browser event.

Type:
  • ol.Pixel
Source:
bu/events.js