You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Smarty offers different licenses that determine a set of available services, usage details, etc. Not being able to specify this license limits our integration with Smarty and prevents taking full advantage of Smarty's features.
Expected behavior
It'd be great to be available to provide license argument that ends up being passed to Smarty API:
Geocoder.configure(..., license: '<license>')
I reviewed geocoder's code and apparently this will require only a few files to be changed:
So there's no need to modify options or set_defaults. Just add the license parameter in query_url_params, where you can access it via configuration[:license] (configuration returns all config for the current lookup, merged into a single hash). You might also want to mention this in a "Notes" item in the Smarty documentation.
Context:
Smarty offers different licenses that determine a set of available services, usage details, etc. Not being able to specify this license limits our integration with Smarty and prevents taking full advantage of Smarty's features.
Expected behavior
It'd be great to be available to provide license argument that ends up being passed to Smarty API:
I reviewed geocoder's code and apparently this will require only a few files to be changed:
Any thoughts about this?
The text was updated successfully, but these errors were encountered: