index.ts
648 Bytes
import { ConfigType, PackagesCategoryEnum, ChartFrameEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '@/packages/components/Charts/index.d'
import { useWidgetKey } from '@/packages/external/useWidgetKey'
const { key, conKey, chartKey } = useWidgetKey('AddHistoryTimeTrajectoryAmap', true)
export const AddHistoryTimeTrajectoryAmapConfig: ConfigType = {
key,
chartKey,
conKey,
title: '设备历史轨迹',
category: ChatCategoryEnum.MAP,
categoryName: ChatCategoryEnumName.MAP,
package: PackagesCategoryEnum.CHARTS,
chartFrame: ChartFrameEnum.COMMON,
image: 'history_tim_trajectory.png'
}