Skip to content

Commit a34e37f

Browse files
committed
Default to enhanced matching
1 parent 17be0da commit a34e37f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/us_street.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ lookup1.city = "Provo";
3434
lookup1.state = "Utah";
3535
lookup1.zipCode = "84601";
3636
lookup1.maxCandidates = 3;
37-
lookup1.match = "invalid"; // "invalid" is the most permissive match,
38-
// this will always return at least one result even if the address is invalid.
39-
// Refer to the documentation for additional MatchStrategy options.
37+
lookup1.match = "enhanced"; // The API will return detailed output based on a more aggressive matching mechanism. It also includes a more comprehensive address dataset beyond just the postal address data. Requires a US Core license or a US Rooftop Geocoding license.
38+
// Refer to the documentation for additional MatchStrategy options.
4039

4140
let lookup2 = new Lookup();
4241
lookup2.street = "1600 Amphitheater Pkwy";

0 commit comments

Comments
 (0)