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

Same data attributes for different provider in chain providers #1080

Open
sudent opened this issue Sep 13, 2020 · 0 comments
Open

Same data attributes for different provider in chain providers #1080

sudent opened this issue Sep 13, 2020 · 0 comments
Labels

Comments

@sudent
Copy link

sudent commented Sep 13, 2020

Hello,

I'm not sure if anyone have encountered this. If I want to use the chain provider with Mapbox and Google Maps provider to do reverse geocode, I can't specify location_type data attributes with the query because it will mean differently to each provider (ie. valid location_type for Mapbox is poi, place, locality etc. but for Google Maps valid values were eg. ROOFTOP, RANGE_INTERPOLATED etc.

We can call each provider individually to work around this, but I'm wondering if there's built-in handler within the chain provider itself?

Thanks!

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

No branches or pull requests

2 participants