index.ts 649 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('AddRealTimeTrajectoryAmap', true)

export const AddRealTimeTrajectoryAmapConfig: ConfigType = {
  key,
  chartKey,
  conKey,
  title: 'charts.chart.realTimeDevice',
  category: ChatCategoryEnum.MAP,
  categoryName: ChatCategoryEnumName.MAP,
  package: PackagesCategoryEnum.CHARTS,
  chartFrame: ChartFrameEnum.COMMON,
  image: 'real_time_trajectory.png'
}