UNPKG

react-map-gl

Version:

React components for MapLibre GL JS and Mapbox GL JS

34 lines (30 loc) 1.5 kB
import {Map} from './components/map'; export {Map}; export default Map; export {Marker} from './components/marker'; export {Popup} from './components/popup'; export {AttributionControl} from './components/attribution-control'; export {FullscreenControl} from './components/fullscreen-control'; export {GeolocateControl} from './components/geolocate-control'; export {NavigationControl} from './components/navigation-control'; export {ScaleControl} from './components/scale-control'; export {Source} from './components/source'; export {Layer} from './components/layer'; export {useControl} from './components/use-control'; export {MapProvider, useMap} from './components/use-map'; export type {MapProps} from './components/map'; export type {MapRef} from './mapbox/create-ref'; export type {MarkerProps} from './components/marker'; export type {PopupProps} from './components/popup'; export type {AttributionControlProps} from './components/attribution-control'; export type {FullscreenControlProps} from './components/fullscreen-control'; export type {GeolocateControlProps} from './components/geolocate-control'; export type {NavigationControlProps} from './components/navigation-control'; export type {ScaleControlProps} from './components/scale-control'; export type {SourceProps} from './components/source'; export type {LayerProps} from './components/layer'; // Types export * from './types/common'; export * from './types/events'; export * from './types/lib'; export * from './types/style-spec';