Skip to content

Commit 1caca61

Browse files
authored
Merge pull request #232833 from ambientlight/users/tarasvozniuk/feat/azmaps-indoor-0.2.1
Azure Maps Indoor: 0.2.1 release notes
2 parents 7be4fda + 7ac6ff9 commit 1caca61

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

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

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,61 @@ 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 is 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 are 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+
### Changes (0.2.1)
63+
64+
- non level-bound features are now displayed
65+
66+
### Bug fixes (0.2.1)
67+
68+
- fix facility state not initialized when tile loads don't emit `sourcedata` event
69+
70+
- level preference sorting fixed
71+
1772
## [0.2.0]
1873

1974
### New features (0.2.0)
@@ -47,6 +102,7 @@ Stay up to date on Azure Maps:
47102
> [Azure Maps Blog]
48103
49104
[drawing package 2.0]: ./drawing-package-guide.md
105+
[0.2.1]: https://www.npmjs.com/package/azure-maps-indoor/v/0.2.1
50106
[0.2.0]: https://www.npmjs.com/package/azure-maps-indoor/v/0.2.0
51107
[Azure Maps Creator Samples]: https://samples.azuremaps.com/?search=creator
52108
[Azure Maps Blog]: https://techcommunity.microsoft.com/t5/azure-maps-blog/bg-p/AzureMapsBlog

0 commit comments

Comments
 (0)