@gis_victory/gismap 2.0.71 → 2.0.72
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/dist/gismap.css +1 -1
- package/dist/index.d.ts +16 -38
- package/dist/index.es.js +12 -12
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -441,44 +441,24 @@ declare type __VLS_Props = {
|
|
|
441
441
|
};
|
|
442
442
|
|
|
443
443
|
declare type __VLS_Props_2 = {
|
|
444
|
-
/**
|
|
445
|
-
* 导入图层的基础样式
|
|
446
|
-
*/
|
|
447
444
|
layerStyle?: {
|
|
448
|
-
/**
|
|
449
|
-
* 点样式
|
|
450
|
-
*/
|
|
451
445
|
point?: {
|
|
452
446
|
color?: string;
|
|
453
447
|
size?: number;
|
|
454
448
|
};
|
|
455
|
-
/**
|
|
456
|
-
* 线样式
|
|
457
|
-
*/
|
|
458
449
|
line?: {
|
|
459
450
|
color?: string;
|
|
460
451
|
width?: number;
|
|
461
452
|
};
|
|
462
|
-
/**
|
|
463
|
-
* 面样式
|
|
464
|
-
*/
|
|
465
453
|
polygon?: {
|
|
466
454
|
fillColor?: string;
|
|
467
455
|
fillOpacity?: number;
|
|
468
|
-
strokeColor?: string;
|
|
469
|
-
strokeWidth?: number;
|
|
470
456
|
};
|
|
471
457
|
};
|
|
472
458
|
/**
|
|
473
|
-
*
|
|
474
|
-
* 支持格式:EPSG:4326(WGS84经纬度), EPSG:3857(Web墨卡托), EPSG:4490(CGCS2000), EPSG:4528(CGCS2000 3度带)
|
|
475
|
-
* 也支持自定义投影字符串
|
|
459
|
+
* 是否在导入后直接绘制到地图上,默认绘制
|
|
476
460
|
*/
|
|
477
|
-
|
|
478
|
-
/**
|
|
479
|
-
* 目标坐标系(默认WGS84经纬度)
|
|
480
|
-
*/
|
|
481
|
-
targetCrs?: string;
|
|
461
|
+
draw?: boolean;
|
|
482
462
|
};
|
|
483
463
|
|
|
484
464
|
declare function __VLS_template(): {
|
|
@@ -1370,29 +1350,25 @@ export declare interface GISMapFactory {
|
|
|
1370
1350
|
getDefaultOptions(): GISMapOptions;
|
|
1371
1351
|
}
|
|
1372
1352
|
|
|
1373
|
-
export declare const GisMapFileImport: DefineComponent<__VLS_Props_2, {
|
|
1374
|
-
|
|
1375
|
-
importedLayerIds: Ref<string[], string[]>;
|
|
1376
|
-
importedSourceIds: Ref<string[], string[]>;
|
|
1377
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1353
|
+
export declare const GisMapFileImport: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1354
|
+
error: (error: Error) => any;
|
|
1378
1355
|
clear: () => any;
|
|
1379
|
-
|
|
1356
|
+
success: (data: {
|
|
1380
1357
|
geojson: GeoJSON.FeatureCollection;
|
|
1381
|
-
wkt: string[];
|
|
1382
1358
|
fileName: string;
|
|
1383
|
-
|
|
1359
|
+
featureCount: number;
|
|
1384
1360
|
}) => any;
|
|
1385
|
-
"import-error": (error: Error) => any;
|
|
1386
1361
|
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
1362
|
+
onError?: ((error: Error) => any) | undefined;
|
|
1387
1363
|
onClear?: (() => any) | undefined;
|
|
1388
|
-
|
|
1364
|
+
onSuccess?: ((data: {
|
|
1389
1365
|
geojson: GeoJSON.FeatureCollection;
|
|
1390
|
-
wkt: string[];
|
|
1391
1366
|
fileName: string;
|
|
1392
|
-
|
|
1367
|
+
featureCount: number;
|
|
1393
1368
|
}) => any) | undefined;
|
|
1394
|
-
|
|
1395
|
-
|
|
1369
|
+
}>, {
|
|
1370
|
+
draw: boolean;
|
|
1371
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1396
1372
|
fileInput: HTMLInputElement;
|
|
1397
1373
|
}, HTMLDivElement>;
|
|
1398
1374
|
|
|
@@ -2287,7 +2263,8 @@ children?: string | undefined;
|
|
|
2287
2263
|
label?: string | ((data: TreeNodeData, node: default_2) => string) | undefined;
|
|
2288
2264
|
disabled?: string | ((data: TreeNodeData, node: default_2) => boolean) | undefined;
|
|
2289
2265
|
isLeaf?: string | ((data: TreeNodeData, node: default_2) => boolean) | undefined;
|
|
2290
|
-
class
|
|
2266
|
+
class
|
|
2267
|
+
/** @type { typeof __VLS_ctx.layerTabRef } */ ?: ((data: TreeNodeData, node: default_2) => string | {
|
|
2291
2268
|
[key: string]: boolean;
|
|
2292
2269
|
}) | undefined;
|
|
2293
2270
|
};
|
|
@@ -3925,7 +3902,8 @@ children?: string | undefined;
|
|
|
3925
3902
|
label?: string | ((data: TreeNodeData, node: default_2) => string) | undefined;
|
|
3926
3903
|
disabled?: string | ((data: TreeNodeData, node: default_2) => boolean) | undefined;
|
|
3927
3904
|
isLeaf?: string | ((data: TreeNodeData, node: default_2) => boolean) | undefined;
|
|
3928
|
-
class
|
|
3905
|
+
class
|
|
3906
|
+
/** @type { typeof __VLS_ctx.layerTabRef } */ ?: ((data: TreeNodeData, node: default_2) => string | {
|
|
3929
3907
|
[key: string]: boolean;
|
|
3930
3908
|
}) | undefined;
|
|
3931
3909
|
};
|