@opensystemslab/map 0.7.8 → 0.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component-lib.es.js +1 -1
- package/dist/component-lib.umd.js +61 -61
- package/dist/{index-bc945cdc.mjs → index-afd5d504.mjs} +6315 -6299
- package/dist/{index.es-d4441b99.mjs → index.es-11088028.mjs} +1 -1
- package/dist/style.css +1 -1
- package/package.json +6 -6
- package/types/components/my-map/index.d.ts +3 -0
- package/types/components/my-map/os-layers.d.ts +2 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@opensystemslab/map",
|
3
|
-
"version": "0.7.
|
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": "^
|
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.
|
44
|
-
"@testing-library/dom": "^9.3.
|
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.
|
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.
|
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;
|