UNPKG

840 BPlain TextView Raw
1// Add a style tag to the document's head for the map's styling
2import Map from './map';
3import BaseLayer from './layer';
4import layerMouseTouchEvents from './layer-events-hoc';
5import GeoJSONLayer from './geojson-layer';
6import Feature from './feature';
7import ZoomControl from './zoom-control';
8import Popup from './popup';
9import ScaleControl from './scale-control';
10import Marker from './marker';
11import Source from './source';
12import Cluster from './cluster';
13import RotationControl from './rotation-control';
14import Image from './image';
15import { withMap, MapContext } from './context';
16
17const Layer = withMap(layerMouseTouchEvents(BaseLayer));
18
19export {
20 Feature,
21 Layer,
22 GeoJSONLayer,
23 Map,
24 Popup,
25 ZoomControl,
26 ScaleControl,
27 Marker,
28 Source,
29 Cluster,
30 RotationControl,
31 Image,
32 MapContext
33};
34
35export default Map;