Skip to content

Commit 3a43f76

Browse files
author
anastasia-ms
committed
stateSetId to statesetId
1 parent a444d8b commit 3a43f76

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The Azure Maps Web SDK includes the *Azure Maps Indoor* module. The *Azure Maps
1919
1. [Make an Azure Maps account](quick-demo-map-app.md#create-an-account-with-azure-maps)
2020
2. [Create a Creator resource](how-to-manage-creator.md)
2121
3. [Obtain a primary subscription key](quick-demo-map-app.md#get-the-primary-key-for-your-account), also known as the primary key or the subscription key.
22-
4. Get a `tilesetId` and a `stateSetId` by completing the [tutorial for creating Indoor maps](tutorial-creator-indoor-maps.md).
22+
4. Get a `tilesetId` and a `statesetId` by completing the [tutorial for creating Indoor maps](tutorial-creator-indoor-maps.md).
2323
You'll need to use these identifiers to render indoor maps with the Azure Maps Indoor Maps module.
2424

2525
## Embed the Indoor Maps module
@@ -72,31 +72,31 @@ First, create a *Map object*. The *Map object* will be used in the next step to
7272

7373
## Instantiate the Indoor Manager
7474

75-
To load the indoor tilesets and map style of the tiles, you must instantiate the *Indoor Manager*. Instantiate the *Indoor Manager* by providing the *Map object* and the corresponding `tilesetId`. 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.
75+
To load the indoor tilesets and map style of the tiles, you must instantiate the *Indoor Manager*. Instantiate the *Indoor Manager* by providing the *Map object* and the corresponding `tilesetId`. 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.
7676

7777
```javascript
7878
const tilesetId = "";
79-
const stateSetId = "";
79+
const statesetId = "";
8080

8181
const indoorManager = new atlas.indoor.IndoorManager(map, {
8282
tilesetId: "<tilesetId>",
83-
stateSetId: "<stateSetId>" // Optional
83+
statesetId: "<statesetId>" // Optional
8484
});
8585
```
8686

87-
To enable polling of state data you provide, you must provide the `stateSetId` and call `indoorManager.setDynamicStyling(true)`. Polling state data lets you dynamically update the state of dynamic properties or *states*. For example, a feature such as room can have a dynamic property (*state*) called `occupancy`. Your application may wish to poll for any *state* changes to reflect the change inside the visual map. The code below shows you how to enable state polling:
87+
To enable polling of state data you provide, you must provide the `statesetId` and call `indoorManager.setDynamicStyling(true)`. Polling state data lets you dynamically update the state of dynamic properties or *states*. For example, a feature such as room can have a dynamic property (*state*) called `occupancy`. Your application may wish to poll for any *state* changes to reflect the change inside the visual map. The code below shows you how to enable state polling:
8888

8989
```javascript
9090

9191
const tilesetId = "";
92-
const stateSetId = "";
92+
const statesetId = "";
9393

9494
const indoorManager = new atlas.indoor.IndoorManager(map, {
9595
tilesetId: "<tilesetId>",
96-
stateSetId: "<stateSetId>" // Optional
96+
statesetId: "<statesetId>" // Optional
9797
});
9898

99-
if (stateSetId.length > 0) {
99+
if (statesetId.length > 0) {
100100
indoorManager.setDynamicStyling(true);
101101
}
102102

@@ -148,7 +148,7 @@ This example shows you how to use the *Azure Maps Indoor* module in your web app
148148
- `style` allows you to set the color of the background. To display a white background, define `style` as "blank".
149149
- `zoom` allows you to specify the min and max zoom levels for your map.
150150

151-
5. Next, create the *Indoor Manager* module. Assign the *Azure Maps Indoor* `tilesetId`, and optionally add the `stateSetId`.
151+
5. Next, create the *Indoor Manager* module. Assign the *Azure Maps Indoor* `tilesetId`, and optionally add the `statesetId`.
152152

153153
6. Instantiate the *Indoor Level Picker* control.
154154

@@ -188,7 +188,7 @@ Your file should now look similar to the HTML below.
188188
<script>
189189
const subscriptionKey = "<your Azure Maps Primary Subscription Key>";
190190
const tilesetId = "<your tilesetId>";
191-
const stateSetId = "<your stateSetId>";
191+
const statesetId = "<your statesetId>";
192192
193193
const map = new atlas.Map("map-id", {
194194
//use your facility's location
@@ -206,10 +206,10 @@ Your file should now look similar to the HTML below.
206206
const indoorManager = new atlas.indoor.IndoorManager(map, {
207207
levelControl, //level picker
208208
tilesetId,
209-
stateSetId, //optional
209+
statesetId, //optional
210210
});
211211
212-
if (stateSetId.length > 0) {
212+
if (statesetId.length > 0) {
213213
indoorManager.setDynamicStyling(true);
214214
}
215215

articles/azure-maps/indoor-map-dynamic-styling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This tutorial uses the [Postman](https://www.postman.com/) application, but you
2727

2828
## Implement dynamic styling
2929

30-
Once you complete the prerequisites, you should have a simple web application configured with your subscription key, `tilesetId`, and `stateSetId`.
30+
Once you complete the prerequisites, you should have a simple web application configured with your subscription key, `tilesetId`, and `statesetId`.
3131

3232
### Select features
3333

0 commit comments

Comments
 (0)