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
-Add `progressiveLoading` and `progressiveLoadingInitialLayerGroups` to [StyleOptions][StyleOptions] to enable the capability of loading map layers progressively. This feature improves the perceived loading time of the map. For more information, see [2.2.1 release notes](#221-december-9-2022).
21
+
Add `progressiveLoading` and `progressiveLoadingInitialLayerGroups` to [StyleOptions][StyleOptions] to enable the capability of loading map layers progressively. This feature improves the perceived loading time of the map. For more information, see [2.2.2 release notes](#222-december-15-2022).
22
22
23
-
### Bug Fixes
23
+
The preview is available on [npm](https://www.npmjs.com/package/azure-maps-control/v/3.0.0-preview.2) and CDN.
24
+
25
+
- Install [azure-maps-control@next][azure-maps-control] to your dependencies:
26
+
```shell
27
+
npm i azure-maps-control@next
28
+
```
29
+
30
+
- Reference the following CSS and JavaScript in the `<head>` element of an HTML file:
- Fix an issue that the ordering of user layers wasn't preserved after calling `map.layers.move()`.
26
39
27
-
- Fix the initial state of `incidents` will always be true in [TrafficControl][TrafficControl].
40
+
- Fix the inability to disable traffic incidentsin [TrafficControlOptions][TrafficControlOptions] when `new atlas.control.TrafficControl({incidents: false})` is used.
28
41
29
42
- Add `.atlas-map` to all css selectors to scope the styles within the map container. The fix prevents the css from accidentally adding unwanted styles to other elements on the page.
-This update is the first preview of the upcoming 3.0.0 release. There's no breaking change except that the underlying [maplibre-gl][maplibre-gl] dependency has been upgraded from `1.14` to `3.0.0-pre.1`, which offers improvements in stability and performance. The preview is available on npm and CDN.
48
+
This update is the first preview of the upcoming 3.0.0 release. The underlying [maplibre-gl][maplibre-gl] dependency has been upgraded from `1.14` to `3.0.0-pre.1`, offering improvements in stability and performance. The preview is available on [npm](https://www.npmjs.com/package/azure-maps-control/v/3.0.0-preview.1).
36
49
37
50
- Install [azure-maps-control@next][azure-maps-control] to your dependencies:
38
51
```shell
39
52
npm i azure-maps-control@next
40
53
```
41
54
42
-
- Reference the following CSS and JavaScript in the `<head>` element of an HTML file:
- Add `progressiveLoading` and `progressiveLoadingInitialLayerGroups` to [StyleOptions][StyleOptions] to enable the capability of loading map layers progressively. This feature improves the perceived loading time of the map.
64
-
- `progressiveLoading`
65
-
- Enables progressive loading of map layers.
66
-
- Defaults to false.
67
-
- `progressiveLoadingInitialLayerGroups`
68
-
- Specifies the layer groups to load first.
69
-
- Defaults to ["base"].
70
-
- Possible values are `base`, `transit`, `labels`, `buildings`, and `labels_places`.
71
-
- Other layer groups are deferred such that the initial layer groups can be loaded first.
68
+
Add `progressiveLoading` and `progressiveLoadingInitialLayerGroups` to [StyleOptions][StyleOptions] to enable the capability of loading map layers progressively. This feature improves the perceived loading time of the map.
69
+
- `progressiveLoading`
70
+
- Enables progressive loading of map layers.
71
+
- Defaults to `false`.
72
+
- `progressiveLoadingInitialLayerGroups`
73
+
- Specifies the layer groups to load first.
74
+
- Defaults to `["base"]`.
75
+
- Possible values are `base`, `transit`, `labels`, `buildings`, and `labels_places`.
76
+
- Other layer groups are deferred such that the initial layer groups can be loaded first.
72
77
73
-
### Bug Fixes
78
+
### Bug fixes
74
79
75
80
- Fix an issue that the ordering of user layers wasn't preserved after calling `map.layers.move()`.
76
81
77
-
- Fix the initial state of `incidents` will always be true in [TrafficControl][TrafficControl].
82
+
- Fix the inability to disable traffic incidentsin [TrafficControlOptions][TrafficControlOptions] when `new atlas.control.TrafficControl({incidents: false})` is used.
0 commit comments