ym-giswidget-2d 1.0.55 → 1.0.57
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/components/difference/Difference.vue.d.ts +142 -0
- package/components/difference/Difference.vue.js +76 -0
- package/components/difference/Difference.vue2.js +4 -0
- package/components/difference/index.d.ts +142 -0
- package/components/difference/index.js +7 -0
- package/components/distance-measurement/DistanceMeasurement.vue.d.ts +2 -0
- package/components/distance-measurement/DistanceMeasurement.vue.js +2 -2
- package/components/distance-measurement/index.d.ts +2 -0
- package/components/distance-measurement/index.js +7 -0
- package/components/horizontally-top-toolbar/HorizontallyTopToolbar.vue.js +1 -1
- package/components/horizontally-top-toolbar/HorizontallyTopToolbar.vue2.js +10 -2
- package/components/horizontally-top-toolbar/index.css +9 -9
- package/components/map-view/MapView.vue.d.ts +12 -12
- package/components/map-view/index.d.ts +12 -12
- package/components/modify/Modify.vue.d.ts +142 -0
- package/components/modify/Modify.vue.js +40 -0
- package/components/modify/Modify.vue2.js +4 -0
- package/components/modify/index.d.ts +142 -0
- package/components/modify/index.js +7 -0
- package/components/multi-screen/MultiScreen.vue.d.ts +12 -12
- package/components/multi-screen/index.d.ts +12 -12
- package/components/split/Split.vue.d.ts +142 -0
- package/components/split/Split.vue.js +73 -1
- package/components/split/Split.vue2.js +1 -75
- package/components/split/index.d.ts +142 -0
- package/components/split/index.js +1 -1
- package/index.d.ts +4 -0
- package/index.js +8 -0
- package/package.json +2 -2
- package/panel/DraggablePanel.vue.js +1 -1
- package/panel/index.css +31 -31
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { default as OLMap } from 'ym-gis-2d/mapView/Map';
|
|
2
|
+
import { default as Geometry } from 'ol/geom/Geometry';
|
|
3
|
+
import { default as Feature } from 'ym-gis-2d/entity/Feature';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
map: OLMap;
|
|
6
|
+
showLoading?: boolean;
|
|
7
|
+
fieldName?: string;
|
|
8
|
+
fieldValues?: any[];
|
|
9
|
+
};
|
|
10
|
+
declare function setFeatures(features: Feature[]): void;
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
12
|
+
setFeatures: typeof setFeatures;
|
|
13
|
+
features: {
|
|
14
|
+
isSelected?: boolean | undefined;
|
|
15
|
+
fromType?: "draw" | "import" | "cut" | "copy" | "union" | "identify" | "measure" | undefined;
|
|
16
|
+
layerId?: string | undefined;
|
|
17
|
+
tag?: string | undefined;
|
|
18
|
+
tempLayer?: {
|
|
19
|
+
getRenderBuffer: () => number | undefined;
|
|
20
|
+
getRenderOrder: () => (arg0: import('ol').default, arg1: import('ol').default) => number | null | undefined;
|
|
21
|
+
getStyle: () => import('ol/style/Style').StyleLike | import('ol/style/flat').FlatStyleLike | null | undefined;
|
|
22
|
+
getStyleFunction: () => import('ol/style/Style').StyleFunction | undefined;
|
|
23
|
+
getUpdateWhileAnimating: () => boolean;
|
|
24
|
+
getUpdateWhileInteracting: () => boolean;
|
|
25
|
+
setRenderOrder: (renderOrder: import('ol/render').OrderFunction | null | undefined) => void;
|
|
26
|
+
setStyle: (style?: import('ol/style/Style').StyleLike | import('ol/style/flat').FlatStyleLike | null | undefined) => void;
|
|
27
|
+
on: import('ol/layer/Layer').LayerOnSignature<import('ol/events').EventsKey>;
|
|
28
|
+
once: import('ol/layer/Layer').LayerOnSignature<import('ol/events').EventsKey>;
|
|
29
|
+
un: import('ol/layer/Layer').LayerOnSignature<void>;
|
|
30
|
+
render: (frameState: import('ol/Map').FrameState | null, target: HTMLElement) => HTMLElement | null;
|
|
31
|
+
getSource: () => import('ol/source').Vector<import('ol').Feature<Geometry>> | null;
|
|
32
|
+
getRenderSource: () => import('ol/source').Vector<import('ol').Feature<Geometry>> | null;
|
|
33
|
+
getFeatures: (pixel: import('ol/pixel').Pixel) => Promise<Array<import('ol/Feature').FeatureLike>>;
|
|
34
|
+
getData: (pixel: import('ol/pixel').Pixel) => Uint8ClampedArray | Uint8Array | Float32Array | DataView | null;
|
|
35
|
+
isVisible: (view?: import('ol').View | import('ol/View').ViewStateLayerStateExtent | undefined) => boolean;
|
|
36
|
+
getAttributions: (view?: import('ol').View | import('ol/View').ViewStateLayerStateExtent | undefined) => Array<string>;
|
|
37
|
+
unrender: () => void;
|
|
38
|
+
getDeclutter: () => string;
|
|
39
|
+
renderDeclutter: (frameState: import('ol/Map').FrameState, layerState: import('ol/layer/Layer').State) => void;
|
|
40
|
+
renderDeferred: (frameState: import('ol/Map').FrameState) => void;
|
|
41
|
+
setMapInternal: (map: import('ol').default | null) => void;
|
|
42
|
+
getMapInternal: () => import('ol').default | null;
|
|
43
|
+
setMap: (map: import('ol').default | null) => void;
|
|
44
|
+
setSource: (source: import('ol/source').Vector<import('ol').Feature<Geometry>> | null) => void;
|
|
45
|
+
getRenderer: () => import('ol/renderer/canvas/VectorLayer').default | null;
|
|
46
|
+
hasRenderer: () => boolean;
|
|
47
|
+
getBackground: () => import('ol/layer/Base').BackgroundColor | false;
|
|
48
|
+
getClassName: () => string;
|
|
49
|
+
getLayerState: (managed?: boolean | undefined) => import('ol/layer/Layer').State;
|
|
50
|
+
getLayersArray: (array?: import('ol/layer').default<import('ol/source').default, import('ol/renderer/Layer').default<any>>[] | undefined) => Array<import('ol/layer').default>;
|
|
51
|
+
getLayerStatesArray: (states?: import('ol/layer/Layer').State[] | undefined) => Array<import('ol/layer/Layer').State>;
|
|
52
|
+
getExtent: () => import('ol/extent').Extent | undefined;
|
|
53
|
+
getMaxResolution: () => number;
|
|
54
|
+
getMinResolution: () => number;
|
|
55
|
+
getMinZoom: () => number;
|
|
56
|
+
getMaxZoom: () => number;
|
|
57
|
+
getOpacity: () => number;
|
|
58
|
+
getSourceState: () => import('ol/source/Source').State;
|
|
59
|
+
getVisible: () => boolean;
|
|
60
|
+
getZIndex: () => number | undefined;
|
|
61
|
+
setBackground: (background?: import('ol/layer/Base').BackgroundColor | undefined) => void;
|
|
62
|
+
setExtent: (extent: import('ol/extent').Extent | undefined) => void;
|
|
63
|
+
setMaxResolution: (maxResolution: number) => void;
|
|
64
|
+
setMinResolution: (minResolution: number) => void;
|
|
65
|
+
setMaxZoom: (maxZoom: number) => void;
|
|
66
|
+
setMinZoom: (minZoom: number) => void;
|
|
67
|
+
setOpacity: (opacity: number) => void;
|
|
68
|
+
setVisible: (visible: boolean) => void;
|
|
69
|
+
setZIndex: (zindex: number) => void;
|
|
70
|
+
get: (key: string) => any;
|
|
71
|
+
getKeys: () => Array<string>;
|
|
72
|
+
getProperties: () => {
|
|
73
|
+
[x: string]: any;
|
|
74
|
+
};
|
|
75
|
+
getPropertiesInternal: () => {
|
|
76
|
+
[x: string]: any;
|
|
77
|
+
} | null;
|
|
78
|
+
hasProperties: () => boolean;
|
|
79
|
+
notify: (key: string, oldValue: any) => void;
|
|
80
|
+
addChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
81
|
+
removeChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
82
|
+
set: (key: string, value: any, silent?: boolean | undefined) => void;
|
|
83
|
+
setProperties: (values: {
|
|
84
|
+
[x: string]: any;
|
|
85
|
+
}, silent?: boolean | undefined) => void;
|
|
86
|
+
unset: (key: string, silent?: boolean | undefined) => void;
|
|
87
|
+
changed: () => void;
|
|
88
|
+
getRevision: () => number;
|
|
89
|
+
addEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
90
|
+
dispatchEvent: (event: import('ol/events/Event').default | string) => boolean | undefined;
|
|
91
|
+
getListeners: (type: string) => Array<import('ol/events').Listener> | undefined;
|
|
92
|
+
hasListener: (type?: string | undefined) => boolean;
|
|
93
|
+
removeEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
94
|
+
dispose: () => void;
|
|
95
|
+
} | undefined;
|
|
96
|
+
on: import('ol/Feature').FeatureOnSignature<import('ol/events').EventsKey>;
|
|
97
|
+
once: import('ol/Feature').FeatureOnSignature<import('ol/events').EventsKey>;
|
|
98
|
+
un: import('ol/Feature').FeatureOnSignature<void>;
|
|
99
|
+
clone: () => import('ol').Feature<Geometry>;
|
|
100
|
+
getGeometry: () => Geometry | undefined;
|
|
101
|
+
getId: () => number | string | undefined;
|
|
102
|
+
getGeometryName: () => string;
|
|
103
|
+
getStyle: () => import('ol/style/Style').StyleLike | undefined;
|
|
104
|
+
getStyleFunction: () => import('ol/style/Style').StyleFunction | undefined;
|
|
105
|
+
setGeometry: (geometry: Geometry | undefined) => void;
|
|
106
|
+
setStyle: (style?: import('ol/style/Style').StyleLike | undefined) => void;
|
|
107
|
+
setId: (id: number | string | undefined) => void;
|
|
108
|
+
setGeometryName: (name: string) => void;
|
|
109
|
+
get: (key: string) => any;
|
|
110
|
+
getKeys: () => Array<string>;
|
|
111
|
+
getProperties: () => {
|
|
112
|
+
[x: string]: any;
|
|
113
|
+
};
|
|
114
|
+
getPropertiesInternal: () => {
|
|
115
|
+
[x: string]: any;
|
|
116
|
+
} | null;
|
|
117
|
+
hasProperties: () => boolean;
|
|
118
|
+
notify: (key: string, oldValue: any) => void;
|
|
119
|
+
addChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
120
|
+
removeChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
121
|
+
set: (key: string, value: any, silent?: boolean | undefined) => void;
|
|
122
|
+
setProperties: (values: {
|
|
123
|
+
[x: string]: any;
|
|
124
|
+
}, silent?: boolean | undefined) => void;
|
|
125
|
+
unset: (key: string, silent?: boolean | undefined) => void;
|
|
126
|
+
changed: () => void;
|
|
127
|
+
getRevision: () => number;
|
|
128
|
+
addEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
129
|
+
dispatchEvent: (event: import('ol/events/Event').default | string) => boolean | undefined;
|
|
130
|
+
getListeners: (type: string) => Array<import('ol/events').Listener> | undefined;
|
|
131
|
+
hasListener: (type?: string | undefined) => boolean;
|
|
132
|
+
removeEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
133
|
+
dispose: () => void;
|
|
134
|
+
}[] | undefined;
|
|
135
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
136
|
+
activeInteraction: (...args: any[]) => void;
|
|
137
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
138
|
+
onActiveInteraction?: ((...args: any[]) => any) | undefined;
|
|
139
|
+
}>, {
|
|
140
|
+
showLoading: boolean;
|
|
141
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
142
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { defineComponent, reactive, onMounted, toRaw, onUnmounted } from "vue";
|
|
2
|
+
import Difference from "ym-gis-2d/interaction/Difference";
|
|
3
|
+
import { ElLoading, ElMessage } from "element-plus";
|
|
4
|
+
import FeatureManager from "ym-gis-2d/feature/FeatureManager";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "Difference",
|
|
7
|
+
props: {
|
|
8
|
+
map: {},
|
|
9
|
+
showLoading: { type: Boolean, default: true },
|
|
10
|
+
fieldName: {},
|
|
11
|
+
fieldValues: {}
|
|
12
|
+
},
|
|
13
|
+
emits: ["activeInteraction"],
|
|
14
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
15
|
+
const props = __props;
|
|
16
|
+
const emit = __emit;
|
|
17
|
+
const reactiveData = reactive({
|
|
18
|
+
features: []
|
|
19
|
+
});
|
|
20
|
+
onMounted(() => {
|
|
21
|
+
const featureManager = new FeatureManager(props.map);
|
|
22
|
+
const editFeatures = featureManager.getEditFeatures(props.fieldName, props.fieldValues);
|
|
23
|
+
if (!editFeatures || editFeatures.length === 0) {
|
|
24
|
+
emit("activeInteraction", { success: false, message: "请先选择分割的地块" });
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
reactiveData.differenceTool = new Difference(editFeatures, {
|
|
28
|
+
tipText: "绘制面挖除要素",
|
|
29
|
+
addTempLayer: true
|
|
30
|
+
//是否添加临时图层
|
|
31
|
+
});
|
|
32
|
+
props.map.interactionManager.addInteraction("difference", toRaw(reactiveData.differenceTool));
|
|
33
|
+
let loadingInstance;
|
|
34
|
+
reactiveData.differenceTool.on("holeStart", (event) => {
|
|
35
|
+
if (props.showLoading) {
|
|
36
|
+
loadingInstance = ElLoading.service({ text: "正在挖除...", background: "rgba(0, 0, 0, 0.5)", target: props.map.getTarget() });
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
reactiveData.differenceTool.on("holed", (event) => {
|
|
40
|
+
var _a;
|
|
41
|
+
loadingInstance == null ? void 0 : loadingInstance.close();
|
|
42
|
+
if (event.error) {
|
|
43
|
+
ElMessage.error("挖除失败:" + event.error);
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
const features = event.features;
|
|
47
|
+
if (features && features.length > 0) {
|
|
48
|
+
features.forEach((feature) => {
|
|
49
|
+
feature.isSelected = true;
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
let editFeatures2 = featureManager.getEditFeatures(props.fieldName, props.fieldValues);
|
|
53
|
+
if (editFeatures2 && editFeatures2.length > 0) {
|
|
54
|
+
(_a = reactiveData.differenceTool) == null ? void 0 : _a.setFeatures(editFeatures2);
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
onUnmounted(() => {
|
|
59
|
+
props.map.interactionManager.removeInteraction("difference");
|
|
60
|
+
});
|
|
61
|
+
function setFeatures(features) {
|
|
62
|
+
var _a;
|
|
63
|
+
(_a = reactiveData.differenceTool) == null ? void 0 : _a.setFeatures(features);
|
|
64
|
+
}
|
|
65
|
+
__expose({
|
|
66
|
+
setFeatures,
|
|
67
|
+
features: reactiveData.features
|
|
68
|
+
});
|
|
69
|
+
return (_ctx, _cache) => {
|
|
70
|
+
return null;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
_sfc_main as default
|
|
76
|
+
};
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
export declare const Difference: import('../../utils').WithInstall<import('vue').DefineComponent<{
|
|
2
|
+
map: import('ym-gis-2d/mapView/Map').default;
|
|
3
|
+
showLoading?: boolean;
|
|
4
|
+
fieldName?: string;
|
|
5
|
+
fieldValues?: any[];
|
|
6
|
+
}, {
|
|
7
|
+
setFeatures: (features: import('ym-gis-2d/entity/Feature').default[]) => void;
|
|
8
|
+
features: {
|
|
9
|
+
isSelected?: boolean | undefined;
|
|
10
|
+
fromType?: "draw" | "import" | "cut" | "copy" | "union" | "identify" | "measure" | undefined;
|
|
11
|
+
layerId?: string | undefined;
|
|
12
|
+
tag?: string | undefined;
|
|
13
|
+
tempLayer?: {
|
|
14
|
+
getRenderBuffer: () => number | undefined;
|
|
15
|
+
getRenderOrder: () => (arg0: import('ol').default, arg1: import('ol').default) => number | null | undefined;
|
|
16
|
+
getStyle: () => import('ol/style/Style').StyleLike | import('ol/style/flat').FlatStyleLike | null | undefined;
|
|
17
|
+
getStyleFunction: () => import('ol/style/Style').StyleFunction | undefined;
|
|
18
|
+
getUpdateWhileAnimating: () => boolean;
|
|
19
|
+
getUpdateWhileInteracting: () => boolean;
|
|
20
|
+
setRenderOrder: (renderOrder: import('ol/render').OrderFunction | null | undefined) => void;
|
|
21
|
+
setStyle: (style?: import('ol/style/Style').StyleLike | import('ol/style/flat').FlatStyleLike | null | undefined) => void;
|
|
22
|
+
on: import('ol/layer/Layer').LayerOnSignature<import('ol/events').EventsKey>;
|
|
23
|
+
once: import('ol/layer/Layer').LayerOnSignature<import('ol/events').EventsKey>;
|
|
24
|
+
un: import('ol/layer/Layer').LayerOnSignature<void>;
|
|
25
|
+
render: (frameState: import('ol/Map').FrameState | null, target: HTMLElement) => HTMLElement | null;
|
|
26
|
+
getSource: () => import('ol/source').Vector<import('ol').Feature<import('ol/geom').Geometry>> | null;
|
|
27
|
+
getRenderSource: () => import('ol/source').Vector<import('ol').Feature<import('ol/geom').Geometry>> | null;
|
|
28
|
+
getFeatures: (pixel: import('ol/pixel').Pixel) => Promise<Array<import('ol/Feature').FeatureLike>>;
|
|
29
|
+
getData: (pixel: import('ol/pixel').Pixel) => Uint8ClampedArray | Uint8Array | Float32Array | DataView | null;
|
|
30
|
+
isVisible: (view?: import('ol').View | import('ol/View').ViewStateLayerStateExtent | undefined) => boolean;
|
|
31
|
+
getAttributions: (view?: import('ol').View | import('ol/View').ViewStateLayerStateExtent | undefined) => Array<string>;
|
|
32
|
+
unrender: () => void;
|
|
33
|
+
getDeclutter: () => string;
|
|
34
|
+
renderDeclutter: (frameState: import('ol/Map').FrameState, layerState: import('ol/layer/Layer').State) => void;
|
|
35
|
+
renderDeferred: (frameState: import('ol/Map').FrameState) => void;
|
|
36
|
+
setMapInternal: (map: import('ol').default | null) => void;
|
|
37
|
+
getMapInternal: () => import('ol').default | null;
|
|
38
|
+
setMap: (map: import('ol').default | null) => void;
|
|
39
|
+
setSource: (source: import('ol/source').Vector<import('ol').Feature<import('ol/geom').Geometry>> | null) => void;
|
|
40
|
+
getRenderer: () => import('ol/renderer/canvas/VectorLayer').default | null;
|
|
41
|
+
hasRenderer: () => boolean;
|
|
42
|
+
getBackground: () => import('ol/layer/Base').BackgroundColor | false;
|
|
43
|
+
getClassName: () => string;
|
|
44
|
+
getLayerState: (managed?: boolean | undefined) => import('ol/layer/Layer').State;
|
|
45
|
+
getLayersArray: (array?: import('ol/layer').default<import('ol/source').default, import('ol/renderer/Layer').default<any>>[] | undefined) => Array<import('ol/layer').default>;
|
|
46
|
+
getLayerStatesArray: (states?: import('ol/layer/Layer').State[] | undefined) => Array<import('ol/layer/Layer').State>;
|
|
47
|
+
getExtent: () => import('ol/extent').Extent | undefined;
|
|
48
|
+
getMaxResolution: () => number;
|
|
49
|
+
getMinResolution: () => number;
|
|
50
|
+
getMinZoom: () => number;
|
|
51
|
+
getMaxZoom: () => number;
|
|
52
|
+
getOpacity: () => number;
|
|
53
|
+
getSourceState: () => import('ol/source/Source').State;
|
|
54
|
+
getVisible: () => boolean;
|
|
55
|
+
getZIndex: () => number | undefined;
|
|
56
|
+
setBackground: (background?: import('ol/layer/Base').BackgroundColor | undefined) => void;
|
|
57
|
+
setExtent: (extent: import('ol/extent').Extent | undefined) => void;
|
|
58
|
+
setMaxResolution: (maxResolution: number) => void;
|
|
59
|
+
setMinResolution: (minResolution: number) => void;
|
|
60
|
+
setMaxZoom: (maxZoom: number) => void;
|
|
61
|
+
setMinZoom: (minZoom: number) => void;
|
|
62
|
+
setOpacity: (opacity: number) => void;
|
|
63
|
+
setVisible: (visible: boolean) => void;
|
|
64
|
+
setZIndex: (zindex: number) => void;
|
|
65
|
+
get: (key: string) => any;
|
|
66
|
+
getKeys: () => Array<string>;
|
|
67
|
+
getProperties: () => {
|
|
68
|
+
[x: string]: any;
|
|
69
|
+
};
|
|
70
|
+
getPropertiesInternal: () => {
|
|
71
|
+
[x: string]: any;
|
|
72
|
+
} | null;
|
|
73
|
+
hasProperties: () => boolean;
|
|
74
|
+
notify: (key: string, oldValue: any) => void;
|
|
75
|
+
addChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
76
|
+
removeChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
77
|
+
set: (key: string, value: any, silent?: boolean | undefined) => void;
|
|
78
|
+
setProperties: (values: {
|
|
79
|
+
[x: string]: any;
|
|
80
|
+
}, silent?: boolean | undefined) => void;
|
|
81
|
+
unset: (key: string, silent?: boolean | undefined) => void;
|
|
82
|
+
changed: () => void;
|
|
83
|
+
getRevision: () => number;
|
|
84
|
+
addEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
85
|
+
dispatchEvent: (event: import('ol/events/Event').default | string) => boolean | undefined;
|
|
86
|
+
getListeners: (type: string) => Array<import('ol/events').Listener> | undefined;
|
|
87
|
+
hasListener: (type?: string | undefined) => boolean;
|
|
88
|
+
removeEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
89
|
+
dispose: () => void;
|
|
90
|
+
} | undefined;
|
|
91
|
+
on: import('ol/Feature').FeatureOnSignature<import('ol/events').EventsKey>;
|
|
92
|
+
once: import('ol/Feature').FeatureOnSignature<import('ol/events').EventsKey>;
|
|
93
|
+
un: import('ol/Feature').FeatureOnSignature<void>;
|
|
94
|
+
clone: () => import('ol').Feature<import('ol/geom').Geometry>;
|
|
95
|
+
getGeometry: () => import('ol/geom').Geometry | undefined;
|
|
96
|
+
getId: () => number | string | undefined;
|
|
97
|
+
getGeometryName: () => string;
|
|
98
|
+
getStyle: () => import('ol/style/Style').StyleLike | undefined;
|
|
99
|
+
getStyleFunction: () => import('ol/style/Style').StyleFunction | undefined;
|
|
100
|
+
setGeometry: (geometry: import('ol/geom').Geometry | undefined) => void;
|
|
101
|
+
setStyle: (style?: import('ol/style/Style').StyleLike | undefined) => void;
|
|
102
|
+
setId: (id: number | string | undefined) => void;
|
|
103
|
+
setGeometryName: (name: string) => void;
|
|
104
|
+
get: (key: string) => any;
|
|
105
|
+
getKeys: () => Array<string>;
|
|
106
|
+
getProperties: () => {
|
|
107
|
+
[x: string]: any;
|
|
108
|
+
};
|
|
109
|
+
getPropertiesInternal: () => {
|
|
110
|
+
[x: string]: any;
|
|
111
|
+
} | null;
|
|
112
|
+
hasProperties: () => boolean;
|
|
113
|
+
notify: (key: string, oldValue: any) => void;
|
|
114
|
+
addChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
115
|
+
removeChangeListener: (key: string, listener: import('ol/events').Listener) => void;
|
|
116
|
+
set: (key: string, value: any, silent?: boolean | undefined) => void;
|
|
117
|
+
setProperties: (values: {
|
|
118
|
+
[x: string]: any;
|
|
119
|
+
}, silent?: boolean | undefined) => void;
|
|
120
|
+
unset: (key: string, silent?: boolean | undefined) => void;
|
|
121
|
+
changed: () => void;
|
|
122
|
+
getRevision: () => number;
|
|
123
|
+
addEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
124
|
+
dispatchEvent: (event: import('ol/events/Event').default | string) => boolean | undefined;
|
|
125
|
+
getListeners: (type: string) => Array<import('ol/events').Listener> | undefined;
|
|
126
|
+
hasListener: (type?: string | undefined) => boolean;
|
|
127
|
+
removeEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
128
|
+
dispose: () => void;
|
|
129
|
+
}[] | undefined;
|
|
130
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
131
|
+
activeInteraction: (...args: any[]) => void;
|
|
132
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
133
|
+
map: import('ym-gis-2d/mapView/Map').default;
|
|
134
|
+
showLoading?: boolean;
|
|
135
|
+
fieldName?: string;
|
|
136
|
+
fieldValues?: any[];
|
|
137
|
+
}> & Readonly<{
|
|
138
|
+
onActiveInteraction?: ((...args: any[]) => any) | undefined;
|
|
139
|
+
}>, {
|
|
140
|
+
showLoading: boolean;
|
|
141
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>>;
|
|
142
|
+
export default Difference;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -3,7 +3,7 @@ const _sfc_main = {};
|
|
|
3
3
|
function _sfc_render(_ctx, _cache) {
|
|
4
4
|
return null;
|
|
5
5
|
}
|
|
6
|
-
const
|
|
6
|
+
const _DistanceMeasurement = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
_DistanceMeasurement as default
|
|
9
9
|
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const DistanceMeasurement: import('../../utils').WithInstall<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
|
|
2
|
+
export default DistanceMeasurement;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./HorizontallyTopToolbar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const _HorizontallyTopToolbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const _HorizontallyTopToolbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-647a59e2"]]);
|
|
5
5
|
export {
|
|
6
6
|
_HorizontallyTopToolbar as default
|
|
7
7
|
};
|
|
@@ -108,9 +108,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
108
108
|
{
|
|
109
109
|
id: "splitTool",
|
|
110
110
|
title: "分割",
|
|
111
|
-
classPath: "
|
|
111
|
+
classPath: "split/Split.vue",
|
|
112
112
|
icon: "./img/tool/clear.png",
|
|
113
113
|
isOnce: true
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
id: "differenceTool",
|
|
117
|
+
title: "挖除",
|
|
118
|
+
classPath: "../difference/index.ts",
|
|
119
|
+
icon: "./img/tool/clear.png",
|
|
120
|
+
isOnce: false,
|
|
121
|
+
isRepels: true
|
|
114
122
|
}
|
|
115
123
|
]
|
|
116
124
|
},
|
|
@@ -135,7 +143,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
135
143
|
},
|
|
136
144
|
emits: ["loaded"],
|
|
137
145
|
setup(__props, { emit: __emit }) {
|
|
138
|
-
const modules = /* @__PURE__ */ Object.assign({ "../area-measurement/AreaMeasurement.vue": () => import("../area-measurement/AreaMeasurement.vue2.js"), "../area-measurement/index.ts": () => import("../area-measurement/index.js"), "../clear/Clear.vue": () => import("../clear/Clear.vue2.js"), "../clear/index.ts": () => import("../clear/index.js"), "../distance-measurement/DistanceMeasurement.vue": () => import("../distance-measurement/DistanceMeasurement.vue.js"), "../draw/Draw.vue": () => import("../draw/Draw.vue2.js"), "../draw/index.ts": () => import("../draw/index.js"), "../export/Export.vue": () => import("../export/Export.vue.js"), "../export/index.ts": () => import("../export/index.js"), "./HorizontallyTopToolbar.vue": () => import("./HorizontallyTopToolbar.vue.js"), "./index.ts": () => import("./index.js"), "../identify/Identify.vue": () => import("../identify/Identify.vue2.js"), "../identify/index.ts": () => import("../identify/index.js"), "../import/Import.vue": () => import("../import/Import.vue2.js"), "../import/index.ts": () => import("../import/index.js"), "../layer-switcher/LayerSwitcher.vue": () => import("../layer-switcher/LayerSwitcher.vue.js"), "../layer-switcher/index.ts": () => import("../layer-switcher/index.js"), "../layer-tree/LayerTree.vue": () => import("../layer-tree/LayerTree.vue.js"), "../layer-tree/index.ts": () => import("../layer-tree/index.js"), "../legend/Legend.vue": () => import("../legend/Legend.vue.js"), "../legend/index.ts": () => import("../legend/index.js"), "../location/Location.vue": () => import("../location/Location.vue.js"), "../location/index.ts": () => import("../location/index.js"), "../map-view/MapView.vue": () => import("../map-view/MapView.vue2.js"), "../map-view/index.ts": () => import("../map-view/index.js"), "../mouse-position/MousePositon.vue": () => import("../mouse-position/MousePositon.vue.js"), "../mouse-position/index.ts": () => import("../mouse-position/index.js"), "../multi-screen-panel/PanelMultiScreen.vue": () => import("../multi-screen-panel/PanelMultiScreen.vue.js"), "../multi-screen-panel/index.ts": () => import("../multi-screen-panel/index.js"), "../multi-screen/MultiScreen.vue": () => import("../multi-screen/MultiScreen.vue.js"), "../multi-screen/index.ts": () => import("../multi-screen/index.js"), "../popup/Popup.vue": () => import("../popup/Popup.vue.js"), "../popup/index.ts": () => import("../popup/index.js"), "../scale-line/ScaleLine.vue": () => import("../scale-line/ScaleLine.vue.js"), "../scale-line/index.ts": () => import("../scale-line/index.js"), "../select/Select.vue": () => import("../select/Select.vue2.js"), "../select/index.ts": () => import("../select/index.js"), "../split/Split.vue": () => import("../split/Split.
|
|
146
|
+
const modules = /* @__PURE__ */ Object.assign({ "../area-measurement/AreaMeasurement.vue": () => import("../area-measurement/AreaMeasurement.vue2.js"), "../area-measurement/index.ts": () => import("../area-measurement/index.js"), "../clear/Clear.vue": () => import("../clear/Clear.vue2.js"), "../clear/index.ts": () => import("../clear/index.js"), "../difference/Difference.vue": () => import("../difference/Difference.vue2.js"), "../difference/index.ts": () => import("../difference/index.js"), "../distance-measurement/DistanceMeasurement.vue": () => import("../distance-measurement/DistanceMeasurement.vue.js"), "../distance-measurement/index.ts": () => import("../distance-measurement/index.js"), "../draw/Draw.vue": () => import("../draw/Draw.vue2.js"), "../draw/index.ts": () => import("../draw/index.js"), "../export/Export.vue": () => import("../export/Export.vue.js"), "../export/index.ts": () => import("../export/index.js"), "./HorizontallyTopToolbar.vue": () => import("./HorizontallyTopToolbar.vue.js"), "./index.ts": () => import("./index.js"), "../identify/Identify.vue": () => import("../identify/Identify.vue2.js"), "../identify/index.ts": () => import("../identify/index.js"), "../import/Import.vue": () => import("../import/Import.vue2.js"), "../import/index.ts": () => import("../import/index.js"), "../layer-switcher/LayerSwitcher.vue": () => import("../layer-switcher/LayerSwitcher.vue.js"), "../layer-switcher/index.ts": () => import("../layer-switcher/index.js"), "../layer-tree/LayerTree.vue": () => import("../layer-tree/LayerTree.vue.js"), "../layer-tree/index.ts": () => import("../layer-tree/index.js"), "../legend/Legend.vue": () => import("../legend/Legend.vue.js"), "../legend/index.ts": () => import("../legend/index.js"), "../location/Location.vue": () => import("../location/Location.vue.js"), "../location/index.ts": () => import("../location/index.js"), "../map-view/MapView.vue": () => import("../map-view/MapView.vue2.js"), "../map-view/index.ts": () => import("../map-view/index.js"), "../modify/Modify.vue": () => import("../modify/Modify.vue2.js"), "../modify/index.ts": () => import("../modify/index.js"), "../mouse-position/MousePositon.vue": () => import("../mouse-position/MousePositon.vue.js"), "../mouse-position/index.ts": () => import("../mouse-position/index.js"), "../multi-screen-panel/PanelMultiScreen.vue": () => import("../multi-screen-panel/PanelMultiScreen.vue.js"), "../multi-screen-panel/index.ts": () => import("../multi-screen-panel/index.js"), "../multi-screen/MultiScreen.vue": () => import("../multi-screen/MultiScreen.vue.js"), "../multi-screen/index.ts": () => import("../multi-screen/index.js"), "../popup/Popup.vue": () => import("../popup/Popup.vue.js"), "../popup/index.ts": () => import("../popup/index.js"), "../scale-line/ScaleLine.vue": () => import("../scale-line/ScaleLine.vue.js"), "../scale-line/index.ts": () => import("../scale-line/index.js"), "../select/Select.vue": () => import("../select/Select.vue2.js"), "../select/index.ts": () => import("../select/index.js"), "../split/Split.vue": () => import("../split/Split.vue2.js"), "../split/index.ts": () => import("../split/index.js"), "../swipe-layer/SwipeLayer.vue": () => import("../swipe-layer/SwipeLayer.vue2.js"), "../swipe-layer/index.ts": () => import("../swipe-layer/index.js"), "../toc-card/TocCard.vue": () => import("../toc-card/TocCard.vue.js"), "../toc-card/index.ts": () => import("../toc-card/index.js") });
|
|
139
147
|
const emit = __emit;
|
|
140
148
|
const props = __props;
|
|
141
149
|
const reactiveValue = reactive({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.toolbar-contain[data-v-
|
|
1
|
+
.toolbar-contain[data-v-647a59e2] {
|
|
2
2
|
position: absolute;
|
|
3
3
|
top: 44px;
|
|
4
4
|
display: flex;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
border: 1px solid var(--system-primary-border-color);
|
|
10
10
|
border-radius: 3px;
|
|
11
11
|
}
|
|
12
|
-
.toolbar-contain .toolbar-item-contain[data-v-
|
|
12
|
+
.toolbar-contain .toolbar-item-contain[data-v-647a59e2] {
|
|
13
13
|
height: 43px;
|
|
14
14
|
line-height: 43px;
|
|
15
15
|
display: flex;
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
align-items: center;
|
|
19
19
|
cursor: pointer;
|
|
20
20
|
}
|
|
21
|
-
.toolbar-contain .toolbar-item-contain .toolbar-item[data-v-
|
|
21
|
+
.toolbar-contain .toolbar-item-contain .toolbar-item[data-v-647a59e2] {
|
|
22
22
|
display: flex;
|
|
23
23
|
align-items: center;
|
|
24
24
|
padding: 0px 10px;
|
|
25
25
|
}
|
|
26
|
-
.toolbar-contain .toolbar-item-contain .toolbar-icon[data-v-
|
|
26
|
+
.toolbar-contain .toolbar-item-contain .toolbar-icon[data-v-647a59e2] {
|
|
27
27
|
width: 24px;
|
|
28
28
|
height: 24px;
|
|
29
29
|
margin-right: 6px;
|
|
30
30
|
}
|
|
31
|
-
.toolbar-contain .toolbar-item-contain .toolbar-children-contain[data-v-
|
|
31
|
+
.toolbar-contain .toolbar-item-contain .toolbar-children-contain[data-v-647a59e2] {
|
|
32
32
|
position: absolute;
|
|
33
33
|
top: 50px;
|
|
34
34
|
background: var(--system-primary-color);
|
|
@@ -36,24 +36,24 @@
|
|
|
36
36
|
border-radius: 3px;
|
|
37
37
|
margin: 0px -1px;
|
|
38
38
|
}
|
|
39
|
-
.toolbar-contain .active[data-v-
|
|
39
|
+
.toolbar-contain .active[data-v-647a59e2] {
|
|
40
40
|
color: var(--system-primary-text-active-color);
|
|
41
41
|
}
|
|
42
|
-
.toolbar-contain .toolbar-split[data-v-
|
|
42
|
+
.toolbar-contain .toolbar-split[data-v-647a59e2] {
|
|
43
43
|
width: 2px;
|
|
44
44
|
height: 20px;
|
|
45
45
|
background: #7EA08E;
|
|
46
46
|
margin: auto;
|
|
47
47
|
opacity: 0.5;
|
|
48
48
|
}
|
|
49
|
-
.toolbar-contain .toolbar-h-split[data-v-
|
|
49
|
+
.toolbar-contain .toolbar-h-split[data-v-647a59e2] {
|
|
50
50
|
height: 2px;
|
|
51
51
|
background: #7EA08E;
|
|
52
52
|
margin: auto;
|
|
53
53
|
opacity: 0.5;
|
|
54
54
|
margin: 0px 10px;
|
|
55
55
|
}
|
|
56
|
-
.component-position[data-v-
|
|
56
|
+
.component-position[data-v-647a59e2] {
|
|
57
57
|
position: absolute;
|
|
58
58
|
right: 300px;
|
|
59
59
|
}
|
|
@@ -138,7 +138,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
138
138
|
unobserve: (target: Element) => void;
|
|
139
139
|
};
|
|
140
140
|
addControl: (control: import('ol/control').default) => void;
|
|
141
|
-
addInteraction: (interaction: import('ol/interaction
|
|
141
|
+
addInteraction: (interaction: import('ol/interaction').default) => void;
|
|
142
142
|
addLayer: (layer: import('ol/layer/Base').default) => void;
|
|
143
143
|
addOverlay: (overlay: import('ol').default) => void;
|
|
144
144
|
forEachFeatureAtPixel: <T>(pixel: import('ol/pixel').Pixel, callback: (arg0: import('ol/Feature').FeatureLike, arg1: import('ol/layer').default<import('ol/source').default>, arg2: import('ol/geom').default) => T, options?: import('ol/Map').AtPixelOptions | undefined) => T | undefined;
|
|
@@ -158,7 +158,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
158
158
|
getControls: () => import('ol').Collection<import('ol/control').default>;
|
|
159
159
|
getOverlays: () => import('ol').Collection<import('ol').default>;
|
|
160
160
|
getOverlayById: (id: string | number) => import('ol').default | null;
|
|
161
|
-
getInteractions: () => import('ol').Collection<import('ol/interaction
|
|
161
|
+
getInteractions: () => import('ol').Collection<import('ol/interaction').default>;
|
|
162
162
|
getLayerGroup: () => import('ol/layer').Group;
|
|
163
163
|
setLayers: (layers: Array<import('ol/layer/Base').default> | import('ol').Collection<import('ol/layer/Base').default>) => void;
|
|
164
164
|
getLayers: () => import('ol').Collection<import('ol/layer/Base').default>;
|
|
@@ -180,7 +180,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
180
180
|
redrawText: () => void;
|
|
181
181
|
render: () => void;
|
|
182
182
|
removeControl: (control: import('ol/control').default) => import('ol/control').default | undefined;
|
|
183
|
-
removeInteraction: (interaction: import('ol/interaction
|
|
183
|
+
removeInteraction: (interaction: import('ol/interaction').default) => import('ol/interaction').default | undefined;
|
|
184
184
|
removeLayer: (layer: import('ol/layer/Base').default) => import('ol/layer/Base').default | undefined;
|
|
185
185
|
removeOverlay: (overlay: import('ol').default) => import('ol').default | undefined;
|
|
186
186
|
setLayerGroup: (layerGroup: import('ol/layer').Group) => void;
|
|
@@ -248,11 +248,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
248
248
|
hasListener: (type?: string | undefined) => boolean;
|
|
249
249
|
removeEventListener: (type: string, listener: import('ol/events').Listener) => void;
|
|
250
250
|
dispose: () => void;
|
|
251
|
-
}> & Omit<Map<string, import('ol/interaction
|
|
252
|
-
addInteraction: (name: string, interaction: import('ol/interaction
|
|
251
|
+
}> & Omit<Map<string, import('ol/interaction').Interaction>, keyof Map<any, any>>;
|
|
252
|
+
addInteraction: (name: string, interaction: import('ol/interaction').Interaction) => void;
|
|
253
253
|
removeInteraction: (name: string) => void;
|
|
254
254
|
removeAllInteractions: () => void;
|
|
255
|
-
getInteraction: (name: string) => import('ol/interaction
|
|
255
|
+
getInteraction: (name: string) => import('ol/interaction').Interaction | undefined;
|
|
256
256
|
};
|
|
257
257
|
controlManager: {
|
|
258
258
|
map: {
|
|
@@ -265,7 +265,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
265
265
|
unobserve: (target: Element) => void;
|
|
266
266
|
};
|
|
267
267
|
addControl: (control: import('ol/control').default) => void;
|
|
268
|
-
addInteraction: (interaction: import('ol/interaction
|
|
268
|
+
addInteraction: (interaction: import('ol/interaction').default) => void;
|
|
269
269
|
addLayer: (layer: import('ol/layer/Base').default) => void;
|
|
270
270
|
addOverlay: (overlay: import('ol').default) => void;
|
|
271
271
|
forEachFeatureAtPixel: <T>(pixel: import('ol/pixel').Pixel, callback: (arg0: import('ol/Feature').FeatureLike, arg1: import('ol/layer').default<import('ol/source').default>, arg2: import('ol/geom').default) => T, options?: import('ol/Map').AtPixelOptions | undefined) => T | undefined;
|
|
@@ -285,7 +285,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
285
285
|
getControls: () => import('ol').Collection<import('ol/control').default>;
|
|
286
286
|
getOverlays: () => import('ol').Collection<import('ol').default>;
|
|
287
287
|
getOverlayById: (id: string | number) => import('ol').default | null;
|
|
288
|
-
getInteractions: () => import('ol').Collection<import('ol/interaction
|
|
288
|
+
getInteractions: () => import('ol').Collection<import('ol/interaction').default>;
|
|
289
289
|
getLayerGroup: () => import('ol/layer').Group;
|
|
290
290
|
setLayers: (layers: Array<import('ol/layer/Base').default> | import('ol').Collection<import('ol/layer/Base').default>) => void;
|
|
291
291
|
getLayers: () => import('ol').Collection<import('ol/layer/Base').default>;
|
|
@@ -307,7 +307,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
307
307
|
redrawText: () => void;
|
|
308
308
|
render: () => void;
|
|
309
309
|
removeControl: (control: import('ol/control').default) => import('ol/control').default | undefined;
|
|
310
|
-
removeInteraction: (interaction: import('ol/interaction
|
|
310
|
+
removeInteraction: (interaction: import('ol/interaction').default) => import('ol/interaction').default | undefined;
|
|
311
311
|
removeLayer: (layer: import('ol/layer/Base').default) => import('ol/layer/Base').default | undefined;
|
|
312
312
|
removeOverlay: (overlay: import('ol').default) => import('ol').default | undefined;
|
|
313
313
|
setLayerGroup: (layerGroup: import('ol/layer').Group) => void;
|
|
@@ -425,7 +425,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
425
425
|
unobserve: (target: Element) => void;
|
|
426
426
|
};
|
|
427
427
|
addControl: (control: import('ol/control').default) => void;
|
|
428
|
-
addInteraction: (interaction: import('ol/interaction
|
|
428
|
+
addInteraction: (interaction: import('ol/interaction').default) => void;
|
|
429
429
|
addOverlay: (overlay: import('ol').default) => void;
|
|
430
430
|
forEachFeatureAtPixel: <T>(pixel: import('ol/pixel').Pixel, callback: (arg0: import('ol/Feature').FeatureLike, arg1: import('ol/layer').default<import('ol/source').default>, arg2: import('ol/geom').default) => T, options?: import('ol/Map').AtPixelOptions | undefined) => T | undefined;
|
|
431
431
|
getFeaturesAtPixel: (pixel: import('ol/pixel').Pixel, options?: import('ol/Map').AtPixelOptions | undefined) => Array<import('ol/Feature').FeatureLike>;
|
|
@@ -444,7 +444,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
444
444
|
getControls: () => import('ol').Collection<import('ol/control').default>;
|
|
445
445
|
getOverlays: () => import('ol').Collection<import('ol').default>;
|
|
446
446
|
getOverlayById: (id: string | number) => import('ol').default | null;
|
|
447
|
-
getInteractions: () => import('ol').Collection<import('ol/interaction
|
|
447
|
+
getInteractions: () => import('ol').Collection<import('ol/interaction').default>;
|
|
448
448
|
getLayerGroup: () => import('ol/layer').Group;
|
|
449
449
|
setLayers: (layers: Array<import('ol/layer/Base').default> | import('ol').Collection<import('ol/layer/Base').default>) => void;
|
|
450
450
|
getLayers: () => import('ol').Collection<import('ol/layer/Base').default>;
|
|
@@ -465,7 +465,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
465
465
|
redrawText: () => void;
|
|
466
466
|
render: () => void;
|
|
467
467
|
removeControl: (control: import('ol/control').default) => import('ol/control').default | undefined;
|
|
468
|
-
removeInteraction: (interaction: import('ol/interaction
|
|
468
|
+
removeInteraction: (interaction: import('ol/interaction').default) => import('ol/interaction').default | undefined;
|
|
469
469
|
removeLayer: (layer: import('ol/layer/Base').default) => import('ol/layer/Base').default | undefined;
|
|
470
470
|
removeOverlay: (overlay: import('ol').default) => import('ol').default | undefined;
|
|
471
471
|
setLayerGroup: (layerGroup: import('ol/layer').Group) => void;
|