There are two optional parameters for the suggest API that we are trying to use. We set the “location” parameter to the user’s location so that nearby addresses get boosted in the suggestions. We also tried to set the “searchExtent” parameter to restrict the results to a bounding box, in our case a rectangle that roughly encompasses the United States. Example: http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest?f=json&text=12%20main&location=-118.250000,34… This returns addresses with those suggestions closer to the user's location boosted, as expected. However, when we try to restrict the results by adding a searchExtent parameter, http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest?f=json&text=12%20main&location=-118.250000,34… However, once we set the “searchExtent”, the “location” parameter seems to be ignored and we end up with suggestions centered around Kansas, rather than the user's location set by the "location" parameter. Are we misinterpreting something here? Or are these two parameters mutually exclusive? Thanks!
... View more