Open scottsfarley93 opened 5 years ago
Hi, @scottsfarley93. Interesting idea to allow arbitrary arguments! Any reason you wouldn't want to add those new features to the SDK directly? Is there some concern about stability that would be overcome by allowing arbitrary arguments?
Currently the arguments passed to the geocoding service are relatively controlled and limited. While this prevents unexpected behavior from adding invalid/unknown arguments to the geocoding api, it also introduces a barrier to adopting new api features (such as routable points]. Do we want to keep arguments to the service tightly scoped or could we modify https://github.com/mapbox/mapbox-sdk-js/blob/master/services/geocoding.js to accept arbitrary new arguments?
\cc @danswick @katydecorah @yuletide