Skip to content
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

PolygonLayer #330

Merged
merged 14 commits into from
Mar 28, 2024
Merged

PolygonLayer #330

merged 14 commits into from
Mar 28, 2024

Conversation

kylebarron
Copy link
Member

@kylebarron kylebarron commented Jan 26, 2024

It looks like this is now working!

image

This does have the caveat that picking currently only works for polygons and not their associated exteriors. See geoarrow/deck.gl-layers#114

Todo:

  • Use PolygonLayer as the default polygon rendering in viz
  • Render stroke by default in viz.
  • Get input from designers on good default colors for the Polygon exterior
  • Document difference between the two polygon layers
  • Use published @geoarrow/deck.gl-layers beta, instead of local install.

Closes #197, closes #415


Old:

It turns out that there are still some issues on the JS side of the PolygonLayer. I think I had only tested it with Polygon, not MultiPolygon, input, which is why I didn't catch these two.

More info in geoarrow/deck.gl-layers#102

@kylebarron kylebarron changed the title WIP: PolygonLayer PolygonLayer Mar 22, 2024
@kylebarron kylebarron marked this pull request as ready for review March 22, 2024 21:58
@kylebarron
Copy link
Member Author

Example of default colors in viz():

image

@kylebarron kylebarron enabled auto-merge (squash) March 28, 2024 14:46
@kylebarron kylebarron mentioned this pull request Mar 28, 2024
3 tasks
@kylebarron kylebarron merged commit e655269 into main Mar 28, 2024
5 checks passed
@kylebarron kylebarron deleted the kyle/polygon-layer branch March 28, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update viz to render polygon exteriors Add polygon edge colours to non-extruded polygons
1 participant