Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: export RegionPayload and MapLibreRNEvent types #544

Merged
merged 1 commit into from
Dec 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions src/MapLibreRN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ export {
type CameraBounds,
type CameraRef,
} from "./components/Camera";
export { default as MapView, type MapViewRef } from "./components/MapView";
export {
default as MapView,
type MapViewRef,
type RegionPayload,
} from "./components/MapView";
export { default as Light } from "./components/Light";
export { default as PointAnnotation } from "./components/PointAnnotation";
export type { PointAnnotationRef } from "./components/PointAnnotation";
Expand All @@ -35,6 +39,9 @@ export { default as CircleLayer } from "./components/CircleLayer";
export { default as SymbolLayer } from "./components/SymbolLayer";
export { default as RasterLayer } from "./components/RasterLayer";
export { default as BackgroundLayer } from "./components/BackgroundLayer";
export { default as MarkerView } from "./components/MarkerView";
export { default as Style } from "./components/Style";

export {
default as locationManager,
type Location,
Expand All @@ -49,9 +56,10 @@ export { default as OfflinePack } from "./modules/offline/OfflinePack";
export { default as OfflineCreatePackOptions } from "./modules/offline/OfflineCreatePackOptions";
export { default as snapshotManager } from "./modules/snapshot/snapshotManager";
export type { SnapshotInputOptions } from "./modules/snapshot/SnapshotOptions";
export { default as MarkerView } from "./components/MarkerView";

export type { MapLibreRNEvent } from "./types/MapLibreRNEvent";

export { default as Animated } from "./utils/animated/Animated";
export { default as Style } from "./components/Style";
export { default as Logger, type LogLevel } from "./utils/Logger";
export type {
FillLayerStyleProps as FillLayerStyle,
Expand Down
Loading