Skip to content

Commit

Permalink
Add missing export type of MapBoxZoomEvent (#13368)
Browse files Browse the repository at this point in the history
  • Loading branch information
fxnm authored Jan 17, 2025
1 parent d13fd53 commit 0257a04
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ui/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,11 @@ export type MapInteractionEventType = MapMouseEventType | MapTouchEventType | Ma
* @see [Reference: `Map` events API documentation](https://docs.mapbox.com/mapbox-gl-js/api/map/#map-events)
* @see [Example: Highlight features within a bounding box](https://docs.mapbox.com/mapbox-gl-js/example/using-box-queryrenderedfeatures/)
*/
export type MapBoxZoomEvent = {
type: 'boxzoomstart' | 'boxzoomend' | 'boxzoomcancel';
target: Map;
originalEvent: MouseEvent;
};

export type MapStyleDataEvent = {
dataType: 'style';
Expand Down

0 comments on commit 0257a04

Please sign in to comment.