-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Remove injected vars from maps legacy #69744
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
Remove injected vars from maps legacy #69744
Conversation
… functions through contract
…ars-from-maps-legacy
|
Pinging @elastic/kibana-gis (Team:Geo) |
|
@elasticmachine merge upstream |
flash1293
left a comment
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.
Kibana app changes LGTM, code review only
|
@elasticmachine merge upstream |
thomasneirynck
left a comment
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 SucceededBuild metrics@kbn/optimizer bundle module count
History
To update your PR or re-run it, just comment with: |
This bug exists on master as well so not related to this PR. Issue created: #70374 |
thomasneirynck
left a comment
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.
thx for double checking, and logging issue. +1

Resolves #69372.
This PR:
getInjectedVarusage frommaps_legacy. It was previously used for two reasons: to get the kibana version and to access theemsTileLayerId. Both of these are obtained via theinitializerContextnow.maps_legacypluginsetupcontract. This was necessary in order for theinitializerContextvalues to populate correctly. It's also ideally how we want to do this and works fine since the changes made in how leaflet is imported were made for Migrate Coordinate Maps to NP #64668