Skip to content

Return data['place_name'] for Geocoder:Result::Mapbox#place_name#1688

Merged
alexreisner merged 2 commits intoalexreisner:masterfrom
skillstopractice:master
Jun 7, 2025
Merged

Return data['place_name'] for Geocoder:Result::Mapbox#place_name#1688
alexreisner merged 2 commits intoalexreisner:masterfrom
skillstopractice:master

Conversation

@practicingdev
Copy link
Copy Markdown
Contributor

@practicingdev practicingdev commented Jun 7, 2025

Fixes #1661

I was not able to easily get the tests up and running but it looks like test/fixtures/mapbox_chicago_il has what is needed to verify the new behavior because it should return "Chicago, Illinois, United States" after this change, wheras before the change it will return "Chicago"

(I was able to get the single test file running but did not run the full suite, but it looks like I was able to get it to go green in all the relevant places)

@alexreisner
Copy link
Copy Markdown
Owner

This looks great, thank you!

@alexreisner alexreisner merged commit eaf85fe into alexreisner:master Jun 7, 2025
5 checks passed
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.

Mapbox returning "text" instead of "place_name" key

2 participants