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

Is geocode_bounding_box used? #233

Open
BenSturmfels opened this issue Oct 26, 2023 · 0 comments
Open

Is geocode_bounding_box used? #233

BenSturmfels opened this issue Oct 26, 2023 · 0 comments

Comments

@BenSturmfels
Copy link
Contributor

With map.geocode_bounding_box set in the config.yml, I can't seem to see this restriction being passed through in the Mapbox forward or reverse geocoding HTTP requests.

Here's the config:

map:
  geolocation_enabled: true
  geolocation_onload: false

  geocoding_enabled: true
  geocoding_engine: 'Mapbox'
  geocode_field_label: _(Enter an address...)
  geocode_bounding_box: [ 140.7688367367,-37.6436829446,153.8689976931,-28.0833334934 ]

Forward:
https://api.mapbox.com/geocoding/v5/mapbox.places/london.json?proximity=147.36111%2C-32.61418&access_token=xxx

Reverse:
https://api.mapbox.com/geocoding/v5/mapbox.places/148.25522602515545,-32.04080138010957.json?access_token=xxx

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

No branches or pull requests

1 participant