From de17c18a41dce61d0539e63efa661b452f4a41ba Mon Sep 17 00:00:00 2001 From: Ryan Hamley Date: Thu, 3 Jan 2019 12:59:39 -0800 Subject: [PATCH] Fixes bugs in documentation (#7741) --- docs/documentation.yml | 1 + src/ui/events.js | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/documentation.yml b/docs/documentation.yml index 2f69418b898..1bf4e883133 100644 --- a/docs/documentation.yml +++ b/docs/documentation.yml @@ -1,6 +1,7 @@ toc: - Map - accessToken + - url - supported - version - setRTLTextPlugin diff --git a/src/ui/events.js b/src/ui/events.js index d5348266ab3..82968ccf8ba 100644 --- a/src/ui/events.js +++ b/src/ui/events.js @@ -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. @@ -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 }; /**