@tomtom-org/maps-sdk 0.42.0 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2207,7 +2207,7 @@ export declare type GlobalConfig = {
2207
2207
  * TomTom API key for authentication.
2208
2208
  *
2209
2209
  * Required for all SDK features. Obtain an API key from the
2210
- * [TomTom Developer Portal](https://developer.tomtom.com/).
2210
+ * [my.tomtom.com](https://my.tomtom.com/).
2211
2211
  *
2212
2212
  * @default None (required)
2213
2213
  */
@@ -1,69 +1,5 @@
1
- Name: lodash-es
2
- Version: 4.17.23
3
- License: MIT
4
- Private: false
5
- Description: Lodash exported as ES modules.
6
- Repository: undefined
7
- Homepage: https://lodash.com/custom-builds
8
- Author: John-David Dalton <john.david.dalton@gmail.com>
9
- Contributors:
10
- John-David Dalton <john.david.dalton@gmail.com>
11
- Mathias Bynens <mathias@qiwi.be>
12
- License Copyright:
13
- ===
14
-
15
- Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
16
-
17
- Based on Underscore.js, copyright Jeremy Ashkenas,
18
- DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
19
-
20
- This software consists of voluntary contributions made by many
21
- individuals. For exact contribution history, see the revision history
22
- available at https://github.com/lodash/lodash
23
-
24
- The following license applies to all parts of this software except as
25
- documented below:
26
-
27
- ====
28
-
29
- Permission is hereby granted, free of charge, to any person obtaining
30
- a copy of this software and associated documentation files (the
31
- "Software"), to deal in the Software without restriction, including
32
- without limitation the rights to use, copy, modify, merge, publish,
33
- distribute, sublicense, and/or sell copies of the Software, and to
34
- permit persons to whom the Software is furnished to do so, subject to
35
- the following conditions:
36
-
37
- The above copyright notice and this permission notice shall be
38
- included in all copies or substantial portions of the Software.
39
-
40
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
41
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
42
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
43
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
44
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
45
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
46
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
47
-
48
- ====
49
-
50
- Copyright and related rights for sample code are waived via CC0. Sample
51
- code is defined as all source code displayed within the prose of the
52
- documentation.
53
-
54
- CC0: http://creativecommons.org/publicdomain/zero/1.0/
55
-
56
- ====
57
-
58
- Files located in the node_modules and vendor directories are externally
59
- maintained libraries used by this software which have their own
60
- licenses; we recommend you read them, as their terms may differ from the
61
- terms above.
62
-
63
- ---
64
-
65
1
  Name: @turf/helpers
66
- Version: 7.3.3
2
+ Version: 7.3.4
67
3
  License: MIT
68
4
  Private: false
69
5
  Description: Provides helper functions to create GeoJSON features, like points, lines, or areas on a map.
@@ -102,7 +38,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
102
38
  ---
103
39
 
104
40
  Name: @turf/invariant
105
- Version: 7.3.3
41
+ Version: 7.3.4
106
42
  License: MIT
107
43
  Private: false
108
44
  Description: Lightweight utility for input validation and data extraction in Turf.js. Ensures GeoJSON inputs are in the correct format and extracts specific components like coordinates or geometries.
@@ -139,7 +75,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
139
75
  ---
140
76
 
141
77
  Name: @turf/bearing
142
- Version: 7.3.3
78
+ Version: 7.3.4
143
79
  License: MIT
144
80
  Private: false
145
81
  Description: Takes two points and finds the geographic bearing between them.
@@ -168,133 +104,4 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
168
104
  FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
169
105
  COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
170
106
  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
171
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
172
-
173
- ---
174
-
175
- Name: maplibre-gl
176
- Version: 5.17.0
177
- License: BSD-3-Clause
178
- Private: false
179
- Description: BSD licensed community fork of mapbox-gl, a WebGL interactive maps library
180
- Repository: https://github.com/maplibre/maplibre-gl-js
181
- Homepage: https://maplibre.org/
182
- License Copyright:
183
- ===
184
-
185
- Copyright (c) 2023, MapLibre contributors
186
-
187
- All rights reserved.
188
-
189
- Redistribution and use in source and binary forms, with or without modification,
190
- are permitted provided that the following conditions are met:
191
-
192
- * Redistributions of source code must retain the above copyright notice,
193
- this list of conditions and the following disclaimer.
194
- * Redistributions in binary form must reproduce the above copyright notice,
195
- this list of conditions and the following disclaimer in the documentation
196
- and/or other materials provided with the distribution.
197
- * Neither the name of MapLibre GL JS nor the names of its contributors
198
- may be used to endorse or promote products derived from this software
199
- without specific prior written permission.
200
-
201
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
202
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
203
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
204
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
205
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
206
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
207
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
208
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
209
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
210
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
211
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
212
-
213
-
214
- -------------------------------------------------------------------------------
215
-
216
- Contains code from mapbox-gl-js v1.13 and earlier
217
-
218
- Version v1.13 of mapbox-gl-js and earlier are licensed under a BSD-3-Clause license
219
-
220
- Copyright (c) 2020, Mapbox
221
- Redistribution and use in source and binary forms, with or without modification,
222
- are permitted provided that the following conditions are met:
223
-
224
- * Redistributions of source code must retain the above copyright notice,
225
- this list of conditions and the following disclaimer.
226
- * Redistributions in binary form must reproduce the above copyright notice,
227
- this list of conditions and the following disclaimer in the documentation
228
- and/or other materials provided with the distribution.
229
- * Neither the name of Mapbox GL JS nor the names of its contributors
230
- may be used to endorse or promote products derived from this software
231
- without specific prior written permission.
232
-
233
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
234
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
235
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
236
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
237
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
238
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
239
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
240
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
241
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
242
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
243
- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
244
-
245
-
246
- -------------------------------------------------------------------------------
247
-
248
- Contains code from glfx.js
249
-
250
- Copyright (C) 2011 by Evan Wallace
251
-
252
- Permission is hereby granted, free of charge, to any person obtaining a copy
253
- of this software and associated documentation files (the "Software"), to deal
254
- in the Software without restriction, including without limitation the rights
255
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
256
- copies of the Software, and to permit persons to whom the Software is
257
- furnished to do so, subject to the following conditions:
258
-
259
- The above copyright notice and this permission notice shall be included in
260
- all copies or substantial portions of the Software.
261
-
262
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
263
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
264
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
265
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
266
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
267
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
268
- THE SOFTWARE.
269
-
270
- --------------------------------------------------------------------------------
271
-
272
- Contains a portion of d3-color https://github.com/d3/d3-color
273
-
274
- Copyright 2010-2016 Mike Bostock
275
- All rights reserved.
276
-
277
- Redistribution and use in source and binary forms, with or without modification,
278
- are permitted provided that the following conditions are met:
279
-
280
- * Redistributions of source code must retain the above copyright notice, this
281
- list of conditions and the following disclaimer.
282
-
283
- * Redistributions in binary form must reproduce the above copyright notice,
284
- this list of conditions and the following disclaimer in the documentation
285
- and/or other materials provided with the distribution.
286
-
287
- * Neither the name of the author nor the names of contributors may be used to
288
- endorse or promote products derived from this software without specific prior
289
- written permission.
290
-
291
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
292
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
293
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
294
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
295
- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
296
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
297
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
298
- ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
299
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
300
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
107
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -7875,7 +7875,7 @@ export declare type TrafficCommonFilter = {
7875
7875
  * @example
7876
7876
  * ```ts
7877
7877
  * // Show only motorways and trunk roads
7878
- * roadCategories: { mode: 'show', values: ['motorway', 'trunk'] }
7878
+ * roadCategories: { show: 'only', values: ['motorway', 'trunk'] }
7879
7879
  * ```
7880
7880
  */
7881
7881
  roadCategories?: ValuesFilter<RoadCategory>;
@@ -7889,7 +7889,7 @@ export declare type TrafficCommonFilter = {
7889
7889
  * @example
7890
7890
  * ```ts
7891
7891
  * // Hide minor local streets
7892
- * roadSubCategories: { mode: 'hide', values: ['minor_local'] }
7892
+ * roadSubCategories: { show: 'all_except', values: ['minor_local'] }
7893
7893
  * ```
7894
7894
  */
7895
7895
  roadSubCategories?: ValuesFilter<TertiaryRoadCategory | StreetRoadCategory>;
@@ -7935,8 +7935,8 @@ export declare type TrafficFlowFilter = TrafficCommonFilter & {
7935
7935
  * // Show flow on motorways OR show road closures on any road
7936
7936
  * filters: {
7937
7937
  * any: [
7938
- * { roadCategories: { mode: 'show', values: ['motorway'] } },
7939
- * { showRoadClosures: 'show' }
7938
+ * { roadCategories: { show: 'only', values: ['motorway'] } },
7939
+ * { showRoadClosures: 'only' }
7940
7940
  * ]
7941
7941
  * }
7942
7942
  * ```
@@ -8204,7 +8204,7 @@ export declare type TrafficIncidentsFilter = TrafficCommonFilter & {
8204
8204
  * @example
8205
8205
  * ```ts
8206
8206
  * // Show only accidents and road closures
8207
- * incidentCategories: { mode: 'show', values: ['accident', 'road_closed'] }
8207
+ * incidentCategories: { show: 'only', values: ['accident', 'road_closed'] }
8208
8208
  * ```
8209
8209
  */
8210
8210
  incidentCategories?: ValuesFilter<IncidentCategory>;
@@ -8214,17 +8214,23 @@ export declare type TrafficIncidentsFilter = TrafficCommonFilter & {
8214
8214
  * @remarks
8215
8215
  * Controls display based on the severity of traffic delays caused by incidents.
8216
8216
  *
8217
- * Magnitude levels:
8218
- * - `0` - Unknown
8219
- * - `1` - Minor
8220
- * - `2` - Moderate
8221
- * - `3` - Major
8222
- * - `4` - Undefined
8217
+ * Available magnitude values:
8218
+ * - `'unknown'` - Unknown delay severity
8219
+ * - `'minor'` - Minor delays
8220
+ * - `'moderate'` - Moderate delays
8221
+ * - `'major'` - Major delays
8222
+ * - `'indefinite'` - Indefinite delays (e.g., road closures)
8223
8223
  *
8224
8224
  * @example
8225
8225
  * ```ts
8226
8226
  * // Show only major incidents
8227
- * magnitudes: { mode: 'show', values: [3] }
8227
+ * magnitudes: { show: 'only', values: ['major'] }
8228
+ *
8229
+ * // Show moderate and major incidents
8230
+ * magnitudes: { show: 'only', values: ['moderate', 'major'] }
8231
+ *
8232
+ * // Hide minor incidents
8233
+ * magnitudes: { show: 'all_except', values: ['minor'] }
8228
8234
  * ```
8229
8235
  */
8230
8236
  magnitudes?: ValuesFilter<DelayMagnitude>;
@@ -8252,8 +8258,8 @@ export declare type TrafficIncidentsFilter = TrafficCommonFilter & {
8252
8258
  * // Show major incidents OR road closures
8253
8259
  * filters: {
8254
8260
  * any: [
8255
- * { magnitudes: { mode: 'show', values: [3] } },
8256
- * { incidentCategories: { mode: 'show', values: ['road_closed'] } }
8261
+ * { magnitudes: { show: 'only', values: ['major'] } },
8262
+ * { incidentCategories: { show: 'only', values: ['road_closed'] } }
8257
8263
  * ]
8258
8264
  * }
8259
8265
  * ```