summaryrefslogtreecommitdiff
path: root/client/simple/src/js/pkg/ol.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/simple/src/js/pkg/ol.ts')
-rw-r--r--client/simple/src/js/pkg/ol.ts26
1 files changed, 26 insertions, 0 deletions
diff --git a/client/simple/src/js/pkg/ol.ts b/client/simple/src/js/pkg/ol.ts
new file mode 100644
index 000000000..f0f932182
--- /dev/null
+++ b/client/simple/src/js/pkg/ol.ts
@@ -0,0 +1,26 @@
+import { Feature, Map as OlMap, View } from "ol";
+import { createEmpty } from "ol/extent";
+import { GeoJSON } from "ol/format";
+import { Point } from "ol/geom";
+import { Tile as TileLayer, Vector as VectorLayer } from "ol/layer";
+import { fromLonLat } from "ol/proj";
+import { OSM, Vector as VectorSource } from "ol/source";
+import { Circle, Fill, Stroke, Style } from "ol/style";
+
+export {
+ View,
+ OlMap,
+ TileLayer,
+ VectorLayer,
+ OSM,
+ createEmpty,
+ VectorSource,
+ Style,
+ Stroke,
+ Fill,
+ Circle,
+ fromLonLat,
+ GeoJSON,
+ Feature,
+ Point
+};