@opensystemslab/map 0.7.8 → 0.7.9

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensystemslab/map",
3
- "version": "0.7.8",
3
+ "version": "0.7.9",
4
4
  "license": "MPL-2.0",
5
5
  "private": false,
6
6
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "@turf/union": "^6.5.0",
30
30
  "accessible-autocomplete": "^2.0.4",
31
31
  "file-saver": "^2.0.5",
32
- "govuk-frontend": "^4.7.0",
32
+ "govuk-frontend": "^5.0.0",
33
33
  "jspdf": "^2.5.1",
34
34
  "lit": "^3.0.1",
35
35
  "ol": "^7.5.1",
@@ -40,21 +40,21 @@
40
40
  "rambda": "^8.6.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@glorious/pitsby": "^1.36.1",
44
- "@testing-library/dom": "^9.3.1",
43
+ "@glorious/pitsby": "^1.37.0",
44
+ "@testing-library/dom": "^9.3.3",
45
45
  "@testing-library/user-event": "^14.5.1",
46
46
  "@types/file-saver": "^2.0.7",
47
47
  "@types/node": "18.16.1",
48
48
  "@types/ol-ext": "npm:@siedlerchr/types-ol-ext@^3.0.9",
49
49
  "@types/proj4": "^2.5.5",
50
- "@vitest/ui": "^0.34.6",
50
+ "@vitest/ui": "^0.34.7",
51
51
  "happy-dom": "^9.1.9",
52
52
  "husky": "^8.0.3",
53
53
  "lint-staged": "^14.0.1",
54
54
  "prettier": "^3.1.0",
55
55
  "rollup-plugin-postcss-lit": "^2.1.0",
56
56
  "sass": "^1.69.5",
57
- "typescript": "^5.2.2",
57
+ "typescript": "^5.3.3",
58
58
  "vite": "^4.4.12",
59
59
  "vitest": "0.34.6",
60
60
  "wait-for-expect": "^3.0.2"
@@ -21,6 +21,7 @@ export declare class MyMap extends LitElement {
21
21
  type: string;
22
22
  geometry: {};
23
23
  };
24
+ drawGeojsonDataCopyright: string;
24
25
  drawGeojsonDataBuffer: number;
25
26
  drawPointer: DrawPointerEnum;
26
27
  showFeaturesAtPoint: boolean;
@@ -40,6 +41,7 @@ export declare class MyMap extends LitElement {
40
41
  type: string;
41
42
  features: never[];
42
43
  };
44
+ geojsonDataCopyright: string;
43
45
  geojsonColor: string;
44
46
  geojsonFill: boolean;
45
47
  geojsonBuffer: number;
@@ -56,6 +58,7 @@ export declare class MyMap extends LitElement {
56
58
  useScaleBarStyle: boolean;
57
59
  showNorthArrow: boolean;
58
60
  showPrint: boolean;
61
+ collapseAttributions: boolean;
59
62
  clipGeojsonData: {
60
63
  type: string;
61
64
  geometry: {
@@ -1,5 +1,5 @@
1
1
  import { Tile as TileLayer } from "ol/layer";
2
2
  import VectorTileLayer from "ol/layer/VectorTile";
3
3
  import { OSM } from "ol/source";
4
- export declare function makeRasterBaseMap(apiKey: string, proxyEndpoint: string, copyright: string): TileLayer<OSM>;
5
- export declare function makeOsVectorTileBaseMap(apiKey: string, proxyEndpoint: string, copyright: string): VectorTileLayer | undefined;
4
+ export declare function makeRasterBaseMap(apiKey: string, proxyEndpoint: string, copyright: string, collapseAttributions: boolean): TileLayer<OSM>;
5
+ export declare function makeOsVectorTileBaseMap(apiKey: string, proxyEndpoint: string, copyright: string, collapseAttributions: boolean): VectorTileLayer | undefined;