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, localityetc. 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?
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. validlocation_type
for Mapbox ispoi
,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!