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

Manually center geocoding result #826

Merged
merged 3 commits into from
Feb 8, 2024
Merged

Manually center geocoding result #826

merged 3 commits into from
Feb 8, 2024

Conversation

hanbyul-here
Copy link
Collaborator

@hanbyul-here hanbyul-here commented Feb 7, 2024

Close #813

It seems to be a known bug : mapbox/mapbox-gl-js#12565

I put a manual workaround to center the map with the result from the geocoder for now. But hopefully, we can get rid of this workaround soon with Mapbox resolving the issue.

(Sorry for confusing branch name, I thought bumping Mapbox would resolve the issue at first, but it seems not all the fixes have made it to production yet.)

Copy link

netlify bot commented Feb 7, 2024

Deploy Preview for veda-ui ready!

Name Link
🔨 Latest commit c0a9486
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui/deploys/65c3d84afdb84d000946f290
😎 Deploy Preview https://deploy-preview-826--veda-ui.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 site configuration.

@hanbyul-here hanbyul-here changed the title Bump Mapbox Manually center geocoding result Feb 7, 2024
Copy link
Contributor

@j08lue j08lue left a comment

Choose a reason for hiding this comment

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

That seems to fix the issue. I tested location search with various non-Mercator projections and if faithfully took me the right places. 🚀

Copy link
Collaborator

@sandrahoang686 sandrahoang686 left a comment

Choose a reason for hiding this comment

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

lgtm

@hanbyul-here hanbyul-here merged commit c25b4c2 into main Feb 8, 2024
8 checks passed
@hanbyul-here hanbyul-here deleted the 813-bump-mapbox branch February 8, 2024 18:22
sandrahoang686 added a commit that referenced this pull request Feb 13, 2024
https://github.com/NASA-IMPACT/veda-ui/releases/tag/v4.1.0

## 🎉 Features
- Experimental CMR Layer:
#805

## 🚀 Improvements
- Style 
- Documentation
- Rename critical error page:
#806
- Add back button on Exploration page:
#779
- Add ts, lint check for precommit hooks:
#788,
#809
- "skip to main" button for navigation:
#808

## 🐛 Fixes
- Return datasets even when there is a dataset without summaries:
#786
- Show all the datasets on Data Catalog page:
#837
- Block Map user defined position fix:
#784
- Geocoder centering on various projecctions:
#826
hanbyul-here added a commit that referenced this pull request Mar 25, 2024
## 🎉 Features
- Optional media attributes for layers:
#843
- Add custom javascript injection
#846
- ADR for V2 Refactor: #875

## 🚀 Improvements
- E&A imporvement. Related tickets
  - Layer select modal: #845
- Connect dataset information on layer:
#821
  - Layer info modal: #849
- Update data layer card:
#851
  - Hidden layers: #867
- Fast follow-ups: #851 ,
#862,
#863,
#860
  - PR template: #880


## 🐛 Fixes
- Return datasets even when there is a dataset without summaries:
#786
- Show all the datasets on Data Catalog page:
#837
- Block Map user defined position fix:
#784
- Geocoder centering on various projecctions:
#826
- Wording, typo: #869
#854,
#874,
- Fix yaxis labeling: #883
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.

Location from search box on Exploration is off
3 participants