Skip to content

Commit

Permalink
doc: add note that MapBoxZoomEvent originalEvent can be a click #8693
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepan Kuzmin committed Sep 9, 2019
1 parent 07587b5 commit 2772364
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ui/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ export class MapWheelEvent extends Event {
}

/**
* A `MapBoxZoomEvent` is the event type for boxzoom-related map events.
* `originalEvent` can be a {@link Map.event:click} when the zoom is triggered by a UI event.
*
* @typedef {Object} MapBoxZoomEvent
* @property {MouseEvent} originalEvent
*/
Expand Down

0 comments on commit 2772364

Please sign in to comment.