Skip to content

Commit 3d33c34

Browse files
authored
0.2.1 update
1 parent 87c75f1 commit 3d33c34

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

articles/azure-maps/release-notes-indoor-module.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,56 @@ services: azure-maps
1414

1515
This document contains information about new features and other changes to the Azure Maps Indoor Module.
1616

17+
## [0.2.1]
18+
19+
### New features (0.2.1)
20+
21+
- multiple statesets are now supported for map configurations with multiple tileset, instead of single stateset Id, a mapping between tileset ids and stateset ids can be passed:
22+
23+
```js
24+
indoorManager.setOptions({
25+
statesetId: {
26+
'tilesetId1': 'stasetId1',
27+
'tilesetId2': 'stasetId2'
28+
}
29+
});
30+
31+
indoorManager.setDynamicStyling(true)
32+
```
33+
34+
- autofocus and autofocusOptions support: when you set autofocus on `IndoorManagerOptions`, the camera will be focused on the indoor facilities once the indoor map is loaded. Camera options can be further customized via autofocus options:
35+
36+
```js
37+
indoorManager.setOptions({
38+
autofocus: true,
39+
autofocusOptions: {
40+
padding: { top: 50, bottom: 50, left: 50, right: 50 }
41+
}
42+
});
43+
```
44+
45+
- focusCamera support: instead of `autofocus`, you can call `focusCamera` directly. (Alternative to `autofocus`, when indoor map configuration is used, tilesetId can be provided to focus on a specific facility only, otherwise bounds that enclose all facilities will be used):
46+
47+
```js
48+
indoorManager.focusCamera({
49+
type: 'ease',
50+
duration: 1000,
51+
padding: { top: 50, bottom: 50, left: 50, right: 50 }
52+
})
53+
```
54+
55+
- level name labels in LevelControl (in addition to `ordinal`, LevelControl can now display level names derived from 'name' property of level features) :
56+
57+
```js
58+
indoorManager.setOptions({
59+
levelControl: new LevelControl({ levelLabel: 'name' })
60+
});
61+
```
62+
63+
### Bug fixes (0.2.1)
64+
65+
- level preference sorting fixed
66+
1767
## [0.2.0]
1868

1969
### New features (0.2.0)
@@ -47,6 +97,7 @@ Stay up to date on Azure Maps:
4797
> [Azure Maps Blog]
4898
4999
[drawing package 2.0]: ./drawing-package-guide.md
100+
[0.2.1]: https://www.npmjs.com/package/azure-maps-indoor/v/0.2.1
50101
[0.2.0]: https://www.npmjs.com/package/azure-maps-indoor/v/0.2.0
51102
[Azure Maps Creator Samples]: https://samples.azuremaps.com/?search=creator
52103
[Azure Maps Blog]: https://techcommunity.microsoft.com/t5/azure-maps-blog/bg-p/AzureMapsBlog

0 commit comments

Comments
 (0)