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/quick-ios-app.md
+25-22Lines changed: 25 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ If you don't have an Azure subscription, create a [free account] before you begi
35
35
36
36
Create a new Azure Maps account with the following steps:
37
37
38
-
1. In the upper left-hand corner of the [Azure portal](https://portal.azure.com/), select **Create a resource**.
38
+
1. In the upper left-hand corner of the [Azure portal], select **Create a resource**.
39
39
40
40
2. In the _Search the Marketplace_ box, type **Azure Maps**.
41
41
@@ -63,7 +63,7 @@ Once your Maps account is successfully created, retrieve the primary key that en
63
63
3. Copy the **Primary Key** to your clipboard. Save it locally to use later in this tutorial.
64
64
65
65
>[!NOTE]
66
-
> This quickstart uses the [Shared Key](azure-maps-authentication.md#shared-key-authentication) authentication approach for demonstration purposes, but the preferred approach for any production environment is to use [Azure Active Directory](azure-maps-authentication.md#azure-ad-authentication) authentication.
66
+
> This quickstart uses [Shared Key authentication]for demonstration purposes, but the preferred approach for any production environment is to use [Azure Active Directory authentication].
67
67
<!--
68
68
> If you use the Azure subscription key instead of the Azure Maps primary key, your map won't render properly. Also, for security purposes, it is recommended that you rotate between your primary and secondary keys. To rotate keys, update your app to use the secondary key, deploy, then press the cycle/refresh button beside the primary key to generate a new primary key. The old primary key will be disabled. For more information on key rotation, see [Set up Azure Key Vault with key rotation and auditing](../key-vault/secrets/tutorial-rotation-dual.md)
69
69
-->
@@ -79,7 +79,7 @@ First, create a new iOS App project. Complete these steps to create an Xcode pro
79
79
80
80
3. Enter app name, bundle ID then select **Next**.
81
81
82
-
See the [Creating a Xcode Project for an App](https://developer.apple.com/documentation/xcode/creating-an-xcode-project-for-an-app) for more help with creating a new project.
82
+
See the [Creating an Xcode Project for an App] for more help with creating a new project.
83
83
84
84

85
85
@@ -91,7 +91,7 @@ The next step in building your application is to install the Azure Maps iOS SDK.
2. Enter the following values in the resulting dialog:
95
95
* Enter `https://github.com/Azure/azure-maps-ios-sdk-distribution.git` in the search bar that appears in the top right corner.
96
96
* Select `Up to Next Major Version` in the **Dependency Rule** field.
97
97
* Enter `1.0.0-pre.3` into the **Dependency Rule** version field.
@@ -115,7 +115,7 @@ The next step in building your application is to install the Azure Maps iOS SDK.
115
115
* add import for the Azure Maps SDK
116
116
* set your Azure Maps authentication information
117
117
118
-
By setting the authentication information on the AzureMaps class globally using the `AzureMaps.configure(subscriptionKey:)` or `AzureMaps.configure(aadClient:aadAppId:aadTenant:)` you won't need to add your authentication information on every view.
118
+
By setting the authentication information on the AzureMaps class globally using the `AzureMaps.configure(subscriptionKey:)` or `AzureMaps.configure(aadClient:aadAppId:aadTenant:)`, you don't need to add your authentication information on every view.
119
119
120
120
1. Select the run button, as shown in the following graphic (or press `CMD` + `R`), to build your application.
121
121
@@ -127,7 +127,7 @@ Xcode takes a few seconds to build the application. After the build is complete,
127
127
128
128
## Access map functionality
129
129
130
-
You can start customing map functionality by getting hold to `AzureMap` instance in a `mapView.onReady` handler. For a MapControl view added above, your sample `ViewController`may look the following way:
130
+
You can start customizing map functionality by getting hold to `AzureMap` instance in a `mapView.onReady` handler. Once the `MapControl` view is added, your sample `ViewController`should look similar to the following code:
131
131
132
132
```swift
133
133
classViewController: UIViewController {
@@ -144,15 +144,10 @@ class ViewController: UIViewController {
144
144
}
145
145
```
146
146
147
-
Proceed to [Add a polygon layer to the map in the iOS SDK](add-polygon-layer-map-ios.md) for one such example.
147
+
Proceed to [Add a polygon layer to the map in the iOS SDK] for one such example.
148
148
149
149
## Clean up resources
150
150
151
-
<!--
152
-
> [!WARNING]
153
-
> The tutorials listed in the [Next Steps](#next-steps) section detail how to use and configure Azure Maps with your account. Don't clean up the resources created in this quickstart if you plan to continue to the tutorials.
154
-
-->
155
-
156
151
Take these steps to clean up the resources created in this quickstart:
157
152
158
153
1. Close Xcode and delete the project you created.
@@ -171,23 +166,31 @@ If you don't plan on continuing to develop with the Azure Maps iOS SDK:
171
166
172
167
See the following articles for more code examples:
173
168
174
-
*[Manage authentication in Azure Maps](how-to-manage-authentication.md)
175
-
*[Change map styles in iOS maps](set-map-style-ios-sdk.md)
176
-
*[Add a symbol layer](add-symbol-layer-ios.md)
177
-
*[Add a line layer](add-line-layer-map-ios.md)
178
-
*[Add a polygon layer](add-polygon-layer-map-ios.md)
169
+
*[Manage authentication in Azure Maps]
170
+
*[Change map styles in iOS maps]
171
+
*[Add a symbol layer]
172
+
*[Add a line layer]
173
+
*[Add a polygon layer]
179
174
180
-
<!--
181
-
## Next steps
175
+
<!--## Next steps
182
176
183
177
In this quickstart, you created your Azure Maps account and created a demo application. Take a look at the following tutorials to learn more about Azure Maps:
184
178
185
179
> [!div class="nextstepaction"]
186
180
187
-
> [Load GeoJSON data into Azure Maps](tutorial-load-geojson-file-ios.md)
188
-
-->
181
+
> [Load GeoJSON data into Azure Maps](tutorial-load-geojson-file-ios.md)-->
182
+
183
+
[Add a line layer]: add-line-layer-map-ios.md
184
+
[Add a polygon layer to the map in the iOS SDK]: add-polygon-layer-map-ios.md
185
+
[Add a polygon layer]: add-polygon-layer-map-ios.md
186
+
[Add a symbol layer]: add-symbol-layer-ios.md
187
+
[Azure Active Directory authentication]: azure-maps-authentication.md#azure-ad-authentication
0 commit comments