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/set-map-style-ios-sdk.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,22 +3,20 @@ title: Set a map style in iOS maps | Microsoft Azure Maps
3
3
description: Learn two ways of setting the style of a map. See how to use the Azure Maps iOS SDK in either the layout file or the activity class to adjust the style.
4
4
author: dubiety
5
5
ms.author: yuchungchen
6
-
ms.date: 10/22/2021
6
+
ms.date: 07/22/2023
7
7
ms.topic: how-to
8
8
ms.service: azure-maps
9
9
services: azure-maps
10
10
---
11
11
12
12
# Set map style in the iOS SDK (Preview)
13
13
14
-
This article shows you two ways to set map styles using the Azure Maps iOS SDK. Azure Maps has six different maps styles to choose from. For more information about supported map styles, see [supported map styles in Azure Maps](supported-map-styles.md).
14
+
This article shows you two ways to set map styles using the Azure Maps iOS SDK. Azure Maps has six different maps styles to choose from. For more information about supported map styles, see [supported map styles in Azure Maps].
15
15
16
16
## Prerequisites
17
17
18
-
Be sure to complete the steps in the [Quickstart: Create an iOS app](quick-ios-app.md) document.
19
-
20
-
> [!IMPORTANT]
21
-
> The procedure in this section requires an Azure Maps account in Gen 1 or Gen 2 pricing tier. For more information on pricing tiers, see [Choose the right pricing tier in Azure Maps](choose-pricing-tier.md).
18
+
- Complete the [Create an iOS app] quickstart.
19
+
- An [Azure Maps account].
22
20
23
21
## Set map style in the map control init
24
22
@@ -99,7 +97,7 @@ When setting the camera options of the map, animation options can also be used t
99
97
| Option | Description |
100
98
|--------|-------------|
101
99
|`animationDuration(_ duration: Double)`| Specifies how long the camera animates between the views in milliseconds (ms). |
102
-
|`animationType(_ animationType: AnimationType)`| Specifies the type of animation transition to perform.<br/><br/> - `.jump` - an immediate change.<br/> - `.ease` - gradual change of the camera's settings.<br/> - `.fly` - gradual change of the camera's settings following an arc resembling flight. |
100
+
|`animationType(_ animationType: AnimationType)`| Specifies the type of animation transition to perform.<br><br> - `.jump` - an immediate change.<br> - `.ease` - gradual change of the camera's settings.<br> - `.fly` - gradual change of the camera's settings following an arc resembling flight. |
103
101
104
102
The following code shows how to animate the map view using a `.fly` animation over a duration of three seconds.
105
103
@@ -120,5 +118,11 @@ The following animation demonstrates the above code animating the map view from
120
118
121
119
See the following articles for more code samples to add to your maps:
122
120
123
-
-[Add a symbol layer](add-symbol-layer-ios.md)
124
-
-[Add a bubble layer](add-bubble-layer-map-ios.md)
0 commit comments