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
Geomap: Support geojson styling properties #80272
Conversation
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.
Left some formatting suggestions
docs/sources/panels-visualizations/visualizations/geomap/index.md
Outdated
Show resolved
Hide resolved
docs/sources/panels-visualizations/visualizations/geomap/index.md
Outdated
Show resolved
Hide resolved
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.
tested locally and this is looking good!
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.
Tested this out locally and looks good! I'm a bit concerned by the comparisons but beyond that seems fine 😄
Internal note: add this to misc viz improvements for 10.4 |
* Geomap: Support geojson styling properties * Add enum for geojson styles * Move styleStrings outside of style function * Add styling note to geoJSON docs * Clean up geomap docs * Add support for points * Add simple example * Add support for all geojson types and update example * Update colors * Update docs * Remove old TODO * Update geojson name --------- Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
Add support for embedding polygon styles (fill, fill-opacity, stroke-width) within geojson feature properties. Based on community contribution.
Based on this geojson styling spec which conforms to geojson spec, specifically for feature properties.
A geojson with embedded styles has been included as an example.
Closes #76083, #80491, #80274