Skip to content

Commit dfbb66c

Browse files
committed
minor updates.
1 parent a7661be commit dfbb66c

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

articles/azure-maps/how-to-search-for-address.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ This example demonstrates how to search for a cross street based on the coordina
186186
This article demonstrates how to:
187187
188188
* 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].
190190
* Use [Get Reverse Geocoding] to translate coordinate location to street address.
191191
* 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.
192192
@@ -230,13 +230,11 @@ The example in this section uses [Get Geocoding] to convert an address into lati
230230
231231
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.
232232
233-
## Search autocomplete
233+
## Use Get Geocode Autocomplete for partial address search
234234
235-
[Autocomplete] supports standard single line 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.
236236
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.
240238
241239
> [!IMPORTANT]
242240
> 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
377375
> [!div class="nextstepaction"]
378376
> [Best practices for Azure Maps Search service]
379377
380-
[Autocomplete]: /rest/api/maps/search/get-geocode-autocomplete
378+
[Get Geocode Autocomplete]: /rest/api/maps/search/get-geocode-autocomplete
381379
[Azure Maps account]: quick-demo-map-app.md#create-an-azure-maps-account
382380
[Azure Maps Search service]: /rest/api/maps/search?view=rest-maps-1.0&preserve-view=true
383381
[Best practices for Azure Maps Search service]: how-to-use-best-practices-for-search.md

0 commit comments

Comments
 (0)