@opensystemslab/map 0.6.0 → 0.6.1

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.6.0",
3
+ "version": "0.6.1",
4
4
  "license": "OGL-UK-3.0",
5
5
  "private": false,
6
6
  "repository": {
@@ -1,4 +1,5 @@
1
- import "ol/ol.css";
2
1
  import { Control, ScaleLine } from "ol/control";
2
+ import "ol/ol.css";
3
3
  export declare function scaleControl(useScaleBarStyle: boolean): ScaleLine;
4
4
  export declare function northArrowControl(): Control;
5
+ export declare function resetControl(listener: any, icon: string): Control;
@@ -4,6 +4,7 @@ import { DrawPointerEnum } from "./drawing";
4
4
  import { ProjectionEnum } from "./projections";
5
5
  import { AreaUnitEnum } from "./utils";
6
6
  declare type MarkerImageEnum = "circle" | "pin";
7
+ declare type ResetControlImageEnum = "unicode" | "reset" | "trash" | "erase";
7
8
  export declare class MyMap extends LitElement {
8
9
  static styles: import("lit").CSSResult;
9
10
  id: string;
@@ -43,6 +44,7 @@ export declare class MyMap extends LitElement {
43
44
  osFeaturesApiKey: string;
44
45
  osCopyright: string;
45
46
  hideResetControl: boolean;
47
+ resetControlImage: ResetControlImageEnum;
46
48
  staticMode: boolean;
47
49
  areaUnit: AreaUnitEnum;
48
50
  showScale: boolean;