You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-maps/release-notes-indoor-module.md
+56Lines changed: 56 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,61 @@ services: azure-maps
14
14
15
15
This document contains information about new features and other changes to the Azure Maps Indoor Module.
16
16
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):
0 commit comments