Skip to content

Commit 1a861af

Browse files
authored
Merge pull request #111547 from stevemunk/how-to-use-services-module-grammar
Improve grammar and change to end-links in article: How to use services module grammar
2 parents 20e8ea9 + 8ad2c5c commit 1a861af

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/azure-maps/how-to-use-services-module.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The Azure Maps Web SDK provides a *services module*. This module is a helper lib
3535
import * as service from "azure-maps-rest";
3636
```
3737

38-
1. Create an authentication pipeline. The pipeline must be created before you can initialize a service URL client endpoint. Use your own Azure Maps account key or Azure Active Directory (Azure AD) credentials to authenticate an Azure Maps Search service client. In this example, the Search service URL client will be created.
38+
1. Create an authentication pipeline. The pipeline must be created before you can initialize a service URL client endpoint. Use your own Azure Maps account key or Azure Active Directory (Azure AD) credentials to authenticate an Azure Maps Search service client. In this example, the Search service URL client is created.
3939

4040
If you use a subscription key for authentication:
4141

@@ -118,7 +118,7 @@ The Azure Maps Web SDK provides a *services module*. This module is a helper lib
118118
}
119119
```
120120

121-
For more information, see [Authentication with Azure Maps](azure-maps-authentication.md).
121+
For more information, see [Authentication with Azure Maps].
122122

123123
1. The following code uses the newly created Azure Maps Search service URL client to geocode an address: "1 Microsoft Way, Redmond, WA". The code uses the `searchAddress` function and displays the results as a table in the body of the page.
124124

@@ -233,7 +233,7 @@ The following image is a screenshot showing the results of this sample code, a t
233233

234234
## Azure Government cloud support
235235

236-
The Azure Maps Web SDK supports the Azure Government cloud. All JavaScript and CSS URLs used to access the Azure Maps Web SDK remain the same, however the following tasks will need to be done to connect to the Azure Government cloud version of the Azure Maps platform.
236+
The Azure Maps Web SDK supports the Azure Government cloud. All JavaScript and CSS URLs used to access the Azure Maps Web SDK remain the same, however the following tasks need to be done to connect to the Azure Government cloud version of the Azure Maps platform.
237237

238238
When using the interactive map control, add the following line of code before creating an instance of the `Map` class.
239239

@@ -243,7 +243,7 @@ atlas.setDomain('atlas.azure.us');
243243

244244
Be sure to use an Azure Maps authentication details from the Azure Government cloud platform when authenticating the map and services.
245245

246-
When using the services module, the domain for the services needs to be set when creating an instance of an API URL endpoint. For example, the following code creates an instance of the `SearchURL` class and points the domain to the Azure Government cloud.
246+
The domain for the services needs to be set when creating an instance of an API URL endpoint. For example, the following code creates an instance of the `SearchURL` class and points the domain to the Azure Government cloud.
247247

248248
```javascript
249249
var searchURL = new atlas.service.SearchURL(pipeline, 'atlas.azure.us');
@@ -280,3 +280,5 @@ For more code samples that use the services module, see these articles:
280280
281281
> [!div class="nextstepaction"]
282282
> [Show directions from A to B](./map-route.md)
283+
284+
[Authentication with Azure Maps]: azure-maps-authentication.md

0 commit comments

Comments
 (0)