Skip to content

Commit

Permalink
Fixes bugs in documentation (#7741)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhamley committed Jan 3, 2019
1 parent 0a88ed0 commit de17c18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
toc:
- Map
- accessToken
- url
- supported
- version
- setRTLTextPlugin
Expand Down
6 changes: 1 addition & 5 deletions src/ui/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { extend } from '../util/util';

import type Map from './map';
import type LngLat from '../geo/lng_lat';
import type LngLatBounds from '../geo/lng_lat_bounds';

/**
* `MapMouseEvent` is the event type for mouse-related map events.
Expand Down Expand Up @@ -218,16 +217,13 @@ export class MapWheelEvent extends Event {
/**
* @typedef {Object} MapBoxZoomEvent
* @property {MouseEvent} originalEvent
* @property {LngLatBounds} boxZoomBounds The bounding box of the "box zoom" interaction.
* This property is only provided for `boxzoomend` events.
*/
export type MapBoxZoomEvent = {
type: 'boxzoomstart'
| 'boxzoomend'
| 'boxzoomcancel',
map: Map,
originalEvent: MouseEvent,
boxZoomBounds: LngLatBounds
originalEvent: MouseEvent
};

/**
Expand Down

0 comments on commit de17c18

Please sign in to comment.