-
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] symbolize points with maki icons #37822
Conversation
Pinging @elastic/kibana-gis |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
jenkins, test this |
💚 Build Succeeded |
💔 Build Failed |
💚 Build Succeeded |
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.
I receive an error when I attempted to change an existing grid aggregation layer from circle to icon. The error also occurs when changing an existing grid aggregation layer from icon to circle.
Error: Uncaught TypeError: Cannot read property 'queryRadius' of undefined (webpack://%5Bname%5D/./node_modules/mapbox-gl/dist/mapbox-gl.js?:28)
Document layers look great and are very performant!
💔 Build Failed |
💚 Build Succeeded |
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.
lgtm!
tested in Firefox.
x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/symbol_icon.js
Show resolved
Hide resolved
x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/symbol_icon.js
Outdated
Show resolved
Hide resolved
💔 Build Failed |
x-pack/plugins/maps/public/shared/layers/styles/symbol_utils.js
Outdated
Show resolved
Hide resolved
Wow that is a cool feature! lgtm with green CI!
|
💔 Build Failed |
💚 Build Succeeded |
* [Maps] sybmolize points with maki icons * add from for selecting symbol * add from for selecting symbol * get icons working for static colors * static icon sizing * refacto symbol_utils * timing issue * use SDF icons * dynamic iconSize * set icon-anchor * display symbol icon in map legend * add unit tests for VectorIcon * set icon fill based on dark mode * remove unused file * fix jest tests * set icon-opacity * use size style to configure icon-image small or large * fix queryRadius error by just hiding other point layer instead of removing * remove console statement on error * use maki icon size constants * add retry around opening set view popover for flaky test
* [Maps] sybmolize points with maki icons * add from for selecting symbol * add from for selecting symbol * get icons working for static colors * static icon sizing * refacto symbol_utils * timing issue * use SDF icons * dynamic iconSize * set icon-anchor * display symbol icon in map legend * add unit tests for VectorIcon * set icon fill based on dark mode * remove unused file * fix jest tests * set icon-opacity * use size style to configure icon-image small or large * fix queryRadius error by just hiding other point layer instead of removing * remove console statement on error * use maki icon size constants * add retry around opening set view popover for flaky test
fixes #30738
This PR adds maki icons to the Maps application so users can sybmolize points with icons instead of circles. Don't be scared by the line count, 5600 of those are from sprite sheet json definition.