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: autoZoomConfiguration not working properly when the geojson parameter is passed #1167

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

RonaldojCampos
Copy link
Contributor

If I pass the URL to the map, the autoZoomConfiguration works. However, if I pass an object in the GeoJSON, the autoZoomConfiguration doesn’t work. Therefore, I added a key to refresh the component when the values change.
here is the exemple
https://datahub.io/@RonaldojCampos/datahub-cloud-template-2

Copy link

vercel bot commented May 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
portaljs-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 31, 2024 3:03pm
8 Ignored Deployments
Name Status Preview Comments Updated (UTC)
portaljs-alan-turing ⬜️ Ignored (Inspect) May 31, 2024 3:03pm
portaljs-ckan ⬜️ Ignored (Inspect) May 31, 2024 3:03pm
portaljs-ckan-ssg ⬜️ Ignored (Inspect) May 31, 2024 3:03pm
portaljs-fivethirtyeight ⬜️ Ignored (Inspect) May 31, 2024 3:03pm
portaljs-git-example ⬜️ Ignored (Inspect) May 31, 2024 3:03pm
portaljs-learn ⬜️ Ignored (Inspect) May 31, 2024 3:03pm
portaljs-openspending ⬜️ Ignored (Inspect) May 31, 2024 3:03pm
site-portaljs ⬜️ Ignored (Inspect) May 31, 2024 3:03pm

Copy link

changeset-bot bot commented May 31, 2024

⚠️ No Changeset found

Latest commit: feada58

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@anuveyatsu anuveyatsu merged commit 7094ede into main Jun 4, 2024
10 checks passed
@anuveyatsu anuveyatsu deleted the fix/map-geojson branch June 4, 2024 09:06
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.

3 participants