Skip to content

Commit

Permalink
Export Event class (#5016)
Browse files Browse the repository at this point in the history
* Export `Error` class

* typo - export `Event` class

* reverted autoformatting

* add link to PR

* reverted autoformatting

---------

Co-authored-by: Harel M <[email protected]>
  • Loading branch information
zdila and HarelM authored Nov 12, 2024
1 parent c9f3a09 commit 3c80ac2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## main

### ✨ Features and improvements
- Export `Event` class ([#5016](https://github.com/maplibre/maplibre-gl-js/pull/5016))
- Support Vertical Perspective projection ([#5023](https://github.com/maplibre/maplibre-gl-js/pull/5023))
- _...Add new stuff here..._

Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {LngLat, LngLatLike} from './geo/lng_lat';
import {LngLatBounds, LngLatBoundsLike} from './geo/lng_lat_bounds';
import Point from '@mapbox/point-geometry';
import {MercatorCoordinate} from './geo/mercator_coordinate';
import {Evented, ErrorEvent} from './util/evented';
import {Evented, ErrorEvent, Event} from './util/evented';
import {config} from './util/config';
import {rtlMainThreadPluginFactory} from './source/rtl_text_plugin_main_thread';
import {WorkerPool} from './util/worker_pool';
Expand Down Expand Up @@ -191,6 +191,7 @@ export {
Point,
MercatorCoordinate,
Evented,
Event,
AJAXError,
config,
CanvasSource,
Expand Down

0 comments on commit 3c80ac2

Please sign in to comment.