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] Add ability to invert color ramp and size #143307
Conversation
@elasticmachine merge upstream |
Pinging @elastic/kibana-gis (Team:Geo) |
@elasticmachine merge upstream |
Tested on different layer types and this is so great 🥰 I'm sure our users will welcome it heartily. Would it be possible to also have this available for the heatmap layer? |
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.
great feature! I added a few nits, but overall lgtm!
code review and tested in chrome
Nit: In the conversion from JS to TS, we often have to import types to define props. I'm not certain this is the case, but using import type
(example: import type { DynamicSizeProperty}
) might compile slightly faster since the runtime compiler should ignore type imports.
x-pack/plugins/maps/public/classes/styles/vector/components/legend/marker_size_legend.tsx
Outdated
Show resolved
Hide resolved
...maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx
Outdated
Show resolved
Hide resolved
Yes, but since its a different implementation I was going to split it out into a separate effort. |
@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.
lgtm!
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-presentation (Team:Presentation) |
Fixes #34478
PR allows for inverting styling. PR also converts some styling files to TS.
Lighter shades symbolize larger requests, and darker shades symbolize smaller requests
Larger circle symbolize requests early in the day, smaller circles symbolize requests latter in the day.