Can you pass Address Autocomplete API parameters to the Widget?
Yes. The widget supports including the Address Autocomplete API parameters using the "address_params" option. We've created a small example showing this behaviour on the JsFiddle website.
The example shows the "post_box" parameter being passed through, but you can include any of the API parameters at this point.
var widget = new AddressFinder.Widget(
document.getElementById("address_field"),
"XYU7FK4REMPDTWH3NQAV",
{address_params: {post_box: 0}}
);
You can also send Location Autocomplete API parameters in a similar way, using the "location_params" option.
var widget = new AddressFinder.Widget(
document.getElementById("address_field"),
"XYU7FK4REMPDTWH3NQAV",
{location_params: {street: 0}}
);