forked from openlayers/ol-rollup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.js
85 lines (72 loc) · 1.89 KB
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import {stylefunction} from 'ol-mapbox-style';
export {stylefunction};
import {applyStyle} from 'ol-mapbox-style';
export {applyStyle};
export {Overlay, Collection, Map, View, Feature } from 'ol';
import { unByKey } from 'ol/Observable';
import { Observable } from 'ol';
Observable.unByKey = unByKey;
export { Observable };
import * as tilegrid from 'ol/tilegrid';
export { tilegrid };
import { Control, Zoom, Attribution, ScaleLine } from 'ol/control';
import LayerSwitcher from 'ol-layerswitcher';
let control = { Control, Zoom, Attribution, ScaleLine, LayerSwitcher };
export { control };
import * as interaction from 'ol/interaction';
export { interaction };
import * as sphere from 'ol/sphere';
export { sphere };
import { GeoJSON, KML, MVT, GPX, IGC, TopoJSON } from 'ol/format';
let format = {
GeoJSON: GeoJSON,
KML: KML,
MVT: MVT,
GPX: GPX,
IGC: IGC,
TopoJSON: TopoJSON
};
export { format };
import { Tile, Group, Vector as VectorLayer, VectorTile, VectorImage, WebGLPoints, Heatmap, Image } from 'ol/layer';
let layer = {
Group: Group,
Tile: Tile,
Vector: VectorLayer,
VectorTile: VectorTile,
VectorImage: VectorImage,
WebGLPoints: WebGLPoints,
Heatmap: Heatmap,
Image: Image,
};
export { layer };
import * as proj from 'ol/proj';
export { proj };
import { LineString, Point, MultiPoint } from 'ol/geom';
let geom = {
LineString: LineString,
Point: Point,
MultiPoint: MultiPoint,
};
export { geom };
import { Style, Text, Stroke, Fill, Circle, Icon } from 'ol/style';
let style = {
Icon: Icon,
Style: Style,
Text: Text,
Stroke: Stroke,
Fill: Fill,
Circle: Circle,
};
export { style };
import { OSM, XYZ, TileWMS, BingMaps, Vector as VectorSource, VectorTile as VTS, ImageWMS, ImageStatic } from 'ol/source';
let source = {
OSM: OSM,
XYZ: XYZ,
TileWMS: TileWMS,
BingMaps: BingMaps,
Vector: VectorSource,
VectorTile: VTS,
ImageWMS: ImageWMS,
ImageStatic: ImageStatic,
};
export {source};