[Maps] initial location map settings#64336
Conversation
|
Pinging @elastic/kibana-gis (Team:Geo) |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
thomasneirynck
left a comment
There was a problem hiding this comment.
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: |
x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.tsx
Show resolved
Hide resolved
thomasneirynck
left a comment
There was a problem hiding this comment.
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 <elasticmachine@users.noreply.github.com>
* [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 <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
|
And PM's! Yes!! ❤️ |


closes #15022