Skip to content

Commit 350ca7e

Browse files
authored
Add GeoJSONFeature missing export (#5567)
* Add GeoJSONFeature missing export * Add changelog
1 parent b6f4277 commit 350ca7e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
- Fix AbortController signal listener memory leak in frameAsync and sendAsync. ([#5561](https://github.com/maplibre/maplibre-gl-js/pull/5561))
1111
- Remove closeButton event listener on popup.remove(). ([#5564](https://github.com/maplibre/maplibre-gl-js/pull/5564))
12+
- Add missing `GeoJSONFeature` type to library export as it is exposed by `querySourceFeatures` ([#5567](https://github.com/maplibre/maplibre-gl-js/pull/5567))
13+
- _...Add new stuff here..._
1214

1315
## 5.1.1
1416

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ import {KeyboardHandler} from './ui/handler/keyboard';
4848
import {TwoFingersTouchPitchHandler, TwoFingersTouchRotateHandler, TwoFingersTouchZoomHandler} from './ui/handler/two_fingers_touch';
4949
import {MessageType} from './util/actor_messages';
5050
import {createTileMesh} from './util/create_tile_mesh';
51+
import type {GeoJSONFeature} from './util/vectortile_to_geojson';
5152
const version = packageJSON.version;
5253

5354
export type * from '@maplibre/maplibre-gl-style-spec';
@@ -237,6 +238,7 @@ export {
237238
type MapDataEvent,
238239
type MapContextEvent,
239240
type ErrorEvent,
241+
type GeoJSONFeature,
240242
setRTLTextPlugin,
241243
getRTLTextPluginStatus,
242244
prewarm,

0 commit comments

Comments
 (0)