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/add-bubble-layer-map-ios.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Add a bubble layer to iOS maps
3
3
titleSuffix: Microsoft Azure Maps
4
4
description: Learn how to render points on maps as circles with fixed sizes. See how to use the Azure Maps iOS SDK to add and customize bubble layers for this purpose.
Copy file name to clipboardExpand all lines: articles/azure-maps/add-controls-map-ios.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Add controls to an iOS map
3
3
titleSuffix: Microsoft Azure Maps
4
4
description: How to add zoom control, pitch control, rotate control and a style picker to a map in Microsoft Azure Maps iOS SDK.
5
-
author: eriklindeman
6
-
ms.author: eriklind
5
+
author: sinnypan
6
+
ms.author: sipa
7
7
ms.date: 11/19/2021
8
8
ms.topic: how-to
9
9
ms.service: azure-maps
@@ -23,7 +23,7 @@ A zoom control adds buttons for zooming the map in and out. The following code s
23
23
map.controls.add(ZoomControl())
24
24
```
25
25
26
-
The screenshot below is of a zoom control loaded on a map.
26
+
This screenshot shows a zoom control loaded on a map.
27
27
28
28
:::image type="content" source="./media/ios-sdk/add-controls-to-map-ios/zoom.png" alt-text="Screenshot showing the zoom control on a map." lightbox="./media/ios-sdk/add-controls-to-map-ios/zoom.png":::
29
29
@@ -36,7 +36,7 @@ A pitch control adds buttons for tilting the pitch to map relative to the horizo
36
36
map.controls.add(PitchControl())
37
37
```
38
38
39
-
The screenshot below is of a pitch control loaded on a map.
39
+
This screenshot shows a pitch control loaded on a map.
40
40
41
41
:::image type="content" source="./media/ios-sdk/add-controls-to-map-ios/pitch.png" alt-text="Screenshot showing the pitch control on a map." lightbox="./media/ios-sdk/add-controls-to-map-ios/pitch.png":::
42
42
@@ -49,7 +49,7 @@ A rotation control adds a button for rotating the map. The following code sample
49
49
map.controls.add(RotationControl())
50
50
```
51
51
52
-
The screenshot below is of a rotation control loaded on a map.
52
+
This screenshot shows a rotation control loaded on a map.
53
53
54
54
:::image type="content" source="./media/ios-sdk/add-controls-to-map-ios/rotation.png" alt-text="Screenshot showing the rotation control on a map." lightbox="./media/ios-sdk/add-controls-to-map-ios/rotation.png":::
55
55
@@ -62,13 +62,13 @@ A traffic control adds a button for toggling the visibility of traffic data on t
62
62
map.controls.add(TrafficControl())
63
63
```
64
64
65
-
The screenshot below is of a traffic control loaded on a map.
65
+
This screenshot shows a traffic control loaded on a map.
66
66
67
67
:::image type="content" source="./media/ios-sdk/add-controls-to-map-ios/traffic.png" alt-text="Screenshot showing the traffic control on a map." lightbox="./media/ios-sdk/add-controls-to-map-ios/traffic.png":::
68
68
69
69
## A map with all controls
70
70
71
-
Multiple controls can be put into an array and added to the map all at once and positioned in the same area of the map to simplify development. The following code adds the standard navigation controls to the map using this approach.
71
+
Multiple controls can be added to an array and the map then positioned in the same area of the map to simplify development. The following code adds the standard navigation controls to the map using this approach.
72
72
73
73
```swift
74
74
map.controls.add([
@@ -79,7 +79,7 @@ map.controls.add([
79
79
])
80
80
```
81
81
82
-
The screenshot below shows all controls loaded on a map. The order they are added to the map, is the order they will appear.
82
+
This screenshot shows all controls loaded on a map, appearing in the order they were added.
83
83
84
84
:::image type="content" source="./media/ios-sdk/add-controls-to-map-ios/all.png" alt-text="Screenshot showing a map with all controls added to it." lightbox="./media/ios-sdk/add-controls-to-map-ios/all.png":::
Copy file name to clipboardExpand all lines: articles/azure-maps/add-heat-map-layer-ios.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Add a heat map layer to iOS maps
3
3
titleSuffix: Microsoft Azure Maps
4
4
description: Learn how to create a heat map. See how to use the Azure Maps iOS SDK to add a heat map layer to a map. Find out how to customize heat map layers.
5
-
author: eriklindeman
6
-
ms.author: eriklind
5
+
author: sinnypan
6
+
ms.author: sipa
7
7
ms.date: 11/23/2021
8
8
ms.topic: how-to
9
9
ms.service: azure-maps
@@ -116,7 +116,7 @@ NSExpression(
116
116
-`sourceLayer`: If the data source connected to the layer is a vector tile source, a source layer within the vector tiles must be specified.
117
117
-`visible`: Hides or shows the layer.
118
118
119
-
This following is an example of a heat map where a liner interpolation expression is used to create a smooth color gradient. The `mag` property defined in the data is used with an exponential interpolation to set the weight or relevance of each data point.
119
+
The following example demonstrates a heat map using a liner interpolation expression to create a smooth color gradient. The `mag` property defined in the data is used with an exponential interpolation to set the weight or relevance of each data point.
120
120
121
121
```swift
122
122
let layer =HeatMapLayer(source: source, options: [
Copy file name to clipboardExpand all lines: articles/azure-maps/add-image-layer-map-ios.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Add an Image layer to an iOS map
3
3
titleSuffix: Microsoft Azure Maps
4
4
description: Learn how to add images to a map. See how to use the Azure Maps iOS SDK to customize image layers and overlay images on fixed sets of coordinates.
5
-
author: eriklindeman
6
-
ms.author: eriklind
5
+
author: sinnypan
6
+
ms.author: sipa
7
7
ms.date: 11/23/2021
8
8
ms.topic: how-to
9
9
ms.service: azure-maps
@@ -44,7 +44,7 @@ let layer = ImageLayer(options: [
44
44
map.layers.insertLayer(layer, below: "labels")
45
45
```
46
46
47
-
Alternatively, a URL to an image hosted on the online can be specified. However, if your scenario allows, add the image to your project's `Assets` folder, that will load faster since the image will be locally available and won't have to be downloaded.
47
+
Alternatively, a URL to an image hosted on the online can be specified. However, if your scenario allows, add the image to your project's `Assets` folder, that loads faster since the image is locally available with no need to be downloaded.
Copy file name to clipboardExpand all lines: articles/azure-maps/add-line-layer-map-ios.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Add a line layer to iOS maps
3
3
titleSuffix: Microsoft Azure Maps
4
4
description: Learn how to add lines to maps. See examples that use the Azure Maps iOS SDK to add line layers to maps and to customize lines with symbols and color gradients.
5
-
author: eriklindeman
6
-
ms.author: eriklind
5
+
author: sinnypan
6
+
ms.author: sipa
7
7
ms.date: 11/23/2021
8
8
ms.topic: how-to
9
9
ms.service: azure-maps
@@ -53,7 +53,7 @@ The following screenshot shows the above code rendering a line in a line layer.
53
53
54
54
## Data-driven line style
55
55
56
-
The following code creates two line features and adds a speed limit value as a property to each line. A line layer uses a data-drive style expression color the lines based on the speed limit value. Since the line data overlays along roads, the code below adds the line layer below the label layer so that road labels can still clearly be read.
56
+
The following code creates two line features and adds a speed limit value as a property to each line. A line layer uses a data-drive style expression color the lines based on the speed limit value. Since the line data overlays along roads, the following code adds the line layer below the label layer so that road labels remain visible.
The following screenshot shows the above code rendering two lines in a line layer with their color being retrieved from a data driven style expression based on a property in the line features.
108
+
The following screenshot shows the above code that renders two lines in a line layer with their color retrieved from a data driven style expression based on a property in the line features.
109
109
110
110
:::image type="content" source="./media/ios-sdk/add-line-layer-map-ios/data-driven.png" alt-text="Add a line layer to a map.":::
111
111
@@ -169,7 +169,7 @@ The following screenshot shows the above code displaying a line rendered using a
169
169
170
170
## Add symbols along a line
171
171
172
-
This sample shows how to add arrow icons along a line on the map. When using a symbol layer, set the `symbolPlacement` option to `.line`. This option will render the symbols along the line and rotate the icons (0 degrees = right).
172
+
This sample shows how to add arrow icons along a line on the map. When using a symbol layer, set the `symbolPlacement` option to `.line`. This option renders the symbols along the line and rotates the icons (0 degrees = right).
173
173
174
174
```swift
175
175
// Create a data source and add it to the map.
@@ -233,9 +233,9 @@ For this sample, the following image was loaded into the assets folder of the ap
The screenshot below shows the above code displaying a line with arrow icons displayed along it.
236
+
The following screenshot shows the above code displaying a line with arrow icons displayed along it.
237
237
238
-
:::image type="content" source="./media/ios-sdk/add-line-layer-map-ios/symbol.png" alt-text="A line with purple arrow icons displayed along it pointing to the right.":::
238
+
:::image type="content" source="./media/ios-sdk/add-line-layer-map-ios/symbol.png" alt-text="A line with purple arrow icons displayed along it pointing in the direction of the route.":::
Copy file name to clipboardExpand all lines: articles/azure-maps/add-polygon-layer-map-ios.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Add a polygon layer to iOS maps
3
3
titleSuffix: Microsoft Azure Maps
4
4
description: Learn how to add polygons or circles to maps. See how to use the Azure Maps iOS SDK to customize geometric shapes and make them easy to update and maintain.
Copy file name to clipboardExpand all lines: articles/azure-maps/add-symbol-layer-ios.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Add a symbol layer to iOS maps
3
3
titleSuffix: Microsoft Azure Maps
4
4
description: Learn how to add a marker to a map. See an example that uses the Azure Maps iOS SDK to add a symbol layer that contains point-based data from a data source.
5
-
author: eriklindeman
6
-
ms.author: eriklind
5
+
author: sinnypan
6
+
ms.author: sipa
7
7
ms.date: 11/19/2021
8
8
ms.topic: how-to
9
9
ms.service: azure-maps
@@ -25,7 +25,7 @@ Be sure to complete the steps in the [Quickstart: Create an iOS app](quick-ios-a
25
25
26
26
Before you can add a symbol layer to the map, you need to take a couple of steps. First, create a data source, and add it to the map. Create a symbol layer. Then, pass in the data source to the symbol layer, to retrieve the data from the data source. Finally, add data into the data source, so that there's something to be rendered.
27
27
28
-
The code below demonstrates what should be added to the map after it has loaded. This sample renders a single point on the map using a symbol layer.
28
+
The following code demonstrates what should be added to the map after it has loaded. This sample renders a single point on the map using a symbol layer.
29
29
30
30
```swift
31
31
//Create a data source and add it to the map.
@@ -157,7 +157,7 @@ The following screenshot shows the above code rendering a point feature using a
157
157
158
158
## Predefined Symbol Marker Icons
159
159
160
-
Initially the map has the built-in default marker icon, which is already loaded into the image sprite of the map. It will be used by default if nothing is set to the `iconImage` option. In case you need to do it manually, set `"marker-default"` to the `iconImage` option.
160
+
Initially the map has the built-in default marker icon, which is already loaded into the image sprite of the map. It's used by default if nothing is set to the `iconImage` option. In case you need to do it manually, set `"marker-default"` to the `iconImage` option.
161
161
162
162
```swift
163
163
let layer =SymbolLayer(source: source, options: [.iconImage("marker-default")])
Copy file name to clipboardExpand all lines: articles/azure-maps/add-tile-layer-map-ios.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Add a tile layer to iOS maps
3
3
titleSuffix: Microsoft Azure Maps
4
4
description: Learn how to add a tile layer to a map. See an example that uses the Azure Maps iOS SDK to add a weather radar overlay to a map.
5
-
author: eriklindeman
6
-
ms.author: eriklind
5
+
author: sinnypan
6
+
ms.author: sipa
7
7
ms.date: 11/23/2021
8
8
ms.topic: how-to
9
9
ms.service: azure-maps
@@ -14,7 +14,7 @@ services: azure-maps
14
14
15
15
This article shows you how to render a tile layer on a map using the Azure Maps iOS SDK. Tile layers allow you to superimpose images on top of Azure Maps base map tiles. More information on Azure Maps tiling system can be found in the [Zoom levels and tile grid](zoom-levels-and-tile-grid.md) documentation.
16
16
17
-
A Tile layer loads in tiles from a server. These images can be pre-rendered and stored like any other image on a server, using a naming convention that the tile layer understands. Or, these images can be rendered with a dynamic service that generates the images near real time. There are three different tile service naming conventions supported by Azure Maps TileLayer class:
17
+
A Tile layer loads in tiles from a server. These images can be prerendered and stored like any other image on a server, using a naming convention that the tile layer understands. Or, these images can be rendered with a dynamic service that generates the images near real time. There are three different tile service naming conventions supported by Azure Maps TileLayer class:
18
18
19
19
* X, Y, Zoom notation - Based on the zoom level, x is the column and y is the row position of the tile in the tile grid.
20
20
* Quadkey notation - Combination x, y, zoom information into a single string value that is a unique identifier for a tile.
@@ -39,7 +39,7 @@ To complete the process in this article, you need to install [Azure Maps iOS SDK
39
39
40
40
## Add a tile layer to the map
41
41
42
-
This sample shows how to create a tile layer that points to a set of tiles. This sample uses the "x, y, zoom" tiling system. The source of this tile layer is the [OpenSeaMap project](https://openseamap.org/index.php), which contains crowd sourced nautical charts. Often when viewing tile layers it is desirable to be able to clearly see the labels of cities on the map. This behavior can be achieved by inserting the tile layer below the map label layers.
42
+
This sample shows how to create a tile layer that points to a set of tiles. This sample uses the "x, y, zoom" tiling system. The source of this tile layer is the [OpenSeaMap project](https://openseamap.org/index.php), which contains crowd sourced nautical charts. Often when viewing tile layers it's desirable to be able to clearly see the labels of cities on the map. This behavior can be achieved by inserting the tile layer below the map label layers.
43
43
44
44
```swift
45
45
map.layers.insertLayer(
@@ -60,7 +60,7 @@ The following screenshot shows the above code displaying a tile layer of nautica
60
60
61
61
## Add an OGC web-mapping service (WMS)
62
62
63
-
A web-mapping service (WMS) is an Open Geospatial Consortium (OGC) standard for serving images of map data. There are many open data sets available in this format that you can use with Azure Maps. This type of service can be used with a tile layer if the service supports the `EPSG:3857` coordinate reference system (CRS). When using a WMS service, set the width and height parameters to the same value that is supported by the service, be sure to set this same value in the `tileSize` option. In the formatted URL, set the `BBOX` parameter of the service with the `{bbox-epsg-3857}` placeholder.
63
+
A web-mapping service (WMS) is an Open Geospatial Consortium (OGC) standard for serving images of map data. There are many open data sets available in this format that you can use with Azure Maps. This type of service can be used with a tile layer if the service supports the `EPSG:3857` coordinate reference system (CRS). When using a WMS service, set the width and height parameters to the same value supported by the service, be sure to set this same value in the `tileSize` option. In the formatted URL, set the `BBOX` parameter of the service with the `{bbox-epsg-3857}` placeholder.
64
64
65
65
```swift
66
66
map.layers.insertLayer(
@@ -78,7 +78,7 @@ The following screenshot shows the above code overlaying a web-mapping service o
78
78
79
79
## Add an OGC web-mapping tile service (WMTS)
80
80
81
-
A web-mapping tile service (WMTS) is an Open Geospatial Consortium (OGC) standard for serving tiled based overlays for maps. There are many open data sets available in this format that you can use with Azure Maps. This type of service can be used with a tile layer if the service supports the `EPSG:3857` or `GoogleMapsCompatible` coordinate reference system (CRS). When using a WMTS service, set the width and height parameters to the same value that is supported by the service, be sure to set this same value in the `tileSize` option. In the formatted URL, replace the following placeholders accordingly:
81
+
A web-mapping tile service (WMTS) is an Open Geospatial Consortium (OGC) standard for serving tiled based overlays for maps. There are many open data sets available in this format that you can use with Azure Maps. This type of service can be used with a tile layer if the service supports the `EPSG:3857` or `GoogleMapsCompatible` coordinate reference system (CRS). When using a WMTS service, set the width and height parameters to the same value supported by the service, be sure to set this same value in the `tileSize` option. In the formatted URL, replace the following placeholders accordingly:
0 commit comments