mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[maps] fix Point to point and Tracks layers label properties not showing in the legend (#122993)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
2f77acc90b
commit
5309868bc9
1 changed files with 7 additions and 6 deletions
|
@ -31,18 +31,19 @@ export const DEFAULT_ICON_SIZE = 6;
|
|||
export const DEFAULT_COLOR_RAMP = NUMERICAL_COLOR_PALETTES[0].value;
|
||||
export const DEFAULT_COLOR_PALETTE = CATEGORICAL_COLOR_PALETTES[0].value;
|
||||
|
||||
export const LINE_STYLES = [VECTOR_STYLES.LINE_COLOR, VECTOR_STYLES.LINE_WIDTH];
|
||||
export const POLYGON_STYLES = [
|
||||
VECTOR_STYLES.FILL_COLOR,
|
||||
VECTOR_STYLES.LINE_COLOR,
|
||||
VECTOR_STYLES.LINE_WIDTH,
|
||||
];
|
||||
export const LABEL_STYLES = [
|
||||
VECTOR_STYLES.LABEL_SIZE,
|
||||
VECTOR_STYLES.LABEL_COLOR,
|
||||
VECTOR_STYLES.LABEL_BORDER_COLOR,
|
||||
VECTOR_STYLES.LABEL_BORDER_SIZE,
|
||||
];
|
||||
export const LINE_STYLES = [VECTOR_STYLES.LINE_COLOR, VECTOR_STYLES.LINE_WIDTH, ...LABEL_STYLES];
|
||||
export const POLYGON_STYLES = [
|
||||
VECTOR_STYLES.FILL_COLOR,
|
||||
VECTOR_STYLES.LINE_COLOR,
|
||||
VECTOR_STYLES.LINE_WIDTH,
|
||||
...LABEL_STYLES,
|
||||
];
|
||||
|
||||
export function getDefaultStaticProperties(
|
||||
mapColors: string[] = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue