diff --git a/maps_dashboards/public/components/layer_config/layer_basic_settings.tsx b/maps_dashboards/public/components/layer_config/layer_basic_settings.tsx index 7b3553c1..fe8189ae 100644 --- a/maps_dashboards/public/components/layer_config/layer_basic_settings.tsx +++ b/maps_dashboards/public/components/layer_config/layer_basic_settings.tsx @@ -11,6 +11,7 @@ import { EuiFormRow, EuiRange, EuiFormLabel, + EuiTextArea, } from '@elastic/eui'; import { MapLayerSpecification } from '../../model/mapLayerType'; import { @@ -20,6 +21,7 @@ import { MAP_LAYER_DEFAULT_MAX_OPACITY, MAP_LAYER_DEFAULT_OPACITY_STEP, } from '../../../common'; +import { layersTypeNameMap } from '../../model/layersFunctions'; interface Props { selectedLayerConfig: MapLayerSpecification; @@ -39,12 +41,24 @@ export const LayerBasicSettings = ({ selectedLayerConfig, setSelectedLayerConfig setSelectedLayerConfig({ ...selectedLayerConfig, name: String(e.target.value) }); }; + const onDescriptionChange = (e: any) => { + setSelectedLayerConfig({ ...selectedLayerConfig, description: String(e.target.value) }); + }; + return ( + + + - + + + + + +