[maps] fix RegionMap chart type does not work with reporting#153492
[maps] fix RegionMap chart type does not work with reporting#153492nreese merged 10 commits intoelastic:mainfrom
Conversation
|
|
||
| // Maplibre does not provide any feedback when rendering is complete. | ||
| // Workaround is hard-coded timeout period. | ||
| export const RENDER_TIMEOUT = 1000; |
There was a problem hiding this comment.
Reduced timeout from 5 seconds to 1 seconds because when timeout was first added, EMS basemap layers did not have great loading status. Now they do so this timeout seemed excessive.
|
|
||
| if (this.props.onInitialRenderComplete) { | ||
| this._mapEmbeddable | ||
| .getOnRenderComplete$() |
There was a problem hiding this comment.
Replaced setOnInitialRenderComplete with getOnRenderComplete$ to provide a single solution that will work when maps is embeddabed in another embeddable (lens, legacy visualization tilemap, and legacy visualization regionmap).
|
Pinging @elastic/kibana-presentation (Team:Presentation) |
|
@elasticmachine merge upstream |
nickpeihl
left a comment
There was a problem hiding this comment.
lgtm!
code review and tested reporting with region map embeddable
| const title = input.hidePanelTitles ? '' : input.title ?? savedMapTitle; | ||
| const savedObjectId = 'savedObjectId' in input ? input.savedObjectId : undefined; | ||
| this.updateOutput({ | ||
| ...this.getOutput(), |
|
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
Fixes #153430