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
-`{client-id}` is the application's client ID (also known as app ID).
83
-
-`{organization}` is the tenant ID or any verified domain name of the tenant you want to consent the application in. You can use the value `common`, which will cause the consent to happen in the home tenant of the user you sign in with.
83
+
-`{organization}` is the tenant ID or any verified domain name of the tenant you want to consent the application in. You can use the value `organizations`, which will cause the consent to happen in the home tenant of the user you sign in with.
84
84
85
85
As always, carefully review the permissions an application requests before granting consent.
86
86
87
+
For more information on constructing the tenant-wide admin consent URL, see [Admin consent on the Microsoft identity platform](../develop/v2-admin-consent.md).
Copy file name to clipboardExpand all lines: articles/aks/csi-storage-drivers.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ The Container Storage Interface (CSI) is a standard for exposing arbitrary block
12
12
13
13
The CSI storage driver support on AKS allows you to natively use:
14
14
15
-
-[**Azure Disks**](azure-disk-csi.md) can be used to create a Kubernetes *DataDisk* resource. Disks can use Azure Premium Storage, backed by high-performance SSDs, or Azure Standard Storage, backed by regular HDDs or Standard SSDs. For most production and development workloads, use Premium Storage. Azure Disks are mounted as *ReadWriteOnce* and are only available to one node in AKS. For storage volumes that can be accessed by multiple pods simultaneously, use Azure Files.
15
+
-[**Azure Disks**](azure-disk-csi.md) can be used to create a Kubernetes *DataDisk* resource. Disks can use Azure Premium Storage, backed by high-performance SSDs, or Azure Standard Storage, backed by regular HDDs or Standard SSDs. For most production and development workloads, use Premium Storage. Azure Disks are mounted as *ReadWriteOnce* and are only available to one node in AKS. For storage volumes that can be accessed by multiple nodes simultaneously, use Azure Files.
16
16
-[**Azure Files**](azure-files-csi.md) can be used to mount an SMB 3.0/3.1 share backed by an Azure storage account to pods. With Azure Files, you can share data across multiple nodes and pods. Azure Files can use Azure Standard storage backed by regular HDDs or Azure Premium storage backed by high-performance SSDs.
17
17
-[**Azure Blob storage**](azure-blob-csi.md) can be used to mount Blob storage (or object storage) as a file system into a container or pod. Using Blob storage enables your cluster to support applications that work with large unstructured datasets like log file data, images or documents, HPC, and others. Additionally, if you ingest data into [Azure Data Lake storage](../storage/blobs/data-lake-storage-introduction.md), you can directly mount and use it in AKS without configuring another interim filesystem.
Copy file name to clipboardExpand all lines: articles/azure-maps/set-map-style-ios-sdk.md
+17-13Lines changed: 17 additions & 13 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
@@ -74,7 +72,7 @@ map.setCameraOptions([
74
72
])
75
73
```
76
74
77
-
Often it is desirable to focus the map over a set of data. A bounding box can be calculated from features using the `BoundingBox.fromData(_:)` method and can be passed into the `bounds` option of the map camera. When setting a map view based on a bounding box, it's often useful to specify a `padding` value to account for the point size of data points being rendered as bubbles or symbols. The following code shows how to set all optional camera options when using a bounding box to set the position of the camera.
75
+
Often it's desirable to focus the map over a set of data. A bounding box can be calculated from features using the `BoundingBox.fromData(_:)` method and can be passed into the `bounds` option of the map camera. When setting a map view based on a bounding box, it's often useful to specify a `padding` value to account for the point size of data points being rendered as bubbles or symbols. The following code shows how to set all optional camera options when using a bounding box to set the position of the camera.
78
76
79
77
```swift
80
78
//Set the camera of the map using a bounding box.
@@ -90,16 +88,16 @@ map.setCameraBoundsOptions([
90
88
])
91
89
```
92
90
93
-
The aspect ratio of a bounding box may not be the same as the aspect ratio of the map, as such the map will often show the full bounding box area, but will often only be tight vertically or horizontally.
91
+
The aspect ratio of a bounding box may not be the same as the aspect ratio of the map, as such the map often shows the full bounding box area, and are often only tight vertically or horizontally.
94
92
95
93
### Animate map view
96
94
97
95
When setting the camera options of the map, animation options can also be used to create a transition between the current map view and the next. These options specify the type of animation and duration it should take to move the camera.
98
96
99
97
| Option | Description |
100
98
|--------|-------------|
101
-
|`animationDuration(_ duration: Double)`| Specifies how long the camera will animate 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. |
99
+
|`animationDuration(_ duration: Double)`| Specifies how long the camera animates between the views in milliseconds (ms). |
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
@@ -112,13 +110,19 @@ map.setCameraOptions([
112
110
])
113
111
```
114
112
115
-
The following demonstrates the above code animating the map view from New York to Seattle.
113
+
The following animation demonstrates the above code animating the map view from New York to Seattle.
116
114
117
115
:::image type="content" source="./media/ios-sdk/set-map-style-ios/ios-animate-camera.gif" alt-text="Map animating the camera from New York to Seattle.":::
118
116
119
117
## Additional information
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