vue-openlayers-plugin 1.1.13 → 1.1.14
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/README.md +209 -0
- package/lib/{BasemapPanel-a8d7373d.mjs → BasemapPanel-d022a31a.mjs} +1 -1
- package/lib/{CoordinateLocationDialog-274aff1a.mjs → CoordinateLocationDialog-6cdf239b.mjs} +1 -1
- package/lib/{MapPrintDialog-97054260.mjs → FilterPanel-de00b336.mjs} +1 -1
- package/lib/{FilterPanel-ccdaaac3.mjs → LayerPanel-1a0456a4.mjs} +1 -1
- package/lib/{LayerPanel-c716b7cc.mjs → MapPrintDialog-c65f685b.mjs} +1 -1
- package/lib/{MeasurementDialog-7c08ba58.mjs → MeasurementDialog-44599074.mjs} +1 -1
- package/lib/{MyMarkersDialog-89bd594e.mjs → MyMarkersDialog-dd288574.mjs} +1 -1
- package/lib/{QuadCompareDialog-78dd2cf6.mjs → QuadCompareDialog-2cd17881.mjs} +1 -1
- package/lib/{RegionNavigationDialog-4b7b4e5f.mjs → RegionNavigationDialog-b1cdc5f9.mjs} +1 -1
- package/lib/{SplitCompareDialog-b51b55c1.mjs → SplitCompareDialog-6dd0fb71.mjs} +1 -1
- package/lib/{SwipeCompareDialog-2b89b65e.mjs → SwipeCompareDialog-dfae0afd.mjs} +1 -1
- package/lib/{ViewBookmarksDialog-7ee33d4e.mjs → ViewBookmarksDialog-2a6bc942.mjs} +1 -1
- package/lib/{index-3699244d.mjs → index-199c60c9.mjs} +1 -1
- package/lib/{index-98c677b7.mjs → index-e868c4e2.mjs} +504 -48
- package/lib/{index.es-e3be4489.mjs → index.es-560c236e.mjs} +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.umd.js +491 -35
- package/lib/style.css +5 -5
- package/package.json +1 -1
- package/types/components/OlDialogs/LayerPanel.vue.d.ts +188 -0
- package/types/components/OlDialogs/LayerPanel.vue.d.ts.map +1 -1
- package/types/components/OlMap.vue.d.ts +381 -0
- package/types/components/OlMap.vue.d.ts.map +1 -1
- package/types/components/OlMapContainer.vue.d.ts +1 -0
- package/types/components/OlMapContainer.vue.d.ts.map +1 -1
- package/types/core/LayerManager.d.ts +5 -0
- package/types/core/LayerManager.d.ts.map +1 -1
- package/types/core/layers/GeoJSONLayerHandler.d.ts +30 -2
- package/types/core/layers/GeoJSONLayerHandler.d.ts.map +1 -1
- package/types/core/layers/interfaces.d.ts +5 -0
- package/types/core/layers/interfaces.d.ts.map +1 -1
- package/types/lowcode-entry.d.ts +391 -0
- package/types/lowcode-entry.d.ts.map +1 -1
- package/types/types/map.d.ts +60 -0
- package/types/types/map.d.ts.map +1 -1
package/types/lowcode-entry.d.ts
CHANGED
|
@@ -293,6 +293,11 @@ export declare const OlMapComponent: {
|
|
|
293
293
|
clearAllLayers: () => void;
|
|
294
294
|
setLayerVisible: (layerId: string, visible: boolean) => any;
|
|
295
295
|
setLayerOpacity: (layerId: string, opacity: number) => any;
|
|
296
|
+
refreshLayer: (layerId: string, options?: {
|
|
297
|
+
params?: Record<string, any>;
|
|
298
|
+
body?: string | Record<string, any>;
|
|
299
|
+
}) => any;
|
|
300
|
+
updateLayerRequestParams: (layerId: string, params: Record<string, any>) => any;
|
|
296
301
|
getAllLayerConfigs: () => any;
|
|
297
302
|
getEventManager: () => any;
|
|
298
303
|
getPopupManager: () => {
|
|
@@ -666,6 +671,11 @@ export declare const OlMapComponent: {
|
|
|
666
671
|
clearAllLayers: () => void;
|
|
667
672
|
setLayerVisible: (layerId: string, visible: boolean) => any;
|
|
668
673
|
setLayerOpacity: (layerId: string, opacity: number) => any;
|
|
674
|
+
refreshLayer: (layerId: string, options?: {
|
|
675
|
+
params?: Record<string, any>;
|
|
676
|
+
body?: string | Record<string, any>;
|
|
677
|
+
}) => any;
|
|
678
|
+
updateLayerRequestParams: (layerId: string, params: Record<string, any>) => any;
|
|
669
679
|
getAllLayerConfigs: () => any;
|
|
670
680
|
getEventManager: () => any;
|
|
671
681
|
getPopupManager: () => {
|
|
@@ -1011,6 +1021,11 @@ export declare const OlMapComponent: {
|
|
|
1011
1021
|
clearAllLayers: () => void;
|
|
1012
1022
|
setLayerVisible: (layerId: string, visible: boolean) => any;
|
|
1013
1023
|
setLayerOpacity: (layerId: string, opacity: number) => any;
|
|
1024
|
+
refreshLayer: (layerId: string, options?: {
|
|
1025
|
+
params?: Record<string, any>;
|
|
1026
|
+
body?: string | Record<string, any>;
|
|
1027
|
+
}) => any;
|
|
1028
|
+
updateLayerRequestParams: (layerId: string, params: Record<string, any>) => any;
|
|
1014
1029
|
getAllLayerConfigs: () => any;
|
|
1015
1030
|
getEventManager: () => any;
|
|
1016
1031
|
getPopupManager: () => {
|
|
@@ -1106,6 +1121,10 @@ export declare const OlMapComponent: {
|
|
|
1106
1121
|
name: string;
|
|
1107
1122
|
type: string;
|
|
1108
1123
|
url?: string;
|
|
1124
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
1125
|
+
headers?: Record<string, string>;
|
|
1126
|
+
body?: string | Record<string, any>;
|
|
1127
|
+
dataPath?: string;
|
|
1109
1128
|
visible: boolean;
|
|
1110
1129
|
opacity: number;
|
|
1111
1130
|
zIndex: number;
|
|
@@ -1146,6 +1165,51 @@ export declare const OlMapComponent: {
|
|
|
1146
1165
|
autoFetchMetadata?: boolean;
|
|
1147
1166
|
projection?: string;
|
|
1148
1167
|
projectionDefinition?: string;
|
|
1168
|
+
geojsonConfig?: {
|
|
1169
|
+
data?: string | object;
|
|
1170
|
+
request?: {
|
|
1171
|
+
url?: string;
|
|
1172
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
1173
|
+
headers?: Record<string, string>;
|
|
1174
|
+
params?: Record<string, any>;
|
|
1175
|
+
body?: string | Record<string, any>;
|
|
1176
|
+
dataPath?: string;
|
|
1177
|
+
requestInterceptor?: (request: {
|
|
1178
|
+
url: string;
|
|
1179
|
+
method: import('./index').GeoJSONRequestMethod;
|
|
1180
|
+
headers: Record<string, string>;
|
|
1181
|
+
params: Record<string, any>;
|
|
1182
|
+
body?: string | Record<string, any>;
|
|
1183
|
+
}, context: import('./index').GeoJSONRequestContext) => {
|
|
1184
|
+
url?: string;
|
|
1185
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
1186
|
+
headers?: Record<string, string>;
|
|
1187
|
+
params?: Record<string, any>;
|
|
1188
|
+
body?: string | Record<string, any>;
|
|
1189
|
+
} | Promise<{
|
|
1190
|
+
url?: string;
|
|
1191
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
1192
|
+
headers?: Record<string, string>;
|
|
1193
|
+
params?: Record<string, any>;
|
|
1194
|
+
body?: string | Record<string, any>;
|
|
1195
|
+
}>;
|
|
1196
|
+
responseInterceptor?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
1197
|
+
responseParser?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
1198
|
+
};
|
|
1199
|
+
dataPath?: string;
|
|
1200
|
+
refresh?: {
|
|
1201
|
+
enabled?: boolean;
|
|
1202
|
+
interval?: number;
|
|
1203
|
+
onMoveEnd?: boolean;
|
|
1204
|
+
onZoomEnd?: boolean;
|
|
1205
|
+
debounce?: number;
|
|
1206
|
+
useExtent?: boolean;
|
|
1207
|
+
extentParamName?: string;
|
|
1208
|
+
extentTarget?: "body" | "params";
|
|
1209
|
+
extentProjection?: string;
|
|
1210
|
+
};
|
|
1211
|
+
clearOnError?: boolean;
|
|
1212
|
+
};
|
|
1149
1213
|
config?: {
|
|
1150
1214
|
wms?: {
|
|
1151
1215
|
layers: string;
|
|
@@ -1234,6 +1298,51 @@ export declare const OlMapComponent: {
|
|
|
1234
1298
|
value: any;
|
|
1235
1299
|
}[];
|
|
1236
1300
|
};
|
|
1301
|
+
geojson?: {
|
|
1302
|
+
data?: string | object;
|
|
1303
|
+
request?: {
|
|
1304
|
+
url?: string;
|
|
1305
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
1306
|
+
headers?: Record<string, string>;
|
|
1307
|
+
params?: Record<string, any>;
|
|
1308
|
+
body?: string | Record<string, any>;
|
|
1309
|
+
dataPath?: string;
|
|
1310
|
+
requestInterceptor?: (request: {
|
|
1311
|
+
url: string;
|
|
1312
|
+
method: import('./index').GeoJSONRequestMethod;
|
|
1313
|
+
headers: Record<string, string>;
|
|
1314
|
+
params: Record<string, any>;
|
|
1315
|
+
body?: string | Record<string, any>;
|
|
1316
|
+
}, context: import('./index').GeoJSONRequestContext) => {
|
|
1317
|
+
url?: string;
|
|
1318
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
1319
|
+
headers?: Record<string, string>;
|
|
1320
|
+
params?: Record<string, any>;
|
|
1321
|
+
body?: string | Record<string, any>;
|
|
1322
|
+
} | Promise<{
|
|
1323
|
+
url?: string;
|
|
1324
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
1325
|
+
headers?: Record<string, string>;
|
|
1326
|
+
params?: Record<string, any>;
|
|
1327
|
+
body?: string | Record<string, any>;
|
|
1328
|
+
}>;
|
|
1329
|
+
responseInterceptor?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
1330
|
+
responseParser?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
1331
|
+
};
|
|
1332
|
+
dataPath?: string;
|
|
1333
|
+
refresh?: {
|
|
1334
|
+
enabled?: boolean;
|
|
1335
|
+
interval?: number;
|
|
1336
|
+
onMoveEnd?: boolean;
|
|
1337
|
+
onZoomEnd?: boolean;
|
|
1338
|
+
debounce?: number;
|
|
1339
|
+
useExtent?: boolean;
|
|
1340
|
+
extentParamName?: string;
|
|
1341
|
+
extentTarget?: "body" | "params";
|
|
1342
|
+
extentProjection?: string;
|
|
1343
|
+
};
|
|
1344
|
+
clearOnError?: boolean;
|
|
1345
|
+
};
|
|
1237
1346
|
};
|
|
1238
1347
|
filterLogic?: import('./index').FilterLogic;
|
|
1239
1348
|
wmsLayers?: string;
|
|
@@ -1882,6 +1991,10 @@ export declare const OlMapComponent: {
|
|
|
1882
1991
|
name: string;
|
|
1883
1992
|
type: string;
|
|
1884
1993
|
url?: string;
|
|
1994
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
1995
|
+
headers?: Record<string, string>;
|
|
1996
|
+
body?: string | Record<string, any>;
|
|
1997
|
+
dataPath?: string;
|
|
1885
1998
|
visible: boolean;
|
|
1886
1999
|
opacity: number;
|
|
1887
2000
|
zIndex: number;
|
|
@@ -1922,6 +2035,51 @@ export declare const OlMapComponent: {
|
|
|
1922
2035
|
autoFetchMetadata?: boolean;
|
|
1923
2036
|
projection?: string;
|
|
1924
2037
|
projectionDefinition?: string;
|
|
2038
|
+
geojsonConfig?: {
|
|
2039
|
+
data?: string | object;
|
|
2040
|
+
request?: {
|
|
2041
|
+
url?: string;
|
|
2042
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
2043
|
+
headers?: Record<string, string>;
|
|
2044
|
+
params?: Record<string, any>;
|
|
2045
|
+
body?: string | Record<string, any>;
|
|
2046
|
+
dataPath?: string;
|
|
2047
|
+
requestInterceptor?: (request: {
|
|
2048
|
+
url: string;
|
|
2049
|
+
method: import('./index').GeoJSONRequestMethod;
|
|
2050
|
+
headers: Record<string, string>;
|
|
2051
|
+
params: Record<string, any>;
|
|
2052
|
+
body?: string | Record<string, any>;
|
|
2053
|
+
}, context: import('./index').GeoJSONRequestContext) => {
|
|
2054
|
+
url?: string;
|
|
2055
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
2056
|
+
headers?: Record<string, string>;
|
|
2057
|
+
params?: Record<string, any>;
|
|
2058
|
+
body?: string | Record<string, any>;
|
|
2059
|
+
} | Promise<{
|
|
2060
|
+
url?: string;
|
|
2061
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
2062
|
+
headers?: Record<string, string>;
|
|
2063
|
+
params?: Record<string, any>;
|
|
2064
|
+
body?: string | Record<string, any>;
|
|
2065
|
+
}>;
|
|
2066
|
+
responseInterceptor?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
2067
|
+
responseParser?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
2068
|
+
};
|
|
2069
|
+
dataPath?: string;
|
|
2070
|
+
refresh?: {
|
|
2071
|
+
enabled?: boolean;
|
|
2072
|
+
interval?: number;
|
|
2073
|
+
onMoveEnd?: boolean;
|
|
2074
|
+
onZoomEnd?: boolean;
|
|
2075
|
+
debounce?: number;
|
|
2076
|
+
useExtent?: boolean;
|
|
2077
|
+
extentParamName?: string;
|
|
2078
|
+
extentTarget?: "body" | "params";
|
|
2079
|
+
extentProjection?: string;
|
|
2080
|
+
};
|
|
2081
|
+
clearOnError?: boolean;
|
|
2082
|
+
};
|
|
1925
2083
|
config?: {
|
|
1926
2084
|
wms?: {
|
|
1927
2085
|
layers: string;
|
|
@@ -2010,6 +2168,51 @@ export declare const OlMapComponent: {
|
|
|
2010
2168
|
value: any;
|
|
2011
2169
|
}[];
|
|
2012
2170
|
};
|
|
2171
|
+
geojson?: {
|
|
2172
|
+
data?: string | object;
|
|
2173
|
+
request?: {
|
|
2174
|
+
url?: string;
|
|
2175
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
2176
|
+
headers?: Record<string, string>;
|
|
2177
|
+
params?: Record<string, any>;
|
|
2178
|
+
body?: string | Record<string, any>;
|
|
2179
|
+
dataPath?: string;
|
|
2180
|
+
requestInterceptor?: (request: {
|
|
2181
|
+
url: string;
|
|
2182
|
+
method: import('./index').GeoJSONRequestMethod;
|
|
2183
|
+
headers: Record<string, string>;
|
|
2184
|
+
params: Record<string, any>;
|
|
2185
|
+
body?: string | Record<string, any>;
|
|
2186
|
+
}, context: import('./index').GeoJSONRequestContext) => {
|
|
2187
|
+
url?: string;
|
|
2188
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
2189
|
+
headers?: Record<string, string>;
|
|
2190
|
+
params?: Record<string, any>;
|
|
2191
|
+
body?: string | Record<string, any>;
|
|
2192
|
+
} | Promise<{
|
|
2193
|
+
url?: string;
|
|
2194
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
2195
|
+
headers?: Record<string, string>;
|
|
2196
|
+
params?: Record<string, any>;
|
|
2197
|
+
body?: string | Record<string, any>;
|
|
2198
|
+
}>;
|
|
2199
|
+
responseInterceptor?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
2200
|
+
responseParser?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
2201
|
+
};
|
|
2202
|
+
dataPath?: string;
|
|
2203
|
+
refresh?: {
|
|
2204
|
+
enabled?: boolean;
|
|
2205
|
+
interval?: number;
|
|
2206
|
+
onMoveEnd?: boolean;
|
|
2207
|
+
onZoomEnd?: boolean;
|
|
2208
|
+
debounce?: number;
|
|
2209
|
+
useExtent?: boolean;
|
|
2210
|
+
extentParamName?: string;
|
|
2211
|
+
extentTarget?: "body" | "params";
|
|
2212
|
+
extentProjection?: string;
|
|
2213
|
+
};
|
|
2214
|
+
clearOnError?: boolean;
|
|
2215
|
+
};
|
|
2013
2216
|
};
|
|
2014
2217
|
filterLogic?: import('./index').FilterLogic;
|
|
2015
2218
|
wmsLayers?: string;
|
|
@@ -2661,6 +2864,10 @@ export declare const OlMapComponent: {
|
|
|
2661
2864
|
name: string;
|
|
2662
2865
|
type: string;
|
|
2663
2866
|
url?: string;
|
|
2867
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
2868
|
+
headers?: Record<string, string>;
|
|
2869
|
+
body?: string | Record<string, any>;
|
|
2870
|
+
dataPath?: string;
|
|
2664
2871
|
visible: boolean;
|
|
2665
2872
|
opacity: number;
|
|
2666
2873
|
zIndex: number;
|
|
@@ -2701,6 +2908,51 @@ export declare const OlMapComponent: {
|
|
|
2701
2908
|
autoFetchMetadata?: boolean;
|
|
2702
2909
|
projection?: string;
|
|
2703
2910
|
projectionDefinition?: string;
|
|
2911
|
+
geojsonConfig?: {
|
|
2912
|
+
data?: string | object;
|
|
2913
|
+
request?: {
|
|
2914
|
+
url?: string;
|
|
2915
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
2916
|
+
headers?: Record<string, string>;
|
|
2917
|
+
params?: Record<string, any>;
|
|
2918
|
+
body?: string | Record<string, any>;
|
|
2919
|
+
dataPath?: string;
|
|
2920
|
+
requestInterceptor?: (request: {
|
|
2921
|
+
url: string;
|
|
2922
|
+
method: import('./index').GeoJSONRequestMethod;
|
|
2923
|
+
headers: Record<string, string>;
|
|
2924
|
+
params: Record<string, any>;
|
|
2925
|
+
body?: string | Record<string, any>;
|
|
2926
|
+
}, context: import('./index').GeoJSONRequestContext) => {
|
|
2927
|
+
url?: string;
|
|
2928
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
2929
|
+
headers?: Record<string, string>;
|
|
2930
|
+
params?: Record<string, any>;
|
|
2931
|
+
body?: string | Record<string, any>;
|
|
2932
|
+
} | Promise<{
|
|
2933
|
+
url?: string;
|
|
2934
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
2935
|
+
headers?: Record<string, string>;
|
|
2936
|
+
params?: Record<string, any>;
|
|
2937
|
+
body?: string | Record<string, any>;
|
|
2938
|
+
}>;
|
|
2939
|
+
responseInterceptor?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
2940
|
+
responseParser?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
2941
|
+
};
|
|
2942
|
+
dataPath?: string;
|
|
2943
|
+
refresh?: {
|
|
2944
|
+
enabled?: boolean;
|
|
2945
|
+
interval?: number;
|
|
2946
|
+
onMoveEnd?: boolean;
|
|
2947
|
+
onZoomEnd?: boolean;
|
|
2948
|
+
debounce?: number;
|
|
2949
|
+
useExtent?: boolean;
|
|
2950
|
+
extentParamName?: string;
|
|
2951
|
+
extentTarget?: "body" | "params";
|
|
2952
|
+
extentProjection?: string;
|
|
2953
|
+
};
|
|
2954
|
+
clearOnError?: boolean;
|
|
2955
|
+
};
|
|
2704
2956
|
config?: {
|
|
2705
2957
|
wms?: {
|
|
2706
2958
|
layers: string;
|
|
@@ -2789,6 +3041,51 @@ export declare const OlMapComponent: {
|
|
|
2789
3041
|
value: any;
|
|
2790
3042
|
}[];
|
|
2791
3043
|
};
|
|
3044
|
+
geojson?: {
|
|
3045
|
+
data?: string | object;
|
|
3046
|
+
request?: {
|
|
3047
|
+
url?: string;
|
|
3048
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
3049
|
+
headers?: Record<string, string>;
|
|
3050
|
+
params?: Record<string, any>;
|
|
3051
|
+
body?: string | Record<string, any>;
|
|
3052
|
+
dataPath?: string;
|
|
3053
|
+
requestInterceptor?: (request: {
|
|
3054
|
+
url: string;
|
|
3055
|
+
method: import('./index').GeoJSONRequestMethod;
|
|
3056
|
+
headers: Record<string, string>;
|
|
3057
|
+
params: Record<string, any>;
|
|
3058
|
+
body?: string | Record<string, any>;
|
|
3059
|
+
}, context: import('./index').GeoJSONRequestContext) => {
|
|
3060
|
+
url?: string;
|
|
3061
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
3062
|
+
headers?: Record<string, string>;
|
|
3063
|
+
params?: Record<string, any>;
|
|
3064
|
+
body?: string | Record<string, any>;
|
|
3065
|
+
} | Promise<{
|
|
3066
|
+
url?: string;
|
|
3067
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
3068
|
+
headers?: Record<string, string>;
|
|
3069
|
+
params?: Record<string, any>;
|
|
3070
|
+
body?: string | Record<string, any>;
|
|
3071
|
+
}>;
|
|
3072
|
+
responseInterceptor?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
3073
|
+
responseParser?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
3074
|
+
};
|
|
3075
|
+
dataPath?: string;
|
|
3076
|
+
refresh?: {
|
|
3077
|
+
enabled?: boolean;
|
|
3078
|
+
interval?: number;
|
|
3079
|
+
onMoveEnd?: boolean;
|
|
3080
|
+
onZoomEnd?: boolean;
|
|
3081
|
+
debounce?: number;
|
|
3082
|
+
useExtent?: boolean;
|
|
3083
|
+
extentParamName?: string;
|
|
3084
|
+
extentTarget?: "body" | "params";
|
|
3085
|
+
extentProjection?: string;
|
|
3086
|
+
};
|
|
3087
|
+
clearOnError?: boolean;
|
|
3088
|
+
};
|
|
2792
3089
|
};
|
|
2793
3090
|
filterLogic?: import('./index').FilterLogic;
|
|
2794
3091
|
wmsLayers?: string;
|
|
@@ -3437,6 +3734,10 @@ export declare const OlMapComponent: {
|
|
|
3437
3734
|
name: string;
|
|
3438
3735
|
type: string;
|
|
3439
3736
|
url?: string;
|
|
3737
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
3738
|
+
headers?: Record<string, string>;
|
|
3739
|
+
body?: string | Record<string, any>;
|
|
3740
|
+
dataPath?: string;
|
|
3440
3741
|
visible: boolean;
|
|
3441
3742
|
opacity: number;
|
|
3442
3743
|
zIndex: number;
|
|
@@ -3477,6 +3778,51 @@ export declare const OlMapComponent: {
|
|
|
3477
3778
|
autoFetchMetadata?: boolean;
|
|
3478
3779
|
projection?: string;
|
|
3479
3780
|
projectionDefinition?: string;
|
|
3781
|
+
geojsonConfig?: {
|
|
3782
|
+
data?: string | object;
|
|
3783
|
+
request?: {
|
|
3784
|
+
url?: string;
|
|
3785
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
3786
|
+
headers?: Record<string, string>;
|
|
3787
|
+
params?: Record<string, any>;
|
|
3788
|
+
body?: string | Record<string, any>;
|
|
3789
|
+
dataPath?: string;
|
|
3790
|
+
requestInterceptor?: (request: {
|
|
3791
|
+
url: string;
|
|
3792
|
+
method: import('./index').GeoJSONRequestMethod;
|
|
3793
|
+
headers: Record<string, string>;
|
|
3794
|
+
params: Record<string, any>;
|
|
3795
|
+
body?: string | Record<string, any>;
|
|
3796
|
+
}, context: import('./index').GeoJSONRequestContext) => {
|
|
3797
|
+
url?: string;
|
|
3798
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
3799
|
+
headers?: Record<string, string>;
|
|
3800
|
+
params?: Record<string, any>;
|
|
3801
|
+
body?: string | Record<string, any>;
|
|
3802
|
+
} | Promise<{
|
|
3803
|
+
url?: string;
|
|
3804
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
3805
|
+
headers?: Record<string, string>;
|
|
3806
|
+
params?: Record<string, any>;
|
|
3807
|
+
body?: string | Record<string, any>;
|
|
3808
|
+
}>;
|
|
3809
|
+
responseInterceptor?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
3810
|
+
responseParser?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
3811
|
+
};
|
|
3812
|
+
dataPath?: string;
|
|
3813
|
+
refresh?: {
|
|
3814
|
+
enabled?: boolean;
|
|
3815
|
+
interval?: number;
|
|
3816
|
+
onMoveEnd?: boolean;
|
|
3817
|
+
onZoomEnd?: boolean;
|
|
3818
|
+
debounce?: number;
|
|
3819
|
+
useExtent?: boolean;
|
|
3820
|
+
extentParamName?: string;
|
|
3821
|
+
extentTarget?: "body" | "params";
|
|
3822
|
+
extentProjection?: string;
|
|
3823
|
+
};
|
|
3824
|
+
clearOnError?: boolean;
|
|
3825
|
+
};
|
|
3480
3826
|
config?: {
|
|
3481
3827
|
wms?: {
|
|
3482
3828
|
layers: string;
|
|
@@ -3565,6 +3911,51 @@ export declare const OlMapComponent: {
|
|
|
3565
3911
|
value: any;
|
|
3566
3912
|
}[];
|
|
3567
3913
|
};
|
|
3914
|
+
geojson?: {
|
|
3915
|
+
data?: string | object;
|
|
3916
|
+
request?: {
|
|
3917
|
+
url?: string;
|
|
3918
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
3919
|
+
headers?: Record<string, string>;
|
|
3920
|
+
params?: Record<string, any>;
|
|
3921
|
+
body?: string | Record<string, any>;
|
|
3922
|
+
dataPath?: string;
|
|
3923
|
+
requestInterceptor?: (request: {
|
|
3924
|
+
url: string;
|
|
3925
|
+
method: import('./index').GeoJSONRequestMethod;
|
|
3926
|
+
headers: Record<string, string>;
|
|
3927
|
+
params: Record<string, any>;
|
|
3928
|
+
body?: string | Record<string, any>;
|
|
3929
|
+
}, context: import('./index').GeoJSONRequestContext) => {
|
|
3930
|
+
url?: string;
|
|
3931
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
3932
|
+
headers?: Record<string, string>;
|
|
3933
|
+
params?: Record<string, any>;
|
|
3934
|
+
body?: string | Record<string, any>;
|
|
3935
|
+
} | Promise<{
|
|
3936
|
+
url?: string;
|
|
3937
|
+
method?: import('./index').GeoJSONRequestMethod;
|
|
3938
|
+
headers?: Record<string, string>;
|
|
3939
|
+
params?: Record<string, any>;
|
|
3940
|
+
body?: string | Record<string, any>;
|
|
3941
|
+
}>;
|
|
3942
|
+
responseInterceptor?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
3943
|
+
responseParser?: (response: any, context: import('./index').GeoJSONRequestContext) => any;
|
|
3944
|
+
};
|
|
3945
|
+
dataPath?: string;
|
|
3946
|
+
refresh?: {
|
|
3947
|
+
enabled?: boolean;
|
|
3948
|
+
interval?: number;
|
|
3949
|
+
onMoveEnd?: boolean;
|
|
3950
|
+
onZoomEnd?: boolean;
|
|
3951
|
+
debounce?: number;
|
|
3952
|
+
useExtent?: boolean;
|
|
3953
|
+
extentParamName?: string;
|
|
3954
|
+
extentTarget?: "body" | "params";
|
|
3955
|
+
extentProjection?: string;
|
|
3956
|
+
};
|
|
3957
|
+
clearOnError?: boolean;
|
|
3958
|
+
};
|
|
3568
3959
|
};
|
|
3569
3960
|
filterLogic?: import('./index').FilterLogic;
|
|
3570
3961
|
wmsLayers?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lowcode-entry.d.ts","sourceRoot":"","sources":["../src/lowcode-entry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAI3C,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"lowcode-entry.d.ts","sourceRoot":"","sources":["../src/lowcode-entry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAI3C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAQ,CAAC;AAIpC,eAAe,KAAK,CAAC"}
|
package/types/types/map.d.ts
CHANGED
|
@@ -78,6 +78,60 @@ export type WFSRequestFilter = {
|
|
|
78
78
|
property: string;
|
|
79
79
|
value: any;
|
|
80
80
|
};
|
|
81
|
+
export type GeoJSONRequestMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
82
|
+
export interface GeoJSONRequestContext {
|
|
83
|
+
config: LayerConfig;
|
|
84
|
+
params: Record<string, any>;
|
|
85
|
+
body?: Record<string, any> | string;
|
|
86
|
+
map?: any;
|
|
87
|
+
}
|
|
88
|
+
export interface GeoJSONRequestConfig {
|
|
89
|
+
url?: string;
|
|
90
|
+
method?: GeoJSONRequestMethod;
|
|
91
|
+
headers?: Record<string, string>;
|
|
92
|
+
params?: Record<string, any>;
|
|
93
|
+
body?: Record<string, any> | string;
|
|
94
|
+
dataPath?: string;
|
|
95
|
+
requestInterceptor?: (request: {
|
|
96
|
+
url: string;
|
|
97
|
+
method: GeoJSONRequestMethod;
|
|
98
|
+
headers: Record<string, string>;
|
|
99
|
+
params: Record<string, any>;
|
|
100
|
+
body?: Record<string, any> | string;
|
|
101
|
+
}, context: GeoJSONRequestContext) => {
|
|
102
|
+
url?: string;
|
|
103
|
+
method?: GeoJSONRequestMethod;
|
|
104
|
+
headers?: Record<string, string>;
|
|
105
|
+
params?: Record<string, any>;
|
|
106
|
+
body?: Record<string, any> | string;
|
|
107
|
+
} | Promise<{
|
|
108
|
+
url?: string;
|
|
109
|
+
method?: GeoJSONRequestMethod;
|
|
110
|
+
headers?: Record<string, string>;
|
|
111
|
+
params?: Record<string, any>;
|
|
112
|
+
body?: Record<string, any> | string;
|
|
113
|
+
}>;
|
|
114
|
+
responseInterceptor?: (response: any, context: GeoJSONRequestContext) => any | Promise<any>;
|
|
115
|
+
responseParser?: (response: any, context: GeoJSONRequestContext) => any | Promise<any>;
|
|
116
|
+
}
|
|
117
|
+
export interface GeoJSONRefreshConfig {
|
|
118
|
+
enabled?: boolean;
|
|
119
|
+
interval?: number;
|
|
120
|
+
onMoveEnd?: boolean;
|
|
121
|
+
onZoomEnd?: boolean;
|
|
122
|
+
debounce?: number;
|
|
123
|
+
useExtent?: boolean;
|
|
124
|
+
extentParamName?: string;
|
|
125
|
+
extentTarget?: "params" | "body";
|
|
126
|
+
extentProjection?: string;
|
|
127
|
+
}
|
|
128
|
+
export interface GeoJSONLayerSourceConfig {
|
|
129
|
+
data?: object | string;
|
|
130
|
+
request?: GeoJSONRequestConfig;
|
|
131
|
+
dataPath?: string;
|
|
132
|
+
refresh?: GeoJSONRefreshConfig;
|
|
133
|
+
clearOnError?: boolean;
|
|
134
|
+
}
|
|
81
135
|
export interface FilterManager {
|
|
82
136
|
addFilter(filter: FilterConfig): void;
|
|
83
137
|
removeFilter(filterId: string): void;
|
|
@@ -274,12 +328,17 @@ export interface LayerSpecificConfig {
|
|
|
274
328
|
geometryName?: string;
|
|
275
329
|
filters?: WFSRequestFilter[];
|
|
276
330
|
};
|
|
331
|
+
geojson?: GeoJSONLayerSourceConfig;
|
|
277
332
|
}
|
|
278
333
|
export interface LayerConfig {
|
|
279
334
|
id: string;
|
|
280
335
|
name: string;
|
|
281
336
|
type: LayerType;
|
|
282
337
|
url?: string;
|
|
338
|
+
method?: GeoJSONRequestMethod;
|
|
339
|
+
headers?: Record<string, string>;
|
|
340
|
+
body?: Record<string, any> | string;
|
|
341
|
+
dataPath?: string;
|
|
283
342
|
visible: boolean;
|
|
284
343
|
opacity: number;
|
|
285
344
|
zIndex: number;
|
|
@@ -297,6 +356,7 @@ export interface LayerConfig {
|
|
|
297
356
|
autoFetchMetadata?: boolean;
|
|
298
357
|
projection?: string;
|
|
299
358
|
projectionDefinition?: string;
|
|
359
|
+
geojsonConfig?: GeoJSONLayerSourceConfig;
|
|
300
360
|
config?: LayerSpecificConfig;
|
|
301
361
|
filterLogic?: FilterLogic;
|
|
302
362
|
wmsLayers?: string;
|