Select to view content in your preferred language

restrict search to city - JS API 3.31

381
0
01-28-2020 08:30 AM
JasonFitzsimmons
Frequent Contributor

I'd like to use the Search widget to search for addresses and intersections in a custom web app (JS v3.31).  Is there any way to restrict this search to a particular city?

I see how to restrict it to a specified extent, but this is not good enough for us; our basemaps are made only for the city borders, and any extent will include some areas outside of our map.

0 Kudos
0 Replies