@opensystemslab/map 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/component-lib.es.js +21768 -12585
- package/dist/component-lib.umd.js +107 -12688
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/types/components/my-map/index.d.ts +3 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@opensystemslab/map",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.7",
|
4
4
|
"license": "OGL-UK-3.0",
|
5
5
|
"private": false,
|
6
6
|
"repository": {
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"rollup-plugin-postcss-lit": "^2.0.0",
|
40
40
|
"sass": "^1.44.0",
|
41
41
|
"typescript": "^4.3.5",
|
42
|
-
"vite": "^
|
42
|
+
"vite": "^3.0.3"
|
43
43
|
},
|
44
44
|
"lint-staged": {
|
45
45
|
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md,html}": "prettier --write"
|
@@ -2,6 +2,7 @@ import { LitElement } from "lit";
|
|
2
2
|
import Map from "ol/Map";
|
3
3
|
import { DrawPointerEnum } from "./drawing";
|
4
4
|
import { AreaUnitEnum } from "./utils";
|
5
|
+
declare type MarkerImageEnum = "circle" | "pin";
|
5
6
|
export declare class MyMap extends LitElement {
|
6
7
|
static styles: import("lit").CSSResult;
|
7
8
|
id: string;
|
@@ -43,6 +44,7 @@ export declare class MyMap extends LitElement {
|
|
43
44
|
areaUnit: AreaUnitEnum;
|
44
45
|
showScale: boolean;
|
45
46
|
useScaleBarStyle: boolean;
|
47
|
+
markerImage: MarkerImageEnum;
|
46
48
|
map?: Map;
|
47
49
|
constructor();
|
48
50
|
firstUpdated(): void;
|
@@ -60,3 +62,4 @@ declare global {
|
|
60
62
|
"my-map": MyMap;
|
61
63
|
}
|
62
64
|
}
|
65
|
+
export {};
|