import React from 'react' import { Row, Col, Checkbox, Select, InputNumber } from 'antd' import { onSectionChange } from './util' import { ISpecConfig } from '../types' import { chartLayerTypeOptions, chartSymbolTypeOptions } from '../../constants' import styles from '../../../Workbench.less' interface ISpecSectionMapProps { spec: ISpecConfig isLegendSection: boolean title: string onChange: (value: string | number, propPath: string | string[]) => void } function SpecSectionMap (props: ISpecSectionMapProps) { const { spec, isLegendSection, title, onChange } = props const { roam, layerType, linesSpeed, symbolType } = spec return (

{title}

移动&缩放 类型 {isLegendSection ? ( 速度 标记 ) : null}
) } export default SpecSectionMap