Skip to content

Commit f4ba9b1

Browse files
committed
Review feedback
1 parent 13eec2d commit f4ba9b1

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

articles/azure-maps/how-to-create-custom-styles.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ ms.service: azure-maps
1010
services: azure-maps
1111
---
1212

13-
# Create custom styles for indoor maps (Preview)
13+
# Create custom styles for indoor maps (preview)
1414

1515
When you create an indoor map using Azure Maps Creator, default styles are applied. This article discusses how to customize these styling elements.
1616

1717
## Prerequisites
1818

19-
1. Understanding of [Creator concepts](creator-indoor-maps.md).
20-
1. An Azure Maps Creator [tileset][tileset]. If you have never used Azure Maps Creator to create an indoor map, you might find the [Use Creator to create indoor maps][tutorial] tutorial helpful.
19+
- Understanding of [Creator concepts](creator-indoor-maps.md).
20+
- An Azure Maps Creator [tileset][tileset]. If you have never used Azure Maps Creator to create an indoor map, you might find the [Use Creator to create indoor maps][tutorial] tutorial helpful.
2121

2222
## Create custom styles using Creators visual editor
2323

@@ -83,7 +83,7 @@ To change the background color for all units in the specified layer, put your mo
8383
8484
Open the color palette and select the color you wish to change the selected unit to.
8585
86-
:::image type="content" source="./media/creator-indoor-maps/style-editor/visual-editor-select-color-palate.png" alt-text="A screenshot of the color pallet in the visual style editor." lightbox="./media/creator-indoor-maps/style-editor/visual-editor-select-color-palate.png":::
86+
:::image type="content" source="./media/creator-indoor-maps/style-editor/visual-editor-select-color-palette.png" alt-text="A screenshot of the color pallet in the visual style editor." lightbox="./media/creator-indoor-maps/style-editor/visual-editor-select-color-palette.png":::
8787
8888
#### Base map
8989

articles/azure-maps/how-to-use-indoor-module.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Use the Azure Maps Indoor Maps module with Microsoft Creator services with custom styles (Preview)
2+
title: Use the Azure Maps Indoor Maps module with Microsoft Creator services with custom styles (preview)
33
description: Learn how to use the Microsoft Azure Maps Indoor Maps module to render maps by embedding the module's JavaScript libraries.
44
author: stevemunk
55
ms.author: v-munksteve
@@ -10,18 +10,18 @@ services: azure-maps
1010
ms.custom: devx-track-js
1111
---
1212

13-
# Use the Azure Maps Indoor Maps module with custom styles (Preview)
13+
# Use the Azure Maps Indoor Maps module with custom styles (preview)
1414

1515
The Azure Maps Web SDK includes the *Azure Maps Indoor* module, enabling you to render indoor maps created in Azure Maps Creator services.
1616

1717
When you create an indoor map using Azure Maps Creator, default styles are applied. Azure Maps Creator now also supports customizing the styles of the different elements of your indoor maps using the [Style Rest API](/rest/api/maps/v20220901preview/style), or the [visual style editor](https://azure.github.io/Azure-Maps-Style-Editor/).
1818

1919
## Prerequisites
2020

21-
1. [Azure Maps account](quick-demo-map-app.md#create-an-azure-maps-account)
22-
1. [Azure Maps Creator resource](how-to-manage-creator.md)
23-
1. [Subscription key](quick-demo-map-app.md#get-the-primary-key-for-your-account).
24-
1. [Map configuration][mapConfiguration] alias or ID. If you have never used Azure Maps Creator to create an indoor map, you might find the [Use Creator to create indoor maps][tutorial] tutorial helpful.
21+
- [Azure Maps account](quick-demo-map-app.md#create-an-azure-maps-account)
22+
- [Azure Maps Creator resource](how-to-manage-creator.md)
23+
- [Subscription key](quick-demo-map-app.md#get-the-primary-key-for-your-account).
24+
- [Map configuration][mapConfiguration] alias or ID. If you have never used Azure Maps Creator to create an indoor map, you might find the [Use Creator to create indoor maps][tutorial] tutorial helpful.
2525

2626
You'll need the map configuration `alias` (or `mapConfigurationId`) to render indoor maps with custom styles via the Azure Maps Indoor Maps module.
2727

@@ -88,7 +88,7 @@ const map = new atlas.Map("map-id", {
8888

8989
To load the indoor map style of the tiles, you must instantiate the *Indoor Manager*. Instantiate the *Indoor Manager* by providing the *Map object*. If you wish to support [dynamic map styling](indoor-map-dynamic-styling.md), you must pass the `statesetId`. The `statesetId` variable name is case-sensitive. Your code should like the JavaScript below.
9090

91-
```javascript
91+
```javascriptf
9292
const statesetId = "<statesetId>";
9393
9494
const indoorManager = new atlas.indoor.IndoorManager(map, {
@@ -110,7 +110,7 @@ if (statesetId.length > 0) {
110110
}
111111
```
112112

113-
## Indoor Level Picker Control
113+
## Indoor level picker control
114114

115115
The *Indoor Level Picker* control allows you to change the level of the rendered map. You can optionally initialize the *Indoor Level Picker* control via the *Indoor Manager*. Here's the code to initialize the level control picker:
116116

@@ -119,7 +119,7 @@ const levelControl = new atlas.control.LevelControl({ position: "top-right" });
119119
indoorManager.setOptions({ levelControl });
120120
```
121121

122-
## Indoor Events
122+
## Indoor events
123123

124124
The *Azure Maps Indoor* module supports *Map object* events. The *Map object* event listeners are invoked when a level or facility has changed. If you want to run code when a level or a facility have changed, place your code inside the event listener. The code below shows how event listeners can be added to the *Map object*.
125125

@@ -139,7 +139,7 @@ map.events.add("facilitychanged", indoorManager, (eventData) => {
139139

140140
The `eventData` variable holds information about the level or facility that invoked the `levelchanged` or `facilitychanged` event, respectively. When a level changes, the `eventData` object will contain the `facilityId`, the new `levelNumber`, and other metadata. When a facility changes, the `eventData` object will contain the new `facilityId`, the new `levelNumber`, and other metadata.
141141

142-
## Example: Custom Styling: Consume map configuration in WebSDK (Preview)
142+
## Example: custom styling: consume map configuration in WebSDK (preview)
143143

144144
When you create an indoor map using Azure Maps Creator, default styles are applied. Azure Maps Creator now also supports customizing your indoor styles. For more information, see [Create custom styles for indoor maps](how-to-create-custom-styles.md). Creator also offers a [visual style editor][visual style editor].
145145

articles/azure-maps/tutorial-creator-indoor-maps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ To check the status of the tileset creation process and retrieve the `tilesetId`
340340
341341
:::image type="content" source="./media/tutorial-creator-indoor-maps/tileset-id.png" alt-text="A screenshot of Postman highlighting the tileset ID that is part of the value of the resource location URL in the responses header.":::
342342
343-
## The map configuration (Preview)
343+
## The map configuration (preview)
344344
345345
Once your tileset creation completes, you can get the `mapConfigurationId` using the [tileset get](/rest/api/maps/v20220901preview/tileset/get) HTTP request:
346346

0 commit comments

Comments
 (0)