Skip to content

Commit a35073b

Browse files
authored
Merge pull request #286061 from stevemunk/attribute-updates-tutorial-search-location
Updated images in 'Tutorial: Search nearby points of interest using Azure Maps' to show the new attribute.
2 parents 4096f30 + 6aedf44 commit a35073b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
249 KB
Loading
-68.1 KB
Loading
196 KB
Loading

articles/azure-maps/tutorial-search-location.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Microsoft Azure Maps
44
description: Tutorial on how to search for points of interest on a map. See how to use the Azure Maps Web SDK to add search capabilities and interactive pop-up boxes to a map.
55
author: sinnypan
66
ms.author: sipa
7-
ms.date: 12/23/2021
7+
ms.date: 9/3/2024
88
ms.topic: tutorial
99
ms.service: azure-maps
1010
ms.subservice: web-sdk
@@ -84,7 +84,7 @@ The Map Control API is a convenient client library. This API allows you to easil
8484

8585
Some things to know regarding the above HTML:
8686

87-
* The HTML header includes CSS and JavaScript resource files that are hosted by the Azure Map Control library.
87+
* The HTML header includes CSS and JavaScript resource files hosted by the Azure Map Control library.
8888
* The `onload` event in the body of the page calls the `GetMap` function when the body of the page has loaded.
8989
* The `GetMap` function contains the inline JavaScript code used to access the Azure Maps APIs. It's added in the next step.
9090

@@ -103,7 +103,7 @@ The Map Control API is a convenient client library. This API allows you to easil
103103
});
104104
```
105105

106-
Some things to know regarding the above JavaScript:
106+
Some things to know regarding this JavaScript:
107107

108108
* The core of the `GetMap` function, which initializes the Map Control API for your Azure Maps account key.
109109
* `atlas` is the namespace that contains the API and related visual components.
@@ -207,7 +207,7 @@ At this point, the MapSearch page can display the locations of points of interes
207207

208208
## Add interactive data
209209

210-
The map that we've made so far only looks at the longitude/latitude data for the search results. However, the raw JSON that the Maps Search service returns contains additional information about each gas station. Including the name and street address. You can incorporate that data into the map with interactive popup boxes.
210+
The map so far only looks at the longitude/latitude data for the search results. However, the raw JSON that the Maps Search service returns contains additional information about each gas station. Including the name and street address. You can incorporate that data into the map with interactive popup boxes.
211211

212212
1. Add the following lines of code in the map `ready` event handler after the code to query the fuzzy search service. This code creates an instance of a Popup and adds a mouseover event to the symbol layer.
213213

0 commit comments

Comments
 (0)