@ray-js/robot-map-sdk 0.0.3-beta-47 → 0.0.3-beta-48
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/constant/methods.js +1 -1
- package/dist/index.d.ts +178 -2
- package/dist/index.rjs.js +1 -1
- package/dist-app/assets/{index-VwsIvmhe.js → index-CEcWH0u1.js} +1 -1
- package/dist-app/index.html +1 -1
- package/dist-docs/404.html +2 -2
- package/dist-docs/assets/{app.CAcoFY26.js → app.CVw_yIwi.js} +1 -1
- package/dist-docs/assets/chunks/@localSearchIndexroot.DjxfmlX5.js +1 -0
- package/dist-docs/assets/chunks/{VPLocalSearchBox.UD2QNEXA.js → VPLocalSearchBox.CZ0OWFmB.js} +1 -1
- package/dist-docs/assets/chunks/{theme.BcL9rPww.js → theme.DXGZ88M3.js} +2 -2
- package/dist-docs/assets/{guide_advanced-usage.md.Op4RP3gd.js → guide_advanced-usage.md.Bt5ROSu8.js} +43 -3
- package/dist-docs/assets/{guide_advanced-usage.md.Op4RP3gd.lean.js → guide_advanced-usage.md.Bt5ROSu8.lean.js} +1 -1
- package/dist-docs/assets/{guide_getting-started.md.BHgQcxq8.js → guide_getting-started.md.1lsSKoUd.js} +1 -1
- package/dist-docs/assets/{reference_callbacks.md.-S6uhkXO.js → reference_callbacks.md.DgCt5RdP.js} +2 -2
- package/dist-docs/assets/{reference_callbacks.md.-S6uhkXO.lean.js → reference_callbacks.md.DgCt5RdP.lean.js} +1 -1
- package/dist-docs/assets/{reference_config.md.BCRDz_cF.js → reference_config.md.DXceIM-V.js} +2 -2
- package/dist-docs/assets/reference_config.md.DXceIM-V.lean.js +1 -0
- package/dist-docs/assets/{reference_data.md.B8JfrRhl.js → reference_data.md.DciSLVC8.js} +10 -3
- package/dist-docs/assets/{reference_data.md.B8JfrRhl.lean.js → reference_data.md.DciSLVC8.lean.js} +1 -1
- package/dist-docs/assets/{reference_methods.md.CO0IvYMn.js → reference_methods.md.DxIWUIJ-.js} +3 -3
- package/dist-docs/assets/{reference_methods.md.CO0IvYMn.lean.js → reference_methods.md.DxIWUIJ-.lean.js} +1 -1
- package/dist-docs/assets/reference_runtime.md.BA81waFW.js +19 -0
- package/dist-docs/assets/{reference_runtime.md.BMm5Nj3U.lean.js → reference_runtime.md.BA81waFW.lean.js} +1 -1
- package/dist-docs/assets/{reference_types.md.DkIhhJD0.js → reference_types.md.4zpYEKU_.js} +7 -2
- package/dist-docs/assets/{reference_types.md.DkIhhJD0.lean.js → reference_types.md.4zpYEKU_.lean.js} +1 -1
- package/dist-docs/guide/advanced-usage.html +46 -6
- package/dist-docs/guide/concepts.html +3 -3
- package/dist-docs/guide/getting-started.html +5 -5
- package/dist-docs/hashmap.json +1 -1
- package/dist-docs/index.html +3 -3
- package/dist-docs/reference/callbacks.html +5 -5
- package/dist-docs/reference/config.html +5 -5
- package/dist-docs/reference/data.html +13 -6
- package/dist-docs/reference/methods.html +6 -6
- package/dist-docs/reference/runtime.html +5 -5
- package/dist-docs/reference/types.html +10 -5
- package/dist-docs/reference/utils.html +3 -3
- package/package.json +1 -1
- package/dist-docs/assets/chunks/@localSearchIndexroot.BVVyfLDa.js +0 -1
- package/dist-docs/assets/reference_config.md.BCRDz_cF.lean.js +0 -1
- package/dist-docs/assets/reference_runtime.md.BMm5Nj3U.js +0 -19
- /package/dist-docs/assets/{guide_getting-started.md.BHgQcxq8.lean.js → guide_getting-started.md.1lsSKoUd.lean.js} +0 -0
package/dist/constant/methods.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=["areRoomsAdjacent","getForbiddenSweepZones","getForbiddenMopZones","getCleanZones","getVirtualWalls","getSpots","getViewportCenterPoint","getMapCenterPoint","getWallPointsByViewportCenter","getForbiddenSweepZonePointsByViewportCenter","getForbiddenMopZonePointsByViewportCenter","getCleanZonePointsByViewportCenter","getSpotPointByViewportCenter","getEffectiveDividerPoints","getDividerEndPoints","isNearChargerOrRobot","isPointInAnyRoom","resetPanZoom","snapshot","snapshotByData"],o=["onMapFirstDrawed","onMapDrawed","onPathDrawed","onRoomPropertiesDrawed","onClickRoom","onClickRoomProperties","onRemoveForbiddenSweepZone","onRemoveForbiddenMopZone","onRemoveCleanZone","onRemoveVirtualWall","onUpdateForbiddenSweepZone","onUpdateForbiddenMopZone","onUpdateCleanZone","onUpdateVirtualWall","onUpdateSpot","onUpdateDivider","onClickForbiddenSweepZone","onClickForbiddenMopZone","onClickCleanZone","onClickVirtualWall","onClickSpot","onClickDetectedObject","onClickCustomElement"];export{e as MAP_API_METHODS,o as MAP_CALLBACK_METHODS};
|
|
1
|
+
const e=["areRoomsAdjacent","getForbiddenSweepZones","getForbiddenMopZones","getCleanZones","getVirtualWalls","getSpots","getWayPoints","getViewportCenterPoint","getMapCenterPoint","getWallPointsByViewportCenter","getForbiddenSweepZonePointsByViewportCenter","getForbiddenMopZonePointsByViewportCenter","getCleanZonePointsByViewportCenter","getSpotPointByViewportCenter","getEffectiveDividerPoints","getDividerEndPoints","isNearChargerOrRobot","isPointInAnyRoom","resetPanZoom","snapshot","snapshotByData"],o=["onMapFirstDrawed","onMapDrawed","onPathDrawed","onRoomPropertiesDrawed","onClickRoom","onClickRoomProperties","onRemoveForbiddenSweepZone","onRemoveForbiddenMopZone","onRemoveCleanZone","onRemoveVirtualWall","onUpdateForbiddenSweepZone","onUpdateForbiddenMopZone","onUpdateCleanZone","onUpdateVirtualWall","onUpdateSpot","onUpdateWayPoint","onUpdateDivider","onClickForbiddenSweepZone","onClickForbiddenMopZone","onClickCleanZone","onClickVirtualWall","onClickSpot","onClickWayPoint","onClickDetectedObject","onClickCustomElement","onClickMap"];export{e as MAP_API_METHODS,o as MAP_CALLBACK_METHODS};
|
package/dist/index.d.ts
CHANGED
|
@@ -649,6 +649,8 @@ export declare type ControlsConfig = {
|
|
|
649
649
|
textFontFamily: string
|
|
650
650
|
/** 文本字体粗细 */
|
|
651
651
|
textFontWeight: TextStyleFontWeight
|
|
652
|
+
/** 单位 */
|
|
653
|
+
unit: MeasurementUnit
|
|
652
654
|
/** 单位标签 */
|
|
653
655
|
unitLabel: string
|
|
654
656
|
/** 禁扫区域配置 */
|
|
@@ -661,6 +663,7 @@ export declare type ControlsConfig = {
|
|
|
661
663
|
virtualWall: VirtualWallConfig
|
|
662
664
|
/** 定点清扫配置 */
|
|
663
665
|
spot: SpotConfig
|
|
666
|
+
wayPoint: WayPointConfig
|
|
664
667
|
}
|
|
665
668
|
|
|
666
669
|
declare class ControlsManager {
|
|
@@ -669,6 +672,7 @@ declare class ControlsManager {
|
|
|
669
672
|
private cleanZoneMap;
|
|
670
673
|
private virtualWallMap;
|
|
671
674
|
private spotMap;
|
|
675
|
+
private wayPointMap;
|
|
672
676
|
private divider;
|
|
673
677
|
private unsubscribeFns;
|
|
674
678
|
constructor();
|
|
@@ -804,6 +808,43 @@ declare class ControlsManager {
|
|
|
804
808
|
* 比较两个定点清扫数据是否相等
|
|
805
809
|
*/
|
|
806
810
|
private isSpotDataEqual;
|
|
811
|
+
/**
|
|
812
|
+
* 绘制途径点
|
|
813
|
+
* @param wayPoints 途径点数组
|
|
814
|
+
*/
|
|
815
|
+
drawWayPoints(wayPoints: WayPointParam[]): void;
|
|
816
|
+
/**
|
|
817
|
+
* 清除所有途径点
|
|
818
|
+
*/
|
|
819
|
+
clearAllWayPoints(): void;
|
|
820
|
+
/**
|
|
821
|
+
* 获取所有途径点数据
|
|
822
|
+
*/
|
|
823
|
+
getWayPoints(): WayPointParam[];
|
|
824
|
+
/**
|
|
825
|
+
* 添加新途径点到 LAYER_CONTROLS
|
|
826
|
+
*/
|
|
827
|
+
private addNewWayPoint;
|
|
828
|
+
/**
|
|
829
|
+
* 移除途径点
|
|
830
|
+
*/
|
|
831
|
+
private removeWayPoint;
|
|
832
|
+
/**
|
|
833
|
+
* 获取途径点数据
|
|
834
|
+
*/
|
|
835
|
+
private getWayPointsData;
|
|
836
|
+
/**
|
|
837
|
+
* 清除所有途径点
|
|
838
|
+
*/
|
|
839
|
+
private clearAllWayPointsInternal;
|
|
840
|
+
/**
|
|
841
|
+
* 更新途径点编辑状态
|
|
842
|
+
*/
|
|
843
|
+
private updateWayPointsEditState;
|
|
844
|
+
/**
|
|
845
|
+
* 比较两个途径点数据是否相等
|
|
846
|
+
*/
|
|
847
|
+
private isWayPointDataEqual;
|
|
807
848
|
/**
|
|
808
849
|
* 处理分割房间ID变化
|
|
809
850
|
*/
|
|
@@ -1422,6 +1463,11 @@ declare class Interaction extends Container {
|
|
|
1422
1463
|
lastTapPosition: Point | null;
|
|
1423
1464
|
tapDistanceThreshold: number;
|
|
1424
1465
|
tapDetectionEnabled: boolean;
|
|
1466
|
+
private mapClickStartPosition;
|
|
1467
|
+
private mapClickStartTime;
|
|
1468
|
+
private readonly mapClickTimeThreshold;
|
|
1469
|
+
private readonly mapClickMoveThreshold;
|
|
1470
|
+
private shouldSuppressMapClick;
|
|
1425
1471
|
private isGestureHijacked;
|
|
1426
1472
|
private hijackedPointerId;
|
|
1427
1473
|
private isHijackPaused;
|
|
@@ -1429,6 +1475,7 @@ declare class Interaction extends Container {
|
|
|
1429
1475
|
private viewportBounds;
|
|
1430
1476
|
private boundResetAnimation;
|
|
1431
1477
|
private debouncedStopWheelRender;
|
|
1478
|
+
private debouncedLogWheelScale;
|
|
1432
1479
|
private interactionState;
|
|
1433
1480
|
private throttledAntiScale;
|
|
1434
1481
|
constructor();
|
|
@@ -1469,6 +1516,10 @@ declare class Interaction extends Container {
|
|
|
1469
1516
|
* 销毁时清理事件监听
|
|
1470
1517
|
*/
|
|
1471
1518
|
destroy(): void;
|
|
1519
|
+
/**
|
|
1520
|
+
* 处理抑制地图点击事件
|
|
1521
|
+
*/
|
|
1522
|
+
private handleSuppressMapClick;
|
|
1472
1523
|
/**
|
|
1473
1524
|
* 处理手势劫持
|
|
1474
1525
|
*/
|
|
@@ -1491,6 +1542,7 @@ declare class Interaction extends Container {
|
|
|
1491
1542
|
private onPointerDown;
|
|
1492
1543
|
private onPointerUp;
|
|
1493
1544
|
private detectDoubleTap;
|
|
1545
|
+
private detectMapClick;
|
|
1494
1546
|
private handleDoubleTap;
|
|
1495
1547
|
private onPointerMove;
|
|
1496
1548
|
private applyPan;
|
|
@@ -1513,9 +1565,9 @@ declare type Managers = {
|
|
|
1513
1565
|
roomsManager: RoomManager;
|
|
1514
1566
|
};
|
|
1515
1567
|
|
|
1516
|
-
export declare const MAP_API_METHODS: readonly ["areRoomsAdjacent", "getForbiddenSweepZones", "getForbiddenMopZones", "getCleanZones", "getVirtualWalls", "getSpots", "getViewportCenterPoint", "getMapCenterPoint", "getWallPointsByViewportCenter", "getForbiddenSweepZonePointsByViewportCenter", "getForbiddenMopZonePointsByViewportCenter", "getCleanZonePointsByViewportCenter", "getSpotPointByViewportCenter", "getEffectiveDividerPoints", "getDividerEndPoints", "isNearChargerOrRobot", "isPointInAnyRoom", "resetPanZoom", "snapshot", "snapshotByData"];
|
|
1568
|
+
export declare const MAP_API_METHODS: readonly ["areRoomsAdjacent", "getForbiddenSweepZones", "getForbiddenMopZones", "getCleanZones", "getVirtualWalls", "getSpots", "getWayPoints", "getViewportCenterPoint", "getMapCenterPoint", "getWallPointsByViewportCenter", "getForbiddenSweepZonePointsByViewportCenter", "getForbiddenMopZonePointsByViewportCenter", "getCleanZonePointsByViewportCenter", "getSpotPointByViewportCenter", "getEffectiveDividerPoints", "getDividerEndPoints", "isNearChargerOrRobot", "isPointInAnyRoom", "resetPanZoom", "snapshot", "snapshotByData"];
|
|
1517
1569
|
|
|
1518
|
-
export declare const MAP_CALLBACK_METHODS: readonly ["onMapFirstDrawed", "onMapDrawed", "onPathDrawed", "onRoomPropertiesDrawed", "onClickRoom", "onClickRoomProperties", "onRemoveForbiddenSweepZone", "onRemoveForbiddenMopZone", "onRemoveCleanZone", "onRemoveVirtualWall", "onUpdateForbiddenSweepZone", "onUpdateForbiddenMopZone", "onUpdateCleanZone", "onUpdateVirtualWall", "onUpdateSpot", "onUpdateDivider", "onClickForbiddenSweepZone", "onClickForbiddenMopZone", "onClickCleanZone", "onClickVirtualWall", "onClickSpot", "onClickDetectedObject", "onClickCustomElement"];
|
|
1570
|
+
export declare const MAP_CALLBACK_METHODS: readonly ["onMapFirstDrawed", "onMapDrawed", "onPathDrawed", "onRoomPropertiesDrawed", "onClickRoom", "onClickRoomProperties", "onRemoveForbiddenSweepZone", "onRemoveForbiddenMopZone", "onRemoveCleanZone", "onRemoveVirtualWall", "onUpdateForbiddenSweepZone", "onUpdateForbiddenMopZone", "onUpdateCleanZone", "onUpdateVirtualWall", "onUpdateSpot", "onUpdateWayPoint", "onUpdateDivider", "onClickForbiddenSweepZone", "onClickForbiddenMopZone", "onClickCleanZone", "onClickVirtualWall", "onClickSpot", "onClickWayPoint", "onClickDetectedObject", "onClickCustomElement", "onClickMap"];
|
|
1519
1571
|
|
|
1520
1572
|
/**
|
|
1521
1573
|
* 地图 API 接口定义
|
|
@@ -1862,6 +1914,11 @@ declare class MapApplication extends Application implements MapApi {
|
|
|
1862
1914
|
* @param spots - 定点清扫参数数组
|
|
1863
1915
|
*/
|
|
1864
1916
|
drawSpots(spots: SpotParam[]): void;
|
|
1917
|
+
/**
|
|
1918
|
+
* 绘制途径点
|
|
1919
|
+
* @param wayPoints - 途径点参数数组
|
|
1920
|
+
*/
|
|
1921
|
+
drawWayPoints(wayPoints: WayPointParam[]): void;
|
|
1865
1922
|
/**
|
|
1866
1923
|
* 绘制检测到的物体
|
|
1867
1924
|
* @param objects - 检测物体参数数组
|
|
@@ -1902,6 +1959,12 @@ declare class MapApplication extends Application implements MapApi {
|
|
|
1902
1959
|
* @returns 定点清扫数据数组
|
|
1903
1960
|
*/
|
|
1904
1961
|
getSpots(): SpotParam[];
|
|
1962
|
+
/**
|
|
1963
|
+
* 获取当前地图上所有途径点数据
|
|
1964
|
+
*
|
|
1965
|
+
* @returns 途径点数据数组
|
|
1966
|
+
*/
|
|
1967
|
+
getWayPoints(): WayPointParam[];
|
|
1905
1968
|
/**
|
|
1906
1969
|
* 获取分割线有效端点
|
|
1907
1970
|
* @returns 分割线有效端点
|
|
@@ -2341,6 +2404,24 @@ export declare interface MapCallbacks {
|
|
|
2341
2404
|
*
|
|
2342
2405
|
*/
|
|
2343
2406
|
onUpdateSpot?: (spot: SpotParam) => void;
|
|
2407
|
+
/**
|
|
2408
|
+
* 更新途径点的回调
|
|
2409
|
+
*
|
|
2410
|
+
* 当用户操作途径点位置后触发。
|
|
2411
|
+
*
|
|
2412
|
+
* @param wayPoint - 更新后的途径点数据
|
|
2413
|
+
*
|
|
2414
|
+
*/
|
|
2415
|
+
onUpdateWayPoint?: (wayPoint: WayPointParam) => void;
|
|
2416
|
+
/**
|
|
2417
|
+
* 点击途径点的回调
|
|
2418
|
+
*
|
|
2419
|
+
* 当用户点击途径点时触发。
|
|
2420
|
+
*
|
|
2421
|
+
* @param wayPoint - 被点击的途径点数据
|
|
2422
|
+
*
|
|
2423
|
+
*/
|
|
2424
|
+
onClickWayPoint?: (wayPoint: WayPointParam) => void;
|
|
2344
2425
|
/**
|
|
2345
2426
|
* 点击禁扫区域回调
|
|
2346
2427
|
*
|
|
@@ -2413,6 +2494,16 @@ export declare interface MapCallbacks {
|
|
|
2413
2494
|
*
|
|
2414
2495
|
*/
|
|
2415
2496
|
onUpdateDivider?: (divider: Point[]) => void;
|
|
2497
|
+
/**
|
|
2498
|
+
* 地图点击回调
|
|
2499
|
+
*
|
|
2500
|
+
* 当启用地图点击捕获(enableMapClickCapture)后,用户点击地图时触发。
|
|
2501
|
+
* 返回点击位置的地图坐标(基于原点坐标系)。
|
|
2502
|
+
*
|
|
2503
|
+
* @param point - 点击位置的地图坐标
|
|
2504
|
+
*
|
|
2505
|
+
*/
|
|
2506
|
+
onClickMap?: (point: Point) => void;
|
|
2416
2507
|
}
|
|
2417
2508
|
|
|
2418
2509
|
/**
|
|
@@ -2608,6 +2699,9 @@ export declare type MapState = {
|
|
|
2608
2699
|
*/
|
|
2609
2700
|
export declare type MapType = 'structured' | 'raster'
|
|
2610
2701
|
|
|
2702
|
+
/** 测量单位 */
|
|
2703
|
+
export declare type MeasurementUnit = 'meter' | 'feet' | 'centimeter'
|
|
2704
|
+
|
|
2611
2705
|
declare class Obstacle extends Graphics {
|
|
2612
2706
|
constructor();
|
|
2613
2707
|
/**
|
|
@@ -3265,6 +3359,10 @@ export declare type RuntimeConfig = {
|
|
|
3265
3359
|
editingVirtualWallIds: string[]
|
|
3266
3360
|
/** 正在编辑的定点清扫ID列表 */
|
|
3267
3361
|
editingSpotIds: string[]
|
|
3362
|
+
/** 正在编辑的途径点ID列表 */
|
|
3363
|
+
editingWayPointIds: string[]
|
|
3364
|
+
/** 启用地图点击坐标捕获 */
|
|
3365
|
+
enableMapClickCapture: boolean
|
|
3268
3366
|
/** 地图旋转角度(度) */
|
|
3269
3367
|
mapRotation: number
|
|
3270
3368
|
/** 房间属性折叠的房间ID列表 */
|
|
@@ -3375,6 +3473,8 @@ export declare type SpotConfig = {
|
|
|
3375
3473
|
strokeWidth: number
|
|
3376
3474
|
/** 填充颜色 */
|
|
3377
3475
|
fillColor: ColorSource
|
|
3476
|
+
/** 是否显示文本 */
|
|
3477
|
+
showText: boolean
|
|
3378
3478
|
/** 文本颜色 */
|
|
3379
3479
|
textColor: ColorSource
|
|
3380
3480
|
/** 文本位置 */
|
|
@@ -3388,6 +3488,8 @@ export declare type SpotConfig = {
|
|
|
3388
3488
|
isDashed: boolean
|
|
3389
3489
|
/** 虚线数组 */
|
|
3390
3490
|
dashArray: [number, number]
|
|
3491
|
+
/** 是否显示图标 */
|
|
3492
|
+
showIcon: boolean
|
|
3391
3493
|
}
|
|
3392
3494
|
/** 普通模式样式 */
|
|
3393
3495
|
normal: {
|
|
@@ -3395,6 +3497,8 @@ export declare type SpotConfig = {
|
|
|
3395
3497
|
isDashed: boolean
|
|
3396
3498
|
/** 虚线数组 */
|
|
3397
3499
|
dashArray: [number, number]
|
|
3500
|
+
/** 是否显示图标 */
|
|
3501
|
+
showIcon: boolean
|
|
3398
3502
|
}
|
|
3399
3503
|
}
|
|
3400
3504
|
|
|
@@ -3499,6 +3603,78 @@ export declare type VirtualWallParam = {
|
|
|
3499
3603
|
points: Point[]
|
|
3500
3604
|
}
|
|
3501
3605
|
|
|
3606
|
+
/** 途径点配置 */
|
|
3607
|
+
export declare type WayPointConfig = {
|
|
3608
|
+
/** 是否显示序号 */
|
|
3609
|
+
showOrder: boolean
|
|
3610
|
+
/** 编辑模式样式 */
|
|
3611
|
+
editing: {
|
|
3612
|
+
/** 图标资源路径 */
|
|
3613
|
+
iconSrc: string
|
|
3614
|
+
/** 图标大小 */
|
|
3615
|
+
iconSize: number
|
|
3616
|
+
/** 序号文本样式 */
|
|
3617
|
+
orderText: {
|
|
3618
|
+
/** 字体大小 */
|
|
3619
|
+
fontSize: number
|
|
3620
|
+
/** 字体名称 */
|
|
3621
|
+
fontFamily: string
|
|
3622
|
+
/** 字体粗细 */
|
|
3623
|
+
fontWeight: TextStyleFontWeight
|
|
3624
|
+
/** 字体颜色 */
|
|
3625
|
+
color: ColorSource
|
|
3626
|
+
}
|
|
3627
|
+
/** 序号容器样式 */
|
|
3628
|
+
orderContainer: {
|
|
3629
|
+
/** 容器大小(圆形直径) */
|
|
3630
|
+
size: number
|
|
3631
|
+
/** 背景颜色 */
|
|
3632
|
+
backgroundColor: ColorSource
|
|
3633
|
+
/** 垂直偏移量 */
|
|
3634
|
+
offsetY: number
|
|
3635
|
+
/** 水平偏移量 */
|
|
3636
|
+
offsetX: number
|
|
3637
|
+
}
|
|
3638
|
+
}
|
|
3639
|
+
/** 普通模式样式 */
|
|
3640
|
+
normal: {
|
|
3641
|
+
/** 图标资源路径 */
|
|
3642
|
+
iconSrc: string
|
|
3643
|
+
/** 图标大小 */
|
|
3644
|
+
iconSize: number
|
|
3645
|
+
/** 序号文本样式 */
|
|
3646
|
+
orderText: {
|
|
3647
|
+
/** 字体大小 */
|
|
3648
|
+
fontSize: number
|
|
3649
|
+
/** 字体名称 */
|
|
3650
|
+
fontFamily: string
|
|
3651
|
+
/** 字体粗细 */
|
|
3652
|
+
fontWeight: TextStyleFontWeight
|
|
3653
|
+
/** 字体颜色 */
|
|
3654
|
+
color: ColorSource
|
|
3655
|
+
}
|
|
3656
|
+
/** 序号容器样式 */
|
|
3657
|
+
orderContainer: {
|
|
3658
|
+
/** 容器大小(圆形直径) */
|
|
3659
|
+
size: number
|
|
3660
|
+
/** 背景颜色 */
|
|
3661
|
+
backgroundColor: ColorSource
|
|
3662
|
+
/** 垂直偏移量 */
|
|
3663
|
+
offsetY: number
|
|
3664
|
+
/** 水平偏移量 */
|
|
3665
|
+
offsetX: number
|
|
3666
|
+
}
|
|
3667
|
+
}
|
|
3668
|
+
}
|
|
3669
|
+
|
|
3670
|
+
/** 途径点参数 */
|
|
3671
|
+
export declare type WayPointParam = {
|
|
3672
|
+
/** 途径点ID */
|
|
3673
|
+
id: string
|
|
3674
|
+
/** 点坐标 */
|
|
3675
|
+
point: Point
|
|
3676
|
+
}
|
|
3677
|
+
|
|
3502
3678
|
/** 区域配置 */
|
|
3503
3679
|
export declare type ZoneConfig = {
|
|
3504
3680
|
/** 最小尺寸 (米) */
|