Skip to content

Commit c608d33

Browse files
authored
Merge pull request #111527 from stevemunk/how-to-use-ios-map-control-library
Grammatical improvements in article: Get started with Azure Maps iOS SDK
2 parents ddb159f + c069eb6 commit c608d33

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

articles/azure-maps/how-to-use-ios-map-control-library.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: Get started with iOS map control | Microsoft Azure Maps
2+
title: Get started with iOS map control
3+
titleSuffix: Microsoft Azure Maps
34
description: Become familiar with the Azure Maps iOS SDK. See how to install the SDK and create an interactive map.
45
author: dubiety
56
ms.author: yuchungchen
@@ -15,13 +16,13 @@ The Azure Maps iOS SDK is a vector map library for iOS. This article guides you
1516

1617
## Prerequisites
1718

18-
Be sure to complete the steps in the [Quickstart: Create an iOS app](quick-ios-app.md) article.
19+
Be sure to complete the steps in the [Quickstart: Create an iOS app] article.
1920

2021
## Localizing the map
2122

22-
The Azure Maps iOS SDK provides three ways of setting the language and regional view of the map. The following code demonstrates the different ways of setting the *language* to French ("fr-FR") and the *regional view* to "Auto".
23+
The Azure Maps iOS SDK provides three ways of setting the language and regional view of the map. The following code demonstrates the different ways of setting the *language* to French (fr-FR) and the *regional view* to `Auto`.
2324

24-
1. Pass the language and regional view information into the `AzureMaps` class using the static `language` and `view` properties. This sets the default language and regional view properties in your app.
25+
1. Set the default language and regional view properties in your app by passing the language and regional view information into the `AzureMaps` class using the static `language` and `view` properties.
2526

2627
```swift
2728
// Alternatively use Azure Active Directory authenticate.
@@ -46,7 +47,7 @@ The Azure Maps iOS SDK provides three ways of setting the language and regional
4647
])
4748
```
4849

49-
1. The final way of programmatically setting the language and regional view properties uses the maps `setStyle` method. Do this any time you need to change the language and regional view of the map.
50+
1. The final way of programmatically setting the language and regional view properties uses the maps `setStyle` method. Use the maps `setStyle` method anytime you need to change the language and regional view of the map.
5051

5152
```swift
5253
mapControl.getMapAsync { map in
@@ -57,11 +58,11 @@ The Azure Maps iOS SDK provides three ways of setting the language and regional
5758
}
5859
```
5960

60-
Here is an example of an Azure Maps application with the language set to "fr-FR" and regional view set to "Auto".
61+
Here's an example of an Azure Maps application with the language set to `fr-FR` and regional view set to `Auto`.
6162

6263
:::image type="content" source="media/ios-sdk/how-to-use-ios-map-control-library/fr-borderless.png" alt-text="A map image showing labels in French.":::
6364

64-
For a complete list of supported languages and regional views, see [Localization support in Azure Maps](supported-languages.md).
65+
For a complete list of supported languages and regional views, see [Localization support in Azure Maps].
6566

6667
## Navigating the map
6768

@@ -90,18 +91,21 @@ This section details the various ways to navigate when in an Azure Maps program.
9091

9192
The Azure Maps iOS SDK supports using the Azure Government cloud. You specify using the Azure Maps government cloud domain by adding the following line of code where the Azure Maps authentication details are specified:
9293

93-
```
94+
```swift
9495
AzureMaps.domain = "atlas.azure.us"
9596
```
9697

9798
Be sure to use Azure Maps authentication details from the Azure Government cloud platform when authenticating the map and services.
9899

99100
## Additional information
100101

101-
See the following articles for additional code examples:
102+
See the following articles for more code examples:
102103

103104
* [Quickstart: Create an iOS app](quick-ios-app.md)
104105
* [Change map styles in iOS maps](set-map-style-ios-sdk.md)
105106
* [Add a symbol layer](add-symbol-layer-ios.md)
106107
* [Add a line layer](add-line-layer-map-ios.md)
107108
* [Add a polygon layer](add-polygon-layer-map-ios.md)
109+
110+
[Quickstart: Create an iOS app]: quick-ios-app.md
111+
[Localization support in Azure Maps]: supported-languages.md

0 commit comments

Comments
 (0)