-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Maps] better style defaults #52420
[Maps] better style defaults #52420
Conversation
Pinging @elastic/kibana-gis (Team:Geo) |
@elasticmachine merge upstream |
Nice looking improvements! They generally make a lot of sense to me
I think Grid Agg looks nice when no border is set, but maybe we should set a default width of at least 1 if someone tries to change the border color. Otherwise nothing appears to happen when the color's modified unless you realize there's no border and set its width first. Alternatively we could grey out the color selection, provide some sort of warning, etc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind renaming these
kibana/x-pack/legacy/plugins/maps/public/layers/styles/vector/vector_style_defaults.js
Lines 17 to 18 in 8895a32
export const DEFAULT_MIN_SIZE = 1; | |
export const DEFAULT_MAX_SIZE = 64; |
to MIN_SIZE
and MAX_SIZE
respectively, since that's what they are, they completely bracket the range.
Agree that we should disable border color style when border width is set to zero. |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💥
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* [Maps] better style defaults * rename consts
fixes #41473
Provides better style defaults
ESGeoGridSource
ESPewPewSource