@opensystemslab/map 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/map.es.js +6 -2
- package/dist/map.umd.js +6 -2
- package/package.json +1 -1
- package/types/my-map.d.ts +4 -0
package/package.json
CHANGED
package/types/my-map.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { LitElement } from "lit";
|
2
|
+
import Map from "ol/Map";
|
2
3
|
import { DrawPointerEnum } from "./drawing";
|
3
4
|
import { AreaUnitEnum } from "./utils";
|
4
5
|
export declare class MyMap extends LitElement {
|
@@ -36,8 +37,11 @@ export declare class MyMap extends LitElement {
|
|
36
37
|
areaUnit: AreaUnitEnum;
|
37
38
|
showScale: boolean;
|
38
39
|
useScaleBarStyle: boolean;
|
40
|
+
map?: Map;
|
41
|
+
constructor();
|
39
42
|
firstUpdated(): void;
|
40
43
|
render(): import("lit").TemplateResult<1>;
|
44
|
+
disconnectedCallback(): void;
|
41
45
|
/**
|
42
46
|
* dispatches an event for clients to subscribe to
|
43
47
|
* @param eventName
|