You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-maps/how-to-search-for-address.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,7 +186,7 @@ This example demonstrates how to search for a cross street based on the coordina
186
186
This article demonstrates how to:
187
187
188
188
* Request latitude and longitude coordinates for an address (geocode address location) by using [Get Geocoding].
189
-
* Search for a partial address using [Autocomplete].
189
+
* Search for a partial address using [Get Geocode Autocomplete].
190
190
* Use [Get Reverse Geocoding] to translate coordinate location to street address.
191
191
* Translate coordinate location into a human understandable cross street using [Get Reverse Geocoding], most often needed in tracking applications that receive a GPS feed from a device or asset, and wish to know where the coordinate is located.
192
192
@@ -230,13 +230,11 @@ The example in this section uses [Get Geocoding] to convert an address into lati
230
230
231
231
The response includes results from multiple countries/regions. To [geobias] results to the relevant area for your users, always add as many location details as possible to the request.
232
232
233
-
## Search autocomplete
233
+
## Use Get Geocode Autocomplete for partial address search
234
234
235
-
[Autocomplete] supports standard singleline and free-form searches. We recommend that you use the Azure Maps Search Autocomplete API when you don't know your user input type for a search request. The query input can be a full or partial address. To improve the relevance of your search results, constrain the query results using a coordinate location and radius, or by defining a bounding box.
235
+
The [Get Geocode Autocomplete] API supports both single-line and free-form address inputs, making it ideal for scenarios where a complete address is unavailable. You can submit either a full or partial address as the query. To enhance the accuracy and relevance of the results, it's recommended to constrain the search by specifying coordinates or a bounding box.
236
236
237
-
### Search for an address using autocomplete
238
-
239
-
This example demonstrates how to use the autocomplete API to search the entire north American continent for partial input like "university of w." It then shows how to narrow the search scope to a specific country or region using the `countryRegion` parameter. Finally, it demonstrates how to use a `coordinate` parameter to focus the search to a specific area to limit the number of results.
237
+
This example demonstrates how to use the Get Geocode Autocomplete API to search the entire North American continent for partial input like "university of w." It then shows how to narrow the search scope to a specific country or region using the `countryRegion` parameter. Finally, it demonstrates how to use the `coordinates` parameter to focus the search to a specific area.
240
238
241
239
> [!IMPORTANT]
242
240
> To geobias results to the relevant area for your users, always add as many location details as possible. For more information, see [Best Practices for Search].
@@ -377,7 +375,7 @@ This example demonstrates how to search for a cross street based on the coordina
0 commit comments