Skip to content

Commit f8a6496

Browse files
committed
Corrections
1 parent dbd7d44 commit f8a6496

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

articles/azure-maps/choose-map-style.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Change the style of the map in Azure Maps | Microsoft Azure Maps
3-
description: In this article, you will learn about style related functionalities available in Microsoft Azure Maps web SDK.
3+
description: In this article, you will learn about style-related functionalities available in Microsoft Azure Maps web SDK.
44
author: farah-alyasari
55
ms.author: v-faalya
66
ms.date: 07/29/2019
@@ -12,11 +12,11 @@ manager: timlt
1212

1313
# Change the style of the map
1414

15-
The map supports several different [style options](https://docs.microsoft.com/javascript/api/azure-maps-control/atlas.styleoptions) which can be set when the map is being initialized or later using the maps `setStyle` function. This article shows how to use these style options to customize the how the map appears. Learn to set a style upon loading a map, and learn to set a new map style using the style picker control.
15+
The map supports several different [style options](https://docs.microsoft.com/javascript/api/azure-maps-control/atlas.styleoptions) that can be set when the map is being initialized or later using the maps `setStyle` function. This article shows how to use these style options to customize the maps appearance. Learn to set a style upon loading a map, and learn to set a new map style using the style picker control.
1616

1717
## Set the style options
1818

19-
Style options can be passed into the map when it is initiallized or updated later using the maps `setStyle` function.
19+
Style options can be passed into the map when it is initialized or updated later using the maps `setStyle` function.
2020

2121
```javascript
2222
//Set the style options when creating the map.
@@ -50,7 +50,7 @@ One of the most common map style options is used to change the style of the base
5050
### Set base map style on map load
5151
5252
53-
The map style can be specifieid when initializing the map by setting the `style` option. In the following code, the `style` option of the map is set to `grayscale_dark` on initialization.
53+
The map style can be specified when initializing the map by setting the `style` option. In the following code, the `style` option of the map is set to `grayscale_dark` on initialization.
5454
5555
```javascript
5656
var map = new atlas.Map('map', {
@@ -95,7 +95,7 @@ The second layout option is called `list` and displays a scrollable list of map
9595
![Style picker list layout](media/choose-map-style/style-picker-list-layout.png)</center>
9696
9797
98-
The following code shows how to create an instance of the style picker control and add it to the top-right corner of the map. The style picker is set to have a dark style and show a selected few map styles using the list layer .
98+
The following code shows how to create an instance of the style picker control and add it to the top right corner of the map. The style picker is set to have a dark style and show a selected few map styles using the list layer.
9999
100100
```javascript
101101
map.controls.add(new atlas.control.StyleControl({

articles/azure-maps/data-driven-style-expressions-web-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ An image expression can be used with the `image` and `textField` options of a sy
794794

795795
**Example**
796796

797-
The foloowing example uses an `image` expression to add an icon inline with text in a symbol layer.
797+
The following example uses an `image` expression to add an icon inline with text in a symbol layer.
798798

799799
```javascript
800800
//Load the custom image icon into the map resources.

articles/azure-maps/map-add-drawing-toolbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Below is the complete running code sample of the functionality above:
6565

6666
## Change drawing rendering style
6767

68-
The style of the shapes that are drawn can be customized by retrieving the underlying layers of the drawing manager by using the `drawingManager.getLayers()` function and then setting options on the individual layers. The drag handles that appear for coordinates when editting a shape are HTML markers. The style of these drag handles can be customized by passing HTML marker options into the `dragHandleStyle` and `secondaryDragHandleStyle` options of the drawing manager.
68+
The style of the shapes that are drawn can be customized by retrieving the underlying layers of the drawing manager by using the `drawingManager.getLayers()` function and then setting options on the individual layers. The drag handles that appear for coordinates when editing a shape are HTML markers. The style of the drag handles can be customized by passing HTML marker options into the `dragHandleStyle` and `secondaryDragHandleStyle` options of the drawing manager.
6969

7070
The following code gets the rendering layers from the drawing manager and modifies their options to change rendering style for drawing. In this case, points will be rendered with a blue marker icon. Lines will be red and four pixels wide. Polygons will have a green fill color and an orange outline. It then changes the styles of the drag handles to be square icons.
7171

articles/azure-maps/map-create.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ When the map is zoomed out on a wide screen, multiple copies of the world will a
4343

4444
## Map options
4545

46-
When creating a map there are several different types of options that can be passed in to customize how the map functions as listed below.
46+
When creating a map there, are several different types of options that can be passed in to customize how the map functions as listed below.
4747

4848
- [CameraOptions](https://docs.microsoft.com/javascript/api/azure-maps-control/atlas.cameraoptions) and [CameraBoundOptions](https://docs.microsoft.com/javascript/api/azure-maps-control/atlas.cameraboundsoptions) are used to specify the area the map should display.
4949
- [ServiceOptions](https://docs.microsoft.com/javascript/api/azure-maps-control/atlas.serviceoptions) are used to specify how the map should interact with services that power the map.
5050
- [StyleOptions](https://docs.microsoft.com/javascript/api/azure-maps-control/atlas.styleoptions) are used to specify the map should be styled and rendered.
51-
- [UserInteractionOptions](https://docs.microsoft.com/javascript/api/azure-maps-control/atlas.userinteractionoptions) are used to specify how the map should reach when the user is iteracting with the map.
51+
- [UserInteractionOptions](https://docs.microsoft.com/javascript/api/azure-maps-control/atlas.userinteractionoptions) are used to specify how the map should reach when the user is interacting with the map.
5252

5353
These options can also be updated after the map has been loaded using the `setCamera`, `setServiceOptions`, `setStyle`, and `setUserInteraction` functions.
5454

0 commit comments

Comments
 (0)