-
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
Remove injected vars from maps legacy #69744
Remove injected vars from maps legacy #69744
Conversation
… functions through contract
…ars-from-maps-legacy
Pinging @elastic/kibana-gis (Team:Geo) |
@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.
Kibana app changes LGTM, code review only
@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.
💚 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 |
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
Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
Resolves #69372.
This PR:
getInjectedVar
usage frommaps_legacy
. It was previously used for two reasons: to get the kibana version and to access theemsTileLayerId
. Both of these are obtained via theinitializerContext
now.maps_legacy
pluginsetup
contract. This was necessary in order for theinitializerContext
values 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