Skip to content

Export map search in new format expected by map embed component#561

Merged
camdendotlol merged 3 commits intodevelopfrom
cm/map-embed-fix
Feb 25, 2026
Merged

Export map search in new format expected by map embed component#561
camdendotlol merged 3 commits intodevelopfrom
cm/map-embed-fix

Conversation

@camdendotlol
Copy link
Copy Markdown
Contributor

@camdendotlol camdendotlol commented Feb 24, 2026

Summary

#464 changed the format that Map expects from (as far as I can tell) arbitrary GeoJSON to an object with specific properties.

Pan African Data had an embedded map whose GeoJSON was an array of polygons, which were failing to load in the updated Map. That GeoJSON had been exported from the search view, which prior to this PR was still exporting in the array-based format that Map no longer supports.

For the new export format, I used SaveButton as a guide because it was already transforming the search data into the new format that Map expects. It seems to work by just replacing hits with features and putting the features into an object.

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 24, 2026

Deploy Preview for gbof-c19nyc-staging ready!

Name Link
🔨 Latest commit 08f8fcf
🔍 Latest deploy log https://app.netlify.com/projects/gbof-c19nyc-staging/deploys/699f51c599695800081b1be2
😎 Deploy Preview https://deploy-preview-561--gbof-c19nyc-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 24, 2026

Deploy Preview for juel-ancestry ready!

Name Link
🔨 Latest commit 08f8fcf
🔍 Latest deploy log https://app.netlify.com/projects/juel-ancestry/deploys/699f51c57804f00008181339
😎 Deploy Preview https://deploy-preview-561--juel-ancestry.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 24, 2026

Deploy Preview for pss-scavenger-hunt ready!

Name Link
🔨 Latest commit 08f8fcf
🔍 Latest deploy log https://app.netlify.com/projects/pss-scavenger-hunt/deploys/699f51c590c7770008526a2c
😎 Deploy Preview https://deploy-preview-561--pss-scavenger-hunt.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 24, 2026

Deploy Preview for juel-staging ready!

Name Link
🔨 Latest commit 08f8fcf
🔍 Latest deploy log https://app.netlify.com/projects/juel-staging/deploys/699f51c5444b870008a7a615
😎 Deploy Preview https://deploy-preview-561--juel-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 24, 2026

Deploy Preview for padp-staging ready!

Name Link
🔨 Latest commit 08f8fcf
🔍 Latest deploy log https://app.netlify.com/projects/padp-staging/deploys/699f51c57804f00008181333
😎 Deploy Preview https://deploy-preview-561--padp-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@camdendotlol camdendotlol requested review from ajolipa and blms February 24, 2026 21:47
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 24, 2026

Deploy Preview for universities-studying-slavery ready!

Name Link
🔨 Latest commit 08f8fcf
🔍 Latest deploy log https://app.netlify.com/projects/universities-studying-slavery/deploys/699f51c5d570bc0008623da9
😎 Deploy Preview https://deploy-preview-561--universities-studying-slavery.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 24, 2026

Deploy Preview for juel-life ready!

Name Link
🔨 Latest commit 08f8fcf
🔍 Latest deploy log https://app.netlify.com/projects/juel-life/deploys/699f51c5a41efe000858e37e
😎 Deploy Preview https://deploy-preview-561--juel-life.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 24, 2026

Deploy Preview for libertos ready!

Name Link
🔨 Latest commit 08f8fcf
🔍 Latest deploy log https://app.netlify.com/projects/libertos/deploys/699f51c58c11770008180d74
😎 Deploy Preview https://deploy-preview-561--libertos.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 24, 2026

Deploy Preview for gamepossible ready!

Name Link
🔨 Latest commit 08f8fcf
🔍 Latest deploy log https://app.netlify.com/projects/gamepossible/deploys/699f51c54f248e0008c8e2cf
😎 Deploy Preview https://deploy-preview-561--gamepossible.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 24, 2026

Deploy Preview for registro-project ready!

Name Link
🔨 Latest commit 08f8fcf
🔍 Latest deploy log https://app.netlify.com/projects/registro-project/deploys/699f51c56d416000088d7825
😎 Deploy Preview https://deploy-preview-561--registro-project.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@camdendotlol camdendotlol merged commit ed8211c into develop Feb 25, 2026
40 checks passed
@camdendotlol camdendotlol deleted the cm/map-embed-fix branch February 25, 2026 19:53
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.

2 participants