@opensystemslab/map 0.4.2 → 0.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensystemslab/map",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "license": "OGL-UK-3.0",
5
5
  "private": false,
6
6
  "repository": {
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