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/tutorial-search-location.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ titleSuffix: Microsoft Azure Maps
4
4
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.
5
5
author: sinnypan
6
6
ms.author: sipa
7
-
ms.date: 12/23/2021
7
+
ms.date: 9/3/2024
8
8
ms.topic: tutorial
9
9
ms.service: azure-maps
10
10
ms.subservice: web-sdk
@@ -84,7 +84,7 @@ The Map Control API is a convenient client library. This API allows you to easil
84
84
85
85
Some things to know regarding the above HTML:
86
86
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.
88
88
* The `onload` event in the body of the page calls the `GetMap` function when the body of the page has loaded.
89
89
* The `GetMap` function contains the inline JavaScript code used to access the Azure Maps APIs. It's added in the next step.
90
90
@@ -103,7 +103,7 @@ The Map Control API is a convenient client library. This API allows you to easil
103
103
});
104
104
```
105
105
106
-
Some things to know regarding the above JavaScript:
106
+
Some things to know regarding this JavaScript:
107
107
108
108
* The core of the `GetMap` function, which initializes the Map Control API for your Azure Maps account key.
109
109
* `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
207
207
208
208
## Add interactive data
209
209
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.
211
211
212
212
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.
0 commit comments