bigmap-plugin 1.0.4 → 1.0.5
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 +5 -1
- package/dist/bigmap-plugin.js +648 -633
- package/dist/bigmap-plugin.umd.cjs +9 -9
- package/dist/index.d.ts +33 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1345,7 +1345,7 @@ export declare const logger: {
|
|
|
1345
1345
|
export declare type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'silent';
|
|
1346
1346
|
|
|
1347
1347
|
/** MapView 从 MapConfig 消费的字段清单(单一来源:MapViewProps 类型与组件 config 映射均由此派生) */
|
|
1348
|
-
declare const MAP_VIEW_CONFIG_KEYS: readonly ["containerId", "position", "serverUrl", "accessToken", "libsUrl", "showSearch", "showControls", "showDeleteControls", "showStatus", "tools", "searchDebounceTime", "wmtsUrlProvider", "geoserver", "contourConfig", "lightingConfig"];
|
|
1348
|
+
declare const MAP_VIEW_CONFIG_KEYS: readonly ["containerId", "position", "serverUrl", "accessToken", "libsUrl", "mapId", "terrainId", "baseLayers", "showSearch", "showControls", "showDeleteControls", "showStatus", "tools", "searchDebounceTime", "wmtsUrlProvider", "geoserver", "contourConfig", "lightingConfig"];
|
|
1349
1349
|
|
|
1350
1350
|
/** 地图实例 API(MapContainer/MapView 组件 expose 的完整能力集) */
|
|
1351
1351
|
export declare interface MapApi {
|
|
@@ -1456,6 +1456,11 @@ export declare interface MapConfig {
|
|
|
1456
1456
|
mapId?: string;
|
|
1457
1457
|
/** 地形ID */
|
|
1458
1458
|
terrainId?: string;
|
|
1459
|
+
/**
|
|
1460
|
+
* 底图图层 mapId 列表(按数组顺序自下而上叠加)。
|
|
1461
|
+
* 传入则按传入值加载(配置优先);未传入时回退默认底图(卫星影像 + 街道地名)。
|
|
1462
|
+
*/
|
|
1463
|
+
baseLayers?: string[];
|
|
1459
1464
|
/** 是否显示加载动画 */
|
|
1460
1465
|
showLoading?: boolean;
|
|
1461
1466
|
/** 是否显示顶部搜索组件 */
|
|
@@ -1519,6 +1524,18 @@ libsUrl: {
|
|
|
1519
1524
|
type: PropType<string | undefined>;
|
|
1520
1525
|
default: undefined;
|
|
1521
1526
|
};
|
|
1527
|
+
mapId: {
|
|
1528
|
+
type: PropType<string | undefined>;
|
|
1529
|
+
default: undefined;
|
|
1530
|
+
};
|
|
1531
|
+
terrainId: {
|
|
1532
|
+
type: PropType<string | undefined>;
|
|
1533
|
+
default: undefined;
|
|
1534
|
+
};
|
|
1535
|
+
baseLayers: {
|
|
1536
|
+
type: PropType<string[] | undefined>;
|
|
1537
|
+
default: undefined;
|
|
1538
|
+
};
|
|
1522
1539
|
showSearch: {
|
|
1523
1540
|
type: PropType<boolean | undefined>;
|
|
1524
1541
|
default: undefined;
|
|
@@ -1600,6 +1617,18 @@ libsUrl: {
|
|
|
1600
1617
|
type: PropType<string | undefined>;
|
|
1601
1618
|
default: undefined;
|
|
1602
1619
|
};
|
|
1620
|
+
mapId: {
|
|
1621
|
+
type: PropType<string | undefined>;
|
|
1622
|
+
default: undefined;
|
|
1623
|
+
};
|
|
1624
|
+
terrainId: {
|
|
1625
|
+
type: PropType<string | undefined>;
|
|
1626
|
+
default: undefined;
|
|
1627
|
+
};
|
|
1628
|
+
baseLayers: {
|
|
1629
|
+
type: PropType<string[] | undefined>;
|
|
1630
|
+
default: undefined;
|
|
1631
|
+
};
|
|
1603
1632
|
showSearch: {
|
|
1604
1633
|
type: PropType<boolean | undefined>;
|
|
1605
1634
|
default: undefined;
|
|
@@ -1662,6 +1691,9 @@ containerId: string | undefined;
|
|
|
1662
1691
|
serverUrl: string | undefined;
|
|
1663
1692
|
accessToken: string | undefined;
|
|
1664
1693
|
libsUrl: string | undefined;
|
|
1694
|
+
mapId: string | undefined;
|
|
1695
|
+
terrainId: string | undefined;
|
|
1696
|
+
baseLayers: string[] | undefined;
|
|
1665
1697
|
showSearch: boolean | undefined;
|
|
1666
1698
|
showControls: boolean | undefined;
|
|
1667
1699
|
showDeleteControls: boolean | undefined;
|