@tomtom-org/maps-sdk 0.30.2 → 0.31.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.
- package/CHANGELOG.md +14 -0
- package/README.md +4 -3
- package/core/dist/core.cjs.js +19 -1
- package/core/dist/core.cjs.js.map +1 -1
- package/core/dist/core.cjs.min.js +1 -1
- package/core/dist/core.cjs.min.js.map +1 -1
- package/core/dist/core.es.js +1 -1
- package/core/dist/core.es.js.map +1 -1
- package/core/dist/index.d.ts +22 -7
- package/core/package.json +0 -8
- package/map/dist/THIRD_PARTY.txt +132 -5
- package/map/dist/index.d.ts +246 -147
- package/map/dist/map.cjs.js +261 -150
- package/map/dist/map.cjs.js.map +1 -1
- package/map/dist/map.cjs.min.js +1 -1
- package/map/dist/map.cjs.min.js.map +1 -1
- package/map/dist/map.es.js +1 -1
- package/map/dist/map.es.js.map +1 -1
- package/map/package.json +0 -8
- package/package.json +3 -13
- package/services/dist/index.d.ts +119 -106
- package/services/dist/services.cjs.js +51 -1
- package/services/dist/services.cjs.js.map +1 -1
- package/services/dist/services.cjs.min.js +1 -1
- package/services/dist/services.cjs.min.js.map +1 -1
- package/services/dist/services.es.js +1 -1
- package/services/dist/services.es.js.map +1 -1
- package/services/package.json +0 -8
- package/sdk-examples-collage.png +0 -0
- package/tomtom-logo-big.svg +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.31.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.30.2...v0.31.0) (2025-11-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* improve places module configuration and examples ([674ee83](https://github.com/tomtom-internal/maps-sdk-js/commit/674ee83599ce59751e3183b9b3e00569e52cbfd3))
|
|
11
|
+
* sdk automatically loads MapLibre CSS if not done by the caller ([626a597](https://github.com/tomtom-internal/maps-sdk-js/commit/626a59751c468c6d5deb02ce34779c348ec868f2))
|
|
12
|
+
* upgrade to new map style with new traffic incident icons ([1b228b5](https://github.com/tomtom-internal/maps-sdk-js/commit/1b228b586a59232765d4c33c05b8b334d5246416))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* search exports and using typeahead true for fuzzy search examples ([8601314](https://github.com/tomtom-internal/maps-sdk-js/commit/8601314a4c1f40a364d713bda8e2e7806cf69baa))
|
|
18
|
+
|
|
5
19
|
## [0.30.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.30.1...v0.30.2) (2025-11-06)
|
|
6
20
|
|
|
7
21
|
|
package/README.md
CHANGED
|
@@ -17,8 +17,9 @@ to seamlessly integrate TomTom maps and services with convenient out-of-the-box
|
|
|
17
17
|
|
|
18
18
|
## ⚠️ Public Preview Notice
|
|
19
19
|
We have released some capabilities in the Maps SDK under [Public Preview](https://docs.tomtom.com/legal/public-preview) to collect feedback from the community.
|
|
20
|
-
While our goal is to keep the design of the interface stable, breaking changes
|
|
21
|
-
|
|
20
|
+
- While our goal is to keep the design of the interface stable, breaking changes will occur, particularly in the earlier versions.
|
|
21
|
+
- The versions will follow a 0.MAJOR.MINOR pattern for the time being.
|
|
22
|
+
- Stay tuned with our release `CHANGELOG.md` files.
|
|
22
23
|
<br/><br/>
|
|
23
24
|
|
|
24
25
|
## 🚀 Getting Started using npm
|
|
@@ -45,7 +46,7 @@ Explore comprehensive guides and interactive examples to get the most out of Map
|
|
|
45
46
|
- **[API Reference](https://docs.tomtom.com/maps-sdk-js/reference/overview)** - Complete API documentation
|
|
46
47
|
|
|
47
48
|
### 📝 Latest Updates
|
|
48
|
-
- **[Release Notes](https://docs.tomtom.com/maps-sdk-js/
|
|
49
|
+
- **[Release Notes](https://docs.tomtom.com/maps-sdk-js/introduction/release-notes)** - What's new and breaking changes
|
|
49
50
|
<br/><br/>
|
|
50
51
|
|
|
51
52
|
## 🌍 Where can you run it on?
|
package/core/dist/core.cjs.js
CHANGED
|
@@ -154,6 +154,23 @@ const avoidableTypes = [
|
|
|
154
154
|
"carTrains",
|
|
155
155
|
"lowEmissionZones"
|
|
156
156
|
];
|
|
157
|
+
const trafficCategories = [
|
|
158
|
+
"jam",
|
|
159
|
+
"accident",
|
|
160
|
+
"roadworks",
|
|
161
|
+
"road-closed",
|
|
162
|
+
"narrow-lanes",
|
|
163
|
+
"danger",
|
|
164
|
+
"animals-on-road",
|
|
165
|
+
"broken-down-vehicle",
|
|
166
|
+
"lane-closed",
|
|
167
|
+
"wind",
|
|
168
|
+
"fog",
|
|
169
|
+
"rain",
|
|
170
|
+
"frost",
|
|
171
|
+
"flooding",
|
|
172
|
+
"other"
|
|
173
|
+
];
|
|
157
174
|
const inputSectionTypes = [
|
|
158
175
|
"carTrain",
|
|
159
176
|
"ferry",
|
|
@@ -273,7 +290,7 @@ const validateTrackingId = (trackingId) => {
|
|
|
273
290
|
return trackingId;
|
|
274
291
|
};
|
|
275
292
|
const generateTomTomHeaders = (params) => ({
|
|
276
|
-
"TomTom-User-Agent": `${TOMTOM_USER_AGENT_SDK_NAME}/${"0.
|
|
293
|
+
"TomTom-User-Agent": `${TOMTOM_USER_AGENT_SDK_NAME}/${"0.31.0"}`,
|
|
277
294
|
// TODO: restore if we implement oauth2 access
|
|
278
295
|
// optional oauth2 access token:
|
|
279
296
|
// ...(params.apiAccessToken && { Authorization: `Bearer ${params.apiAccessToken}` }),
|
|
@@ -508,5 +525,6 @@ exports.placeTypes = placeTypes;
|
|
|
508
525
|
exports.plugTypes = plugTypes;
|
|
509
526
|
exports.sectionTypes = sectionTypes;
|
|
510
527
|
exports.toPointFeature = toPointFeature;
|
|
528
|
+
exports.trafficCategories = trafficCategories;
|
|
511
529
|
exports.views = views;
|
|
512
530
|
//# sourceMappingURL=core.cjs.js.map
|