Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Get region from autocomplete result #67

Open
hassansardarbangash opened this issue Mar 26, 2020 · 0 comments
Open

Get region from autocomplete result #67

hassansardarbangash opened this issue Mar 26, 2020 · 0 comments

Comments

@hassansardarbangash
Copy link

How can I get region from the selected result from autocomplete?

From the result I am getting, there is 3rd object named region but actually it is department not region.

Here is the example address:

54b route de brie, 91800 Brunoy, France

Mapbox is giving me: Essonne // Its department not region

But actually its: Ile-de-France

How do I get the correct region?

Here is my working demo:

https://jsfiddle.net/rv085oL1/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant