mapbox/mapbox-sdk-js

Geocoding V6 API Using Structured Input Does Not Support Secondary Address

Stefanough opened this issue · 0 comments

I'm using the V6 API via the SDK version 0.16.0 and would like to utilize the structured input option. However, I cannot find a way to include a secondary_address parameter either on its own as a structured field or as part of the address input string. Both strategies for accessing the API with a structured query fail to include it in the response.

Is there a way to use structured input in V6 that allows for the inclusion of a secondary address in both the request and response?

Also, I'm the author of the TypeScript interface for the V6 API. I'd be happy to update that package to include secondary_address as a known feature in both the response and the structured input if/when it's added to the SDK.

Thanks!