Skip to main content

Filter By Geospatial Box

Restrict search to a geospatial box determined by the "top-left" and "bottom-right" geolocations. Only one geospatial box can be provided.

Loading...
import { AddressLookup } from "@addresszen/address-lookup";

AddressLookup.setup({
apiKey: "zenkey",
queryOptions: {
box: "-73.989801,40.698141,-73.899698,40.652793",
},
outputFields: {
line_1: "#line_1",
line_2: "#line_2",
city: "#city",
state: "#state",
zip_plus_4: "#zipcode",
},
});