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 placemarkers component to handle null geometry #269

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

ajolipa
Copy link
Contributor

@ajolipa ajolipa commented Mar 16, 2024

In this PR

Update to PR #265 , but now using the updated PlaceMarkers component. Adds handling to filter out places passed to the component that have null geometry fields and thus run the risk of crashing the component.

Notes

When I tested this last week it seemed that the null geometry was handled somehow by the feature function imported from @turf/turf, but I must have misinterpreted that somehow because now it seems to be throwing a coordinates must be a number error. So hopefully this will fix that issue for real.

@ajolipa ajolipa merged commit 1740b91 into master Mar 18, 2024
@ajolipa ajolipa deleted the RB-null-geometry-fix branch March 18, 2024 13:59
@dleadbetter dleadbetter added the v2.1.0 Issues in v2.1.0 label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2.1.0 Issues in v2.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants