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

Fix bug when loading geojson layers in notebook and update notebook test #305

Merged
merged 5 commits into from
Jan 10, 2025

Conversation

gjmooney
Copy link
Collaborator

@gjmooney gjmooney commented Jan 10, 2025

Description

Fix bug when loading geojson layers in a notebook. Previously only the first feature would be added to the map.

Before:
bugbefore

After:
bugafter

This also updates the notebook test to be more zoomed out so (hopefully) labels on the map don't cause the screenshot tests to fail.

Checklist

  • PR has a descriptive title and content.
  • PR has one of the labels: documentation, bug, enhancement, feature, maintenance
  • Checks are passing.
    Failing lint checks can be resolved with:
    • pre-commit run --all-files
    • jlpm run lint

📚 Documentation preview: https://jupytergis--305.org.readthedocs.build/en/305/
💡 JupyterLite preview is available from the doc, by clicking on lite badge

@gjmooney gjmooney added the bug Something isn't working label Jan 10, 2025
Copy link
Contributor

Binder 👈 Launch a Binder on branch gjmooney/jupytergis/geojson_notebook_fix

@gjmooney gjmooney force-pushed the geojson_notebook_fix branch from 02c6f93 to 28d32da Compare January 10, 2025 12:51
@gjmooney
Copy link
Collaborator Author

please update snapshots

Copy link
Contributor

github-actions bot commented Jan 10, 2025

Integration tests report: appsharing.space

@gjmooney
Copy link
Collaborator Author

please update snapshots

@gjmooney gjmooney force-pushed the geojson_notebook_fix branch from 9372342 to 89bd147 Compare January 10, 2025 15:28
@gjmooney
Copy link
Collaborator Author

please update snapshots

@gjmooney gjmooney closed this Jan 10, 2025
@gjmooney gjmooney reopened this Jan 10, 2025
@gjmooney gjmooney requested a review from martinRenou January 10, 2025 16:16
Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@martinRenou martinRenou merged commit 96cef85 into geojupyter:main Jan 10, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants