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

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-CnbGXbu3.mjs";
1
+ import { c as Ke, _ as Ua, g as Po } from "./index-Dgd3KQAy.mjs";
2
2
  var vt = function(a) {
3
3
  return a && a.Math === Math && a;
4
4
  }, D = (
package/dist/index.html CHANGED
@@ -52,6 +52,7 @@
52
52
  maxZoom="23"
53
53
  drawMode
54
54
  drawMany
55
+ drawType="Point"
55
56
  basemap="MapboxSatellite"
56
57
  showCentreMarker
57
58
  osCopyright="© Crown copyright and database rights 2024 OS (0)100024857"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensystemslab/map",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.3",
4
4
  "license": "MPL-2.0",
5
5
  "private": false,
6
6
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "@turf/union": "^7.0.0",
30
30
  "accessible-autocomplete": "^2.0.4",
31
31
  "file-saver": "^2.0.5",
32
- "govuk-frontend": "^5.4.0",
32
+ "govuk-frontend": "^5.6.0",
33
33
  "jspdf": "^2.5.1",
34
34
  "lit": "^3.0.1",
35
35
  "ol": "^9.1.0",
@@ -53,9 +53,9 @@
53
53
  "lint-staged": "^15.2.7",
54
54
  "prettier": "^3.2.5",
55
55
  "rollup-plugin-postcss-lit": "^2.1.0",
56
- "sass": "^1.69.5",
56
+ "sass": "^1.77.8",
57
57
  "typescript": "^5.5.2",
58
- "vite": "^5.3.2",
58
+ "vite": "^5.4.2",
59
59
  "vitest": "0.34.6",
60
60
  "wait-for-expect": "^3.0.2"
61
61
  },
@@ -26,7 +26,7 @@ export declare class MyMap extends LitElement {
26
26
  drawPointColor: string;
27
27
  drawGeojsonData: {
28
28
  type: string;
29
- geometry: {};
29
+ features: never[];
30
30
  };
31
31
  drawGeojsonDataCopyright: string;
32
32
  drawGeojsonDataBuffer: number;
@@ -80,6 +80,7 @@ export declare class MyMap extends LitElement {
80
80
  applySatelliteStyle: boolean;
81
81
  mapboxAccessToken: string;
82
82
  hideResetControl: boolean;
83
+ resetViewOnly: boolean;
83
84
  resetControlImage: ResetControlImageEnum;
84
85
  staticMode: boolean;
85
86
  /**