@opensystemslab/map 1.0.0-alpha.3 → 1.0.0-alpha.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as Ua, g as Po } from "./index-Dgd3KQAy.mjs";
1
+ import { c as Ke, _ as Ua, g as Po } from "./index-0AQlXt5x.mjs";
2
2
  var vt = function(a) {
3
3
  return a && a.Math === Math && a;
4
4
  }, D = (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensystemslab/map",
3
- "version": "1.0.0-alpha.3",
3
+ "version": "1.0.0-alpha.4",
4
4
  "license": "MPL-2.0",
5
5
  "private": false,
6
6
  "repository": {
@@ -30,13 +30,13 @@
30
30
  "accessible-autocomplete": "^2.0.4",
31
31
  "file-saver": "^2.0.5",
32
32
  "govuk-frontend": "^5.6.0",
33
- "jspdf": "^2.5.1",
33
+ "jspdf": "^2.5.2",
34
34
  "lit": "^3.0.1",
35
35
  "ol": "^9.1.0",
36
36
  "ol-ext": "^4.0.21",
37
37
  "ol-mapbox-style": "^12.3.0",
38
38
  "postcode": "^5.1.0",
39
- "proj4": "^2.11.0",
39
+ "proj4": "^2.12.1",
40
40
  "rambda": "^9.2.1"
41
41
  },
42
42
  "devDependencies": {
@@ -54,8 +54,8 @@
54
54
  "prettier": "^3.2.5",
55
55
  "rollup-plugin-postcss-lit": "^2.1.0",
56
56
  "sass": "^1.77.8",
57
- "typescript": "^5.5.2",
58
- "vite": "^5.4.2",
57
+ "typescript": "^5.6.2",
58
+ "vite": "^5.4.6",
59
59
  "vitest": "0.34.6",
60
60
  "wait-for-expect": "^3.0.2"
61
61
  },
@@ -5,7 +5,7 @@ import { Vector as VectorSource } from "ol/source";
5
5
  export type DrawTypeEnum = Extract<Type, "Polygon" | "Point" | "Circle">;
6
6
  export type DrawPointerEnum = "crosshair" | "dot";
7
7
  export declare const drawingSource: VectorSource<import("ol/Feature").default<import("ol/geom").Geometry>>;
8
- export declare function configureDrawingLayer(drawType: DrawTypeEnum, drawColor: string, drawMany: boolean): VectorLayer<VectorSource<import("ol/Feature").default<import("ol/geom").Geometry>>>;
8
+ export declare function configureDrawingLayer(drawType: DrawTypeEnum, drawColor: string, drawMany: boolean, hideDrawLabels: boolean): VectorLayer<VectorSource<import("ol/Feature").default<import("ol/geom").Geometry>>>;
9
9
  export declare function configureDraw(drawType: DrawTypeEnum, drawPointer: DrawPointerEnum, drawColor: string): Draw;
10
10
  export declare const snap: Snap;
11
11
  export declare function configureModify(drawPointer: DrawPointerEnum, drawColor: string): Modify;
@@ -87,6 +87,7 @@ export declare class MyMap extends LitElement {
87
87
  * @deprecated - both `area.squareMetres` & `area.hectares` are calculated by default now in applicable `geojsonChange` events
88
88
  */
89
89
  areaUnit: AreaUnitEnum;
90
+ hideDrawLabels: boolean;
90
91
  showScale: boolean;
91
92
  useScaleBarStyle: boolean;
92
93
  showNorthArrow: boolean;