@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/dist/component-lib.es.js +5883 -5870
- package/dist/component-lib.umd.js +28 -28
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/types/components/my-map/controls.d.ts +2 -1
- package/types/components/my-map/index.d.ts +2 -0
package/package.json
CHANGED
@@ -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;
|