-
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] initial location map settings #64336
Conversation
Pinging @elastic/kibana-gis (Team:Geo) |
@elasticmachine merge upstream |
@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.
Really cool. Some minor feedback.
x-pack/plugins/maps/public/connected_components/map/mb/get_initial_view.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.tsx
Show resolved
Hide resolved
With #64702 potentially also in 7.8, what are the teams thoughts about adding a fourth option that is "always fit data to bounds". So as you filter down a dashboard, your map updates appropriately. I'm not sure how realistic it is, but I've clearly liked the idea for awhile 😄 #29991 (comment). Generally, feels like a separate PR / Issue |
Also, would you mind adding a snapshot test for the |
@alexfrancoeur I agree we should try #64702 for 7.8, but the auto-fit as a setting, +1 on moving that to a different PR to avoid these two blocking each other. Also, for "auto-fit-to-bounds", it introduces some complexity because we need to figure out some edge-cases (e.g. should it auto-fit if KQL query changes? Should that it auto-fit only on dashboards, or also on Maps app? If users pans/zooms, does that mean they no longer want auto-fit later when they reload/write new query, etc....). But coming soon.. |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
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.
See comment
x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.tsx
Show resolved
Hide resolved
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.
will make users happy!
* [Maps] initial location map settings * fix tslint * add button to set to current view * move button to bottom of form * review feedback Co-authored-by: Elastic Machine <[email protected]>
* [Maps] initial location map settings * fix tslint * add button to set to current view * move button to bottom of form * review feedback Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
And PM's! Yes!! ❤️ |
closes #15022