Skip to main content

Filter By Locality

Display address results that matches the chosen locality, like a post town (post_town) using queryOptions.

Only addresses with exactly matching locality will be suggested.

 
AddressFinder.setup({
apiKey: "ak_test",
queryOptions: {
post_town: "Glasgow"
},
outputFields: {
line_1: "#first_line",
line_2: "#second_line",
line_3: "#third_line",
post_town: "#post_town",
postcode: "#postcode",
}
});

Live Demo

Loading...