@opensystemslab/map 0.5.9 → 0.6.0

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.5.9",
3
+ "version": "0.6.0",
4
4
  "license": "OGL-UK-3.0",
5
5
  "private": false,
6
6
  "repository": {
@@ -42,7 +42,7 @@
42
42
  "@testing-library/user-event": "^14.4.3",
43
43
  "@types/node": "^18.6.3",
44
44
  "@types/proj4": "^2.5.2",
45
- "@vitest/ui": "^0.22.1",
45
+ "@vitest/ui": "^0.23.2",
46
46
  "happy-dom": "^6.0.4",
47
47
  "husky": "^8.0.1",
48
48
  "lint-staged": "^13.0.3",
@@ -0,0 +1,4 @@
1
+ import "ol/ol.css";
2
+ import { Control, ScaleLine } from "ol/control";
3
+ export declare function scaleControl(useScaleBarStyle: boolean): ScaleLine;
4
+ export declare function northArrowControl(): Control;
@@ -27,6 +27,7 @@ export declare class MyMap extends LitElement {
27
27
  featureBorderNone: boolean;
28
28
  featureBuffer: number;
29
29
  showMarker: boolean;
30
+ markerImage: MarkerImageEnum;
30
31
  markerLatitude: number;
31
32
  markerLongitude: number;
32
33
  markerColor: string;
@@ -46,7 +47,7 @@ export declare class MyMap extends LitElement {
46
47
  areaUnit: AreaUnitEnum;
47
48
  showScale: boolean;
48
49
  useScaleBarStyle: boolean;
49
- markerImage: MarkerImageEnum;
50
+ showNorthArrow: boolean;
50
51
  map?: Map;
51
52
  constructor();
52
53
  firstUpdated(): void;
@@ -1,3 +0,0 @@
1
- import "ol/ol.css";
2
- import { ScaleLine } from "ol/control";
3
- export declare function scaleControl(useScaleBarStyle: boolean): ScaleLine;