mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Maps] Improve language for mvt card (#71947)
This reduces ambiguity about the source type.
This commit is contained in:
parent
47a5ab47cf
commit
06355e8bb7
4 changed files with 6 additions and 6 deletions
|
@ -8,7 +8,7 @@ exports[`should not render fields-editor when there is no layername 1`] = `
|
|||
fullWidth={false}
|
||||
hasChildLabel={true}
|
||||
hasEmptyLabelSpace={false}
|
||||
label="Tile layer"
|
||||
label="Source layer"
|
||||
labelType="label"
|
||||
>
|
||||
<EuiFieldText
|
||||
|
@ -64,7 +64,7 @@ exports[`should render with fields 1`] = `
|
|||
fullWidth={false}
|
||||
hasChildLabel={true}
|
||||
hasEmptyLabelSpace={false}
|
||||
label="Tile layer"
|
||||
label="Source layer"
|
||||
labelType="label"
|
||||
>
|
||||
<EuiFieldText
|
||||
|
@ -162,7 +162,7 @@ exports[`should render without fields 1`] = `
|
|||
fullWidth={false}
|
||||
hasChildLabel={true}
|
||||
hasEmptyLabelSpace={false}
|
||||
label="Tile layer"
|
||||
label="Source layer"
|
||||
labelType="label"
|
||||
>
|
||||
<EuiFieldText
|
||||
|
|
|
@ -133,7 +133,7 @@ export class MVTSingleLayerSourceSettings extends Component<Props, State> {
|
|||
label={i18n.translate(
|
||||
'xpack.maps.source.MVTSingleLayerVectorSourceEditor.layerNameMessage',
|
||||
{
|
||||
defaultMessage: 'Tile layer',
|
||||
defaultMessage: 'Source layer',
|
||||
}
|
||||
)}
|
||||
>
|
||||
|
|
|
@ -84,7 +84,7 @@ describe('getImmutableSourceProperties', () => {
|
|||
const source = new MVTSingleLayerVectorSource(descriptor);
|
||||
const properties = await source.getImmutableProperties();
|
||||
expect(properties).toEqual([
|
||||
{ label: 'Data source', value: '.pbf vector tiles' },
|
||||
{ label: 'Data source', value: 'Vector tiles' },
|
||||
{ label: 'Url', value: 'https://example.com/{x}/{y}/{z}.pbf' },
|
||||
]);
|
||||
});
|
||||
|
|
|
@ -32,7 +32,7 @@ import { ITooltipProperty, TooltipProperty } from '../../tooltips/tooltip_proper
|
|||
export const sourceTitle = i18n.translate(
|
||||
'xpack.maps.source.MVTSingleLayerVectorSource.sourceTitle',
|
||||
{
|
||||
defaultMessage: '.pbf vector tiles',
|
||||
defaultMessage: 'Vector tiles',
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue