@tomtom-org/maps-sdk 1.0.0-rc.6 → 1.0.0-rc.7
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 +735 -795
- package/core/dist/core.es.js +1 -1
- package/core/dist/index.d.ts +2 -0
- package/map/dist/map.es.js +1 -1
- package/map/package.json +1 -1
- package/package.json +1 -1
- package/services/dist/services.es.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.0-rc.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- services: a call that adds its own `apiKey` to a request for the configured proxy sends the proxy's session cookie with it, so `trafficAreaAnalytics` with a Move Portal key works from a page on a site other than the proxy's. A call that changes `commonBaseURL` decides on its own merged config ([#2852](https://github.com/tomtom-internal/maps-sdk-js/pull/2852))
|
|
8
|
+
|
|
3
9
|
## 1.0.0-rc.6
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
13
|
+
- **Breaking:** map: The attribution shows the TomTom and OpenStreetMap credits as logos, each keeping its credit's link, with any other credit after them as text. ([#2045](https://github.com/tomtom-internal/maps-sdk-js/pull/2045))
|
|
8
14
|
|
|
9
15
|
- `attribution` takes `position` (the corner) and `padding` to place the logos. It only places them: no value turns them off or swaps them for plain text
|
|
10
16
|
- The logos are black with a white outline on every style, light and dark
|
|
@@ -13,7 +19,7 @@
|
|
|
13
19
|
- **Breaking:** CSS or layout code aimed at `.maplibregl-ctrl-attrib` no longer finds the attribution: place the logos clear of your layout with `position` and `padding`
|
|
14
20
|
- examples: `attribution-playground` places the logos in each corner, over every standard style, with or without their backdrop
|
|
15
21
|
|
|
16
|
-
-
|
|
22
|
+
- **Breaking:** core, services, map: a refused API key reads the same on the map as on a service call, so `PrivatePreviewAccess`, which both errors now carry, is imported from `@tomtom-org/maps-sdk/core`, not `@tomtom-org/maps-sdk/services` ([#2811](https://github.com/tomtom-internal/maps-sdk-js/pull/2811))
|
|
17
23
|
- core: `APIErrorDetails` declares `apiErrorCode` and `privatePreviewAccess` once, for one function to read a service call's error and the map's alike
|
|
18
24
|
- map: `TomTomMapError` implements it, as `SDKServiceError` does
|
|
19
25
|
- map: a style, tile, sprite or glyph refused with a JSON body names the API's own code in `apiErrorCode`, `'InvalidReferer'` when the key's domain restriction refused the page and `'Forbidden'` when the API isn't enabled for the key, and adds the API's own message to `message`
|
|
@@ -22,7 +28,7 @@
|
|
|
22
28
|
|
|
23
29
|
### Patch Changes
|
|
24
30
|
|
|
25
|
-
-
|
|
31
|
+
- map: `BaseMapModule` lights up the style's own 3D buildings: `buildings3D.hover` and `buildings3D.click` set the colour a hovered or clicked building turns towards, and `setBuildingColors` gives the buildings you pick by id a colour of their own ([#2821](https://github.com/tomtom-internal/maps-sdk-js/pull/2821))
|
|
26
32
|
|
|
27
33
|
- A building reacts while a `BaseMapModule` handler reaches the `buildings3D` group, and stays as drawn while you leave both colours unset
|
|
28
34
|
- A building the map data splits into parts lights up and takes its colour whole, by the id of any of its parts
|
|
@@ -32,13 +38,13 @@
|
|
|
32
38
|
- The four settings are knobs of `baseMapKnobCatalogue`, `buildings3D.{hover,click}.{color,intensity}`
|
|
33
39
|
- The new `base-map-buildings-interaction` example hovers, selects and paints buildings over Midtown Manhattan
|
|
34
40
|
|
|
35
|
-
-
|
|
41
|
+
- map: `getMapLight` reads where the map's light comes from, as a compass direction and an altitude, so a layer of your own can light its surfaces from the same direction as the 3D buildings ([#2732](https://github.com/tomtom-internal/maps-sdk-js/pull/2732))
|
|
36
42
|
|
|
37
43
|
- With neither `view.light.direction` nor `view.light.altitude` set, the light knobs leave MapLibre's position unset, so a colour, intensity or alignment on its own, and a clean style switch, leave `getMapLight` `undefined` instead of writing the 210°/60° default
|
|
38
44
|
|
|
39
|
-
-
|
|
45
|
+
- services: an unknown POI category logs its id, not the name the service sent ([#2815](https://github.com/tomtom-internal/maps-sdk-js/pull/2815))
|
|
40
46
|
|
|
41
|
-
-
|
|
47
|
+
- core: geometry helpers handle routes, boxes and cells across the antimeridian, and a new stop slots into a round trip where it belongs ([#2813](https://github.com/tomtom-internal/maps-sdk-js/pull/2813))
|
|
42
48
|
|
|
43
49
|
- core: `bboxFromGeoJSON` gives the narrowest box around shapes on both sides of the antimeridian, and `undefined` for a geometry missing its coordinates
|
|
44
50
|
- core: route positions, owned polygons and hexagon cells wrap past ±180° instead of jumping across the map
|
|
@@ -49,7 +55,7 @@
|
|
|
49
55
|
- core: bundlers drop `TomTomConfig` from an app that never reads it
|
|
50
56
|
- core: a junction's instruction keeps its lanes where a waypoint instruction shares its path point
|
|
51
57
|
|
|
52
|
-
-
|
|
58
|
+
- map: `setLanguage` also translates style labels that read their name inside an expression, such as POIs, states, peaks and ferries ([#2813](https://github.com/tomtom-internal/maps-sdk-js/pull/2813))
|
|
53
59
|
|
|
54
60
|
- map: a sourceless map error is `STYLE_LOAD_FAILED` only while a style loads, and `INTERNAL` otherwise
|
|
55
61
|
- map: colour knobs refuse colour forms MapLibre can't paint, instead of drawing nothing
|
|
@@ -70,7 +76,7 @@
|
|
|
70
76
|
- map: the map look reads a page background the browser reports in `oklch()` as painted
|
|
71
77
|
- map: POI and place category icon offsets apply where the style's own icon offset is a zoom ramp
|
|
72
78
|
|
|
73
|
-
-
|
|
79
|
+
- services: a `geoBias` with both a point and a bounding box fails validation as `INVALID_REQUEST`, and error statuses survive bodies the SDK can't read ([#2813](https://github.com/tomtom-internal/maps-sdk-js/pull/2813))
|
|
74
80
|
|
|
75
81
|
- services: search results map their fields, opening hours and polygon boxes as the service sends them, and keep area-scoped brands
|
|
76
82
|
- services: an XML error over HTTP/2 names its status, and an unread error body is freed
|
|
@@ -89,7 +95,7 @@
|
|
|
89
95
|
|
|
90
96
|
### Minor Changes
|
|
91
97
|
|
|
92
|
-
-
|
|
98
|
+
- **Breaking:** core: `formatDuration` returns a `string` for any `number`, so you can pass its result where a `string` is required with no fallback ([#2799](https://github.com/tomtom-internal/maps-sdk-js/pull/2799))
|
|
93
99
|
|
|
94
100
|
- **Breaking:** core: `0` gives `"0 min"` and any other duration under 30 seconds gives `"< 1 min"`, in your minute units, where it returned `undefined`. Only `undefined` still returns `undefined`, so where `undefined` hid a label for no delay or no wait, test the seconds before you format them
|
|
95
101
|
- map: `RoutingModule` still leaves out a traffic delay, a jam delay, a stop's wait and a duration difference that round to no minutes, and a summary bubble on a route under 30 seconds reads `"< 1 min"`
|
|
@@ -97,18 +103,18 @@
|
|
|
97
103
|
|
|
98
104
|
### Patch Changes
|
|
99
105
|
|
|
100
|
-
-
|
|
106
|
+
- map: `calculatePaddedBBox`, `calculatePaddedCenter` and `calculateFittingBBox` cut an element short of the map's full width and height from the side that leaves the most of the map visible, so a toolbar inset from the map edges leaves the area below it visible rather than none ([#2798](https://github.com/tomtom-internal/maps-sdk-js/pull/2798))
|
|
101
107
|
|
|
102
108
|
- map: this changes the result for any such element whose closest map edge is not that side, whether it floats, sits in a corner or touches one edge. A 600 × 150 px panel against the left edge of a 1280 × 720 px map cuts from the top, and a short panel in the top-right corner cuts from the top rather than the right
|
|
103
109
|
- map: an element spanning the map's full width or height cuts as before. If two sides leave the same area, the side nearest a map edge wins
|
|
104
110
|
|
|
105
|
-
-
|
|
111
|
+
- The README links the repository's security policy page, which sends a vulnerability report to TomTom's HackerOne program ([#2803](https://github.com/tomtom-internal/maps-sdk-js/pull/2803))
|
|
106
112
|
|
|
107
|
-
-
|
|
113
|
+
- map: waypoint labels win over the route's section icons, and the section focus ring outlines the route instead of crossing it ([#2807](https://github.com/tomtom-internal/maps-sdk-js/pull/2807))
|
|
108
114
|
- A tunnel, closed-to-vehicles, ferry, toll-road or traffic icon under a stop's name gives way to it, as it does to the pin, rather than pushing the name aside.
|
|
109
115
|
- `setSectionFocus` draws its ring under the route's own lines, so on a road that doubles back, or where focused sections meet end to end, the route covers the ring rather than the ring crossing it.
|
|
110
116
|
|
|
111
|
-
-
|
|
117
|
+
- services: `geocode` and `discoverPlaces` take a bare query string, the same as `{ query }`, as `geocodeOne` and `discoverOnePlace` already do ([#2797](https://github.com/tomtom-internal/maps-sdk-js/pull/2797))
|
|
112
118
|
|
|
113
119
|
- services: `discoverPlaces('coffee')` runs a fuzzy search and is typed as one
|
|
114
120
|
|
|
@@ -116,7 +122,7 @@
|
|
|
116
122
|
|
|
117
123
|
### Major Changes
|
|
118
124
|
|
|
119
|
-
-
|
|
125
|
+
- **Breaking:** core, services: a route or leg summary's `trafficDelayInSeconds` and `trafficLengthInMeters` are optional, present only when the routing service sends them, rather than `0` when it leaves them out ([#2748](https://github.com/tomtom-internal/maps-sdk-js/pull/2748))
|
|
120
126
|
|
|
121
127
|
- core: `trafficDelayInSeconds` is the delay of the traffic events along `trafficLengthInMeters`. For the gap to free-flow, use `Math.max(0, liveTrafficIncidentsTravelTimeInSeconds - noTrafficTravelTimeInSeconds)`, with `computeTravelTimeFor: 'all'`
|
|
122
128
|
- agent-toolkit: the route shape `analyseData`, `processData`, `clusterIncidents` and `createTracker` give the model says what `trafficDelayInSeconds` measures and how to work out the gap to free-flow
|
|
@@ -124,7 +130,7 @@
|
|
|
124
130
|
|
|
125
131
|
### Minor Changes
|
|
126
132
|
|
|
127
|
-
-
|
|
133
|
+
- **Breaking:** core: the bbox utilities read and return a box crossing the antimeridian as `west > east`, as RFC 7946 and the services do, so fitting the map to results around Fiji frames Fiji rather than the whole world ([#2724](https://github.com/tomtom-internal/maps-sdk-js/pull/2724))
|
|
128
134
|
|
|
129
135
|
- **Breaking:** core: `bboxFromCoordsArray`, and `bboxFromGeoJSON` on points, return the box across the antimeridian when it is narrower than the one from the lowest to the highest longitude. A tie, or input spanning -180 to 180, keeps the latter, so every country in the world still gives `[-180, …, 180]`
|
|
130
136
|
- **Breaking:** core: `bboxFromGeoJSON` reads a line or ring along its edges, which don't wrap, so a ring past 180 gives the box across the antimeridian and one from -100 to 100 stays `[-100, …, 100]`
|
|
@@ -134,7 +140,7 @@
|
|
|
134
140
|
- services: `geometrySearch` ranks a polygon across the antimeridian by its own width when it keeps the largest 50
|
|
135
141
|
- agent-toolkit: `getTrafficAreaAnalytics` reads a `bbox` across the antimeridian as the area it covers, and the tools describe a bbox as `[west, south, east, north]`. It needs SDK 1.0.0-rc.4
|
|
136
142
|
|
|
137
|
-
-
|
|
143
|
+
- **Breaking:** core: `Language` holds every language the map labels carry, so `map.setLanguage('hi-IN')` labels the map in Hindi, and the services send each API a code it takes ([#2752](https://github.com/tomtom-internal/maps-sdk-js/pull/2752))
|
|
138
144
|
|
|
139
145
|
- **Breaking:** core: `Language` and `languages` gain `ca-ES`, `et-EE`, `eu-ES`, `gl-ES`, `he-IL`, `hi-IN`, `hr-HR`, `ja-JP`, `kk-KZ`, `lv-LV`, `ro-RO`, `sr-RS` and `uk-UA`, so a `Record<Language, …>` of your own needs an entry for each
|
|
140
146
|
- map: the map labels in each of them, and the traffic incident descriptions in Catalan, Estonian, Hebrew, Japanese, Latvian and Romanian
|
|
@@ -143,13 +149,13 @@
|
|
|
143
149
|
- services: `trafficIncidentDetails` takes every `Language`, answering in the nearest language the incident tiles have, or in English, where it answered one it lacks, such as `en-AU` or `pt-BR`, with a 406
|
|
144
150
|
- examples: `map-language` offers Hebrew, Hindi, Japanese, Serbian and Ukrainian
|
|
145
151
|
|
|
146
|
-
-
|
|
152
|
+
- **Breaking:** core: `main-when-available` uses a place's first untyped entry point when none is typed `'main'`, so a reverse geocoded place routes to the road-snapped point the service returns rather than to the queried point ([#2738](https://github.com/tomtom-internal/maps-sdk-js/pull/2738))
|
|
147
153
|
|
|
148
154
|
- **Breaking:** core: `getPosition(place, { useEntryPoint: 'main-when-available' })` returns that entry point's position. A place whose entry points are all `'minor'` keeps its own position
|
|
149
155
|
- **Breaking:** services: `calculateRoute` with `useEntryPoints: 'main-when-available'` sends such a stop at that entry point
|
|
150
156
|
- **Breaking:** map: `RoutingModule` with `waypoints.entryPoints: 'main-when-available'` draws such a waypoint at that entry point
|
|
151
157
|
|
|
152
|
-
-
|
|
158
|
+
- **Breaking:** map: `styling.layers.query` selects style layers by exact id, derives a paint or layout value from the one beneath it, and narrows a layer's filter with one more clause, all kept across style switches; `POIsModule` hides or shows single POIs by id, which makes `filters.categories` optional ([#2729](https://github.com/tomtom-internal/maps-sdk-js/pull/2729))
|
|
153
159
|
|
|
154
160
|
- map: `LayerQuery` takes `ids`, the exact style layer ids to select
|
|
155
161
|
- map: `setPaint` and `setLayout` take a function `(valueUnder, layerId) => value` for any property, worked out from the style's own value, or the one a knob set, and again whenever that value changes
|
|
@@ -158,38 +164,38 @@
|
|
|
158
164
|
- **Breaking:** map: `POIsModuleConfig`'s `filters.categories` is optional, so `filters` can hold `ids` alone. Code reading `config.filters.categories` must handle `undefined`
|
|
159
165
|
- examples: `map-styling-playground` adds a motorway name halo derived from the one beneath it and a road name filter clause, and `poi-filters` hides a POI you click
|
|
160
166
|
|
|
161
|
-
-
|
|
167
|
+
- map: add a MapLibre custom layer with `map.addCustomLayer`, which keeps it in its place through style switches and lets its objects take clicks and hovers ([#2757](https://github.com/tomtom-internal/maps-sdk-js/pull/2757))
|
|
162
168
|
- `beforeLayerConfig` places it as on a module. The new `'lowest3D'` anchor, `mapStyleLayerIDs.lowest3D`, puts a 3D layer under the style's 3D buildings, otherwise under the POIs, and module layers placed before `lowestLabel` stay below it, even the ones added later. Module layers at `'poi'` or `'top'` stay above it, also where it falls back to the POIs or the top
|
|
163
169
|
- An id the map already has throws, until that layer's `remove()`
|
|
164
170
|
- After every `setStyle`, before the modules restore, the layer goes back to its place, added again if the switch dropped it, and the module layers go back over or under it as they were. `remove()` takes it off for good
|
|
165
171
|
- A `hitTest` returns the objects under the pointer, topmost first. They join the map's user events in layer order, so the layer's `events`, priority, the hover cursor and the event states work as on a module's features, with `setState` to draw the states
|
|
166
172
|
|
|
167
|
-
-
|
|
173
|
+
- **Breaking:** map: drag features on every module and scope with the new `dragstart`, `drag` and `dragend` events, such as a route's waypoints, its lines or a place's pin ([#2766](https://github.com/tomtom-internal/maps-sdk-js/pull/2766))
|
|
168
174
|
|
|
169
175
|
- map: a drag handler makes its features draggable with the mouse or one finger. They show the new `cursorOnDraggable` cursor, `'grab'` by default, the map doesn't pan under the drag, and the release fires no `click`
|
|
170
176
|
- map: `RoutingModule` reports the drag on `events.waypoints` and `events.mainLines` and plans nothing, so you call `calculateRoute` and `showRoutes` with the moved or inserted stop, or let the route dragging plugin do it
|
|
171
177
|
- **Breaking:** map: `EventType` also holds the three drag types, so a `switch` or a `Record` over it needs them. Event states keep to the click and hover types, as `EventState` and `SetEventStateOptions.state` now say on their own
|
|
172
178
|
- examples: `react-route-planner` drags stops on the map and pulls new ones onto the route line through the route dragging plugin, re-planning the route as you drag
|
|
173
179
|
|
|
174
|
-
-
|
|
180
|
+
- map: line up a custom layer's three.js or WebGL scene with the map, in metres around a place, with `localFrameMatrix` ([#2757](https://github.com/tomtom-internal/maps-sdk-js/pull/2757))
|
|
175
181
|
- It turns `defaultProjectionData.mainMatrix` into a `Float64Array`, composed in double precision, which a three.js camera or a WebGL uniform takes
|
|
176
182
|
- `centerLatitude` scales heights at the map centre's latitude, as MapLibre scales its 3D buildings and terrain, and `units: 'mercatorMeters'` takes geometry authored in EPSG:3857 metres
|
|
177
183
|
|
|
178
|
-
-
|
|
184
|
+
- **Breaking:** map: `SectionLinePattern`, deprecated in 1.0.0-rc.3, is removed. Use `LinePattern`, the same type, which geometries and reachable range borders share too ([#2775](https://github.com/tomtom-internal/maps-sdk-js/pull/2775))
|
|
179
185
|
|
|
180
|
-
-
|
|
186
|
+
- **Breaking:** map: `TomTomMap` takes a `transformRequest` that holds or rewrites each map request after the SDK's own, and may return a promise, so an app can wait for its proxy session or point tiles at its own cache ([#2756](https://github.com/tomtom-internal/maps-sdk-js/pull/2756))
|
|
181
187
|
|
|
182
188
|
- map: `transformRequest`, typed `MapRequestTransform`, gets the request the SDK built, with its URL, headers and credentials, and stays in place through `setLanguage` and `setGeopoliticalView`
|
|
183
189
|
- **Breaking:** map: the map no longer awaits `globalThis.__DEMOS_PROXY_ENSURE_SESSION__` before its requests. An app that set it passes the same function as `transformRequest` instead: `transformRequest: async (request) => { await ensureSession(); return request; }`
|
|
184
190
|
- examples: `map-request-transform` holds the map's tile requests behind a toggle and counts them
|
|
185
191
|
|
|
186
|
-
-
|
|
192
|
+
- **Breaking:** map: when the map's style fails to load, a module's `create()` or `get()` rejects with the style's `TomTomMapError`, the one the error handlers get, so an `await` on it lands in your `catch` instead of waiting forever ([#2726](https://github.com/tomtom-internal/maps-sdk-js/pull/2726))
|
|
187
193
|
|
|
188
194
|
- **Breaking:** map: after a style load fails, a module call that waits for the map, such as `showRoutes` or `show`, rejects with that error too, until a `setStyle` loads a style. Once one loads, create again only the modules whose `create()` or `get()` rejected: the others restore themselves
|
|
189
195
|
- map: a style, tile, sprite or glyph request that gets no response, offline or blocked, reaches the error handlers as `NETWORK_NOT_AVAILABLE`, which can be retried, instead of `STYLE_LOAD_FAILED` or `INTERNAL`
|
|
190
196
|
- examples: `multiple-maps-landmarks` logs a map whose style fails to load instead of leaving an unhandled rejection
|
|
191
197
|
|
|
192
|
-
-
|
|
198
|
+
- **Breaking:** services: `calculateRoute` returns the curves of each route as `sections.curve` and the winding stretches they make up as `sections.curvyStretch` when its `sectionTypes` names them, so you can keep a motion-sick passenger off winding roads or send a motorcyclist down them ([#2660](https://github.com/tomtom-internal/maps-sdk-js/pull/2660))
|
|
193
199
|
|
|
194
200
|
- **Breaking:** core: `SectionType`, `sectionTypes`, `inputSectionTypes` and `inputSectionTypesWithGuidance` include `'curve'` and `'curvyStretch'`. A `Record<SectionType, …>` needs an entry for each
|
|
195
201
|
- **Breaking:** services: `InputSectionType` includes them too
|
|
@@ -207,34 +213,34 @@
|
|
|
207
213
|
- examples: the new `route-curves` example ranks a mountain trip's routes by how winding they are and takes the straightest or the curviest. It shows all their curves, the open-road bends, the turns in towns, the curvy stretches each route has of its own, the curves in tunnels or the hairpins, with their speed limit signs, names how hard a curve you click is, and tells where a curvy stretch you click anywhere along starts, how long it takes and which towns it runs between. Its sliders, folded away under the picker, set what counts as a curve and a curvy stretch, and find them again on the routes shown. The `route-sections-playground` picker adds the Stelvio Pass, and `map-styling-playground` draws a route's curves over Twin Peaks
|
|
208
214
|
- examples: `react-route-planner` adds a Curvy roads lane and counts each alternative's curvy stretches of its own, and a Curvy route draws its curves and curvy stretches
|
|
209
215
|
|
|
210
|
-
-
|
|
216
|
+
- **Breaking:** map: the `maplibre-gl` peer dependency moves up to `^6.15.0` ([#2722](https://github.com/tomtom-internal/maps-sdk-js/pull/2722))
|
|
211
217
|
- **Breaking:** services: the `zod` peer dependency moves up to `^4.6.7`.
|
|
212
218
|
- services: `geometryData` reports a `geometries` list over 20 as one issue on that field, not as a union mismatch.
|
|
213
219
|
|
|
214
|
-
-
|
|
220
|
+
- **Breaking:** services: along-route results from `discoverPlaces({ route })` carry their detour as typed `AlongRoutePlaceProps`, `detourTimeInSeconds` and `detourDistanceInMeters`, so you read them without a cast ([#2786](https://github.com/tomtom-internal/maps-sdk-js/pull/2786))
|
|
215
221
|
|
|
216
222
|
- **Breaking:** services: the untyped `properties.detourTime`, `detourDistance` and `detourOffset` are now `detourTimeInSeconds`, `detourDistanceInMeters` and `detourOffsetInMeters`. Either detour can be negative, when the route through the place is faster or shorter than the original
|
|
217
223
|
- services: `detourOffsetInMeters` comes with results sorted by `'detourOffset'`
|
|
218
224
|
- examples: `nodejs-along-route-search` prints each charger's detour
|
|
219
225
|
|
|
220
|
-
-
|
|
226
|
+
- **Breaking:** services: `geocodeOne` and `discoverOnePlace` reject with an `SDKError` coded `NOT_FOUND` when nothing matches, naming the `'Geocode'` or `'FuzzySearch'` service, so you can branch on `error.code` as for any other failed call ([#2751](https://github.com/tomtom-internal/maps-sdk-js/pull/2751))
|
|
221
227
|
|
|
222
228
|
- The message is unchanged. A `catch` that filters on `instanceof SDKError` now receives a miss too, where it used to get a plain `Error`.
|
|
223
229
|
|
|
224
|
-
-
|
|
230
|
+
- **Breaking:** services: request validation rejects a parameter the service doesn't know, and names it, so a misplaced key such as a top-level `poiCategories` fails with `INVALID_REQUEST` instead of being dropped silently ([#2750](https://github.com/tomtom-internal/maps-sdk-js/pull/2750))
|
|
225
231
|
|
|
226
232
|
- **Breaking:** services: an unknown parameter rejects with an `unrecognized_keys` issue, and one the service takes inside an object parameter points there: `poiCategories is not a parameter of AlongRouteSearch. Did you mean filters.poiCategories?`. The check reads only the parameters you pass, not the global configuration, and a parameter set to `undefined` counts as absent. `validateRequest: false` skips it
|
|
227
233
|
- **Breaking:** services: an along-route `discoverPlaces` with neither a `query` nor a filter other than `indexes` rejects in validation, rather than with the API's `400 "The requested route cannot be calculated"`
|
|
228
234
|
- services: `calculateRoute` validates `useEntryPoints`, `extendedRouteRepresentations` and `guidance`
|
|
229
235
|
|
|
230
|
-
-
|
|
236
|
+
- **Breaking:** services: a request a service can't build, such as a geometry type geometry search doesn't take sent with `validateRequest: false`, rejects with an `SDKError` coded `INVALID_REQUEST` instead of a plain `Error`, so you can branch on `error.code` as for any other failed call ([#2777](https://github.com/tomtom-internal/maps-sdk-js/pull/2777))
|
|
231
237
|
|
|
232
238
|
- What the request builder threw is on `cause`, and the message is unchanged.
|
|
233
239
|
- If the parameters passed validation and the request still can't be built, the code is `INTERNAL`.
|
|
234
240
|
|
|
235
|
-
-
|
|
241
|
+
- **Breaking:** services: a rate-limited (`429`) call backs off 447 ms before its first retry by default instead of retrying at once, and each wait is drawn between half and all of the backoff, so clients rate-limited together don't retry together ([#2749](https://github.com/tomtom-internal/maps-sdk-js/pull/2749))
|
|
236
242
|
|
|
237
|
-
-
|
|
243
|
+
- **Breaking:** services: `when` takes a `localDateTime`, a wall-clock time such as `'2026-10-19T08:15:00'` that the routing API reads in the origin's time zone, so you can route at 08:15 in Tokyo from a browser anywhere without a UTC offset ([#2744](https://github.com/tomtom-internal/maps-sdk-js/pull/2744))
|
|
238
244
|
|
|
239
245
|
- With `arriveBy`, `calculateRoute` reads a `localDateTime` in the time zone of the route's final destination. `calculateReachableRange` takes it with `departAt`
|
|
240
246
|
- The format is `YYYY-MM-DDTHH:mm:ss`, typed as `LocalDateTime`. Request validation rejects a time without seconds, with an offset or a `Z`, a date that doesn't exist, and a `when` with both or neither of `date` and `localDateTime`
|
|
@@ -242,59 +248,59 @@
|
|
|
242
248
|
|
|
243
249
|
### Patch Changes
|
|
244
250
|
|
|
245
|
-
-
|
|
251
|
+
- map: the style's 3D buildings have softened corners, rounded over the last metre of their walls, and the new `buildings3D.roundedCornerDistanceMeters` knob of `StylingFoundationsModule` sets how far the rounding reaches ([#2697](https://github.com/tomtom-internal/maps-sdk-js/pull/2697))
|
|
246
252
|
|
|
247
253
|
- map: `0` gives the sharp corners back, and a few metres rounds the buildings. A style that sets its own `fill-extrusion-rounded-corner-distance` keeps it
|
|
248
254
|
- examples: `map-styling-playground` adds a 3D buildings section with the knob
|
|
249
255
|
|
|
250
|
-
-
|
|
256
|
+
- core: `aggregateIntoCells` groups your points into hexagons, squares or your own polygons, such as districts, and gives each cell the median, mean, count, sum, min or max of a value, as GeoJSON polygons any map module draws ([#2768](https://github.com/tomtom-internal/maps-sdk-js/pull/2768))
|
|
251
257
|
|
|
252
258
|
- core: each point's grid cell comes from its coordinates, so large data sets stay fast, and the cells across the antimeridian stay side by side. `minCount` leaves out the cells with too few points, and `gridOrigin` keeps the cells in place while your points change
|
|
253
259
|
- map: `TrafficAreaAnalyticsModule` finds each tile's hexagon or square from its coordinates on the same cell grid, instead of testing it against every cell, and draws the same cells as before
|
|
254
260
|
- examples: `byod-geojson-cells-custom-module` colours Berlin by the median asking price per square metre in each hexagon or square
|
|
255
261
|
|
|
256
|
-
-
|
|
262
|
+
- core: `servesGeopoliticalView(view, api)` tells whether the SDK sends a geopolitical view to an API, so you can label a result with the view its request carried ([#2746](https://github.com/tomtom-internal/maps-sdk-js/pull/2746))
|
|
257
263
|
|
|
258
264
|
- core: `GeopoliticalViewAPI` names the APIs it answers for: `'mapTiles'`, `'search'`, `'placeDetails'`, `'reverseGeocoding'` and `'geocoding'`
|
|
259
265
|
- map, services: the map's tiles and every search, place details, reverse geocoding and geocoding request decide which view to send from it, so your label and the request always agree
|
|
260
266
|
- examples: `geopolitical-views-playground` labels each address with the view its reverse geocoding request carried
|
|
261
267
|
|
|
262
|
-
-
|
|
268
|
+
- core, services, map: exported classes keep their names in the minified bundles, so `SDKError.name` is `'SDKError'`, `TomTomConfig.name` is `'TomTomConfig'` and `RoutingModule.name` is `'RoutingModule'` ([#2709](https://github.com/tomtom-internal/maps-sdk-js/pull/2709))
|
|
263
269
|
|
|
264
|
-
-
|
|
270
|
+
- map: Add your own credits to the map's attribution with `attribution: { credits }` on `TomTomMap`. They show next to TomTom's and stay across style switches. ([#2747](https://github.com/tomtom-internal/maps-sdk-js/pull/2747))
|
|
265
271
|
|
|
266
272
|
- examples: `byod-geojson-heatmap-custom-module` credits its listed-buildings dataset in the map's attribution
|
|
267
273
|
|
|
268
|
-
-
|
|
274
|
+
- map: `setMapColors` paints city parks and sport grounds with `park` on every standard style, where `streetDark` and the mono styles gave them `artificial`'s colour ([#2727](https://github.com/tomtom-internal/maps-sdk-js/pull/2727))
|
|
269
275
|
|
|
270
276
|
- map: with `park` left unset, the parks keep the style's own colour whatever `artificial` is set to
|
|
271
277
|
|
|
272
|
-
-
|
|
278
|
+
- map: `TrafficIncidentDetailsModule` fades every incident outside the focus set with the new `highlight.unfocusedOpacityFactor`, so the incidents you focus are the ones that stand out ([#2754](https://github.com/tomtom-internal/maps-sdk-js/pull/2754))
|
|
273
279
|
|
|
274
280
|
- map: it fades their lines, icons and delay text while a focus is set, multiplies `line.opacity`, leaves a hovered or clicked incident at full strength and survives a style change. It's `1` by default, which leaves them as they are, and the `highlight.unfocusedOpacityFactor` knob sets it by id
|
|
275
281
|
- examples: `traffic-incident-details` fades the other incidents when you click one
|
|
276
282
|
|
|
277
|
-
-
|
|
283
|
+
- map: the map language labels the map in `zh-Hant`, `zh-Hans`, `ko-Latn-KR`, `ru-Latn-RU`, `ngt-Latn` and `nb-NO` too, where those showed the local name or the wrong script ([#2716](https://github.com/tomtom-internal/maps-sdk-js/pull/2716))
|
|
278
284
|
|
|
279
285
|
- examples: `map-language` offers Simplified and Traditional Chinese
|
|
280
286
|
|
|
281
|
-
-
|
|
287
|
+
- map: with a proxy `commonBaseURL`, the map sends credentials and TomTom headers only to URLs on the proxy's own origin and under its path, not to a host or path that only starts with the same text ([#2736](https://github.com/tomtom-internal/maps-sdk-js/pull/2736))
|
|
282
288
|
|
|
283
|
-
-
|
|
289
|
+
- core, services, map: the `license` field reads `SEE LICENSE IN LICENSE.txt`, the form npm and license scanners recognise, so they point to the package's own `LICENSE.txt` instead of reporting an unknown license ([#2742](https://github.com/tomtom-internal/maps-sdk-js/pull/2742))
|
|
284
290
|
|
|
285
|
-
-
|
|
291
|
+
- services: `getSearchSuggestions` validates its own parameters before sending either request, so an invalid `filters.boundingBox` rejects under that name rather than `geoBias`, and an invalid call costs no request ([#2714](https://github.com/tomtom-internal/maps-sdk-js/pull/2714))
|
|
286
292
|
|
|
287
|
-
-
|
|
293
|
+
- services: geometry search sends a closed polygon ring of 50 vertices whole and samples a longer one to 50 evenly spaced vertices, where a ring just over a multiple of 50 sent as few as 26 ([#2717](https://github.com/tomtom-internal/maps-sdk-js/pull/2717))
|
|
288
294
|
|
|
289
|
-
-
|
|
295
|
+
- services: `createLatestRequest({ supersede: 'on-answer' })` shows each answer of requests that start faster than they answer, such as a route re-planned during a drag, and never an older answer after a newer one ([#2766](https://github.com/tomtom-internal/maps-sdk-js/pull/2766))
|
|
290
296
|
|
|
291
|
-
-
|
|
297
|
+
- services: along-route `discoverPlaces` rejects a `maxDetourTimeSeconds` above `3600`, the service's maximum, in request validation rather than after a round trip ([#2705](https://github.com/tomtom-internal/maps-sdk-js/pull/2705))
|
|
292
298
|
|
|
293
299
|
## 1.0.0-rc.3
|
|
294
300
|
|
|
295
301
|
### Minor Changes
|
|
296
302
|
|
|
297
|
-
-
|
|
303
|
+
- **Breaking:** core: ten plain POI sub-categories have codes of their own, such as `SCHOOL_GENERIC`, so a search can ask for plain schools without childcare or driving schools ([#2674](https://github.com/tomtom-internal/maps-sdk-js/pull/2674))
|
|
298
304
|
|
|
299
305
|
- **Breaking:** core: a place in one of them reads as its own code rather than its parent's. Where you match `SCHOOL`, `THEATER`, `SPORTS_CENTER`, `MARINA`, `WEIGH_STATION`, `OPEN_CAR_PARKING_AREA`, `COLLEGE_OR_UNIVERSITY`, `CAR_WASH`, `AMUSEMENT_PARK` or `TRAFFIC_CONTROL_DEPARTMENT` in `poi.categories`, match its `_GENERIC` code too
|
|
300
306
|
- **Breaking:** core: a `Record<POICategory, …>` needs an entry for each of the ten codes
|
|
@@ -302,25 +308,25 @@
|
|
|
302
308
|
- services: a word no longer spends one of its three codes on a sub-category of another code it already has, so `'medical'` and `'care'` also find `EMERGENCY_MEDICAL_SERVICE`
|
|
303
309
|
- map: a place with one of the new codes takes its parent's base-map icon, pin and `categoryIcons` entry
|
|
304
310
|
|
|
305
|
-
-
|
|
311
|
+
- **Breaking:** map: a route's border crossings stand in a bubble above the route, the summary bubble's shape with its tail on the border, instead of a plaque on the route line; `countryCrossings.alignment` is removed with its knob and the `CountryCrossingAlignment` type, and crossings no longer carry a `bearing` ([#2659](https://github.com/tomtom-internal/maps-sdk-js/pull/2659))
|
|
306
312
|
|
|
307
313
|
- The default bubble takes the selected summary bubble's default colours, so it follows the light or dark style, `setMapColors()` and the `colors.label` and `colors.labelHalo` knobs: white on a light style, dark grey on a dark one, the map's label halo lightened under a theme. `countryCrossings.color` and `countryCrossings.label.color` still override either.
|
|
308
314
|
- A crossing hides where a waypoint pin, a summary bubble, another symbol drawn above it or a crossing close by would cover it, and shows again once there's room.
|
|
309
315
|
- Migration: drop `alignment` from `countryCrossings`. A bubble stays level with the screen.
|
|
310
316
|
- examples: `route-sections-playground` drops its crossing alignment control and gains a map look picker, light, dark and an amber theme, that the crossings follow.
|
|
311
317
|
|
|
312
|
-
-
|
|
318
|
+
- services: an instruction's `pathPointIndex` is the route point at its maneuver, rather than the first point a few metres short of it, so it usually falls inside the `lanes` section leading to the maneuver ([#2659](https://github.com/tomtom-internal/maps-sdk-js/pull/2659))
|
|
313
319
|
|
|
314
320
|
- **Breaking:** a `lanes` section's `properties` read `IS_MANEUVER`, as documented, where they passed the API's `isManeuver` through. Match `'IS_MANEUVER'` instead.
|
|
315
321
|
|
|
316
|
-
-
|
|
322
|
+
- **Breaking:** map: the types of place events, traffic features and waypoint ids match what the map hands your code ([#2686](https://github.com/tomtom-internal/maps-sdk-js/pull/2686))
|
|
317
323
|
|
|
318
324
|
- **Breaking:** map: under `pin-clustered`, a cluster no longer reaches the `events.places` handlers, which are typed `Place`, nor takes their hover and click states. The module-wide `events` receive it, with `cluster: true`, `cluster_id` and `point_count` in its properties
|
|
319
325
|
- **Breaking:** map: `roadSubcategory` is optional on `TrafficIncidentsModuleFeature`, and absent off `street` and `service` roads, as on `TrafficFlowModuleFeature`
|
|
320
326
|
- **Breaking:** map: a `TrafficFlowModuleFeature`'s geometry is a `LineString` or a `MultiLineString`, so check `geometry.type` before you read its coordinates
|
|
321
327
|
- **Breaking:** map: a waypoint keeps the id you give it, a number included, so `WaypointDisplayProps.id` is `string | number`
|
|
322
328
|
|
|
323
|
-
-
|
|
329
|
+
- **Breaking:** core: `getDistinctSections` finds the stretches each route has to itself, and `calculateRoute` returns them as `sections.distinct` whenever it returns two or more routes. `getImportantRoads` names the main roads a route takes, by road number ([#2650](https://github.com/tomtom-internal/maps-sdk-js/pull/2650))
|
|
324
330
|
|
|
325
331
|
- **Breaking:** core: `SectionType` and `sectionTypes` include `'distinct'`, which a request's `sectionTypes` can't ask for: the SDK adds it. A `Record<SectionType, …>` needs an entry for it
|
|
326
332
|
- **Breaking:** services: `InputSectionType` is only the types a request can ask for, so `leg` and `distinct` no longer compile in `sectionTypes`; type a list as `InputSectionTypes` rather than `SectionType[]`. `InputSectionTypes` is read-only, so build a list whole rather than `push` onto one. `inputSectionTypes`, `inputSectionTypesWithGuidance` and `sectionTypes` are read-only lists of their exact types
|
|
@@ -333,14 +339,14 @@
|
|
|
333
339
|
- examples: the `route-with-alternatives` and `react-route-planner` examples name the main roads of the stretches each route has to itself, and highlight a route the same way from the map or its card
|
|
334
340
|
- examples: each card in `route-with-alternatives` says what its route adds and avoids against the selected route, or against the usual route a toggle draws: ferries, car trains, tolls, closures, roadworks, traffic and unpaved roads
|
|
335
341
|
|
|
336
|
-
-
|
|
342
|
+
- **Breaking:** map: a route you select with a click takes the selected style alone, and a feature an `events.where()` predicate rejects stays inert, so narrowing a click to the alternatives keeps the selected route from reacting to the pointer ([#2675](https://github.com/tomtom-internal/maps-sdk-js/pull/2675))
|
|
337
343
|
|
|
338
344
|
- **Breaking:** map: an `events.where()` predicate decides on the top-most feature under the pointer. One it rejects keeps the map cursor and takes no hover or click highlight, and the handler doesn't run, even with a matching feature beneath
|
|
339
345
|
- map: `selectRoute` clears the `click` state of the route lines and summary bubbles, so a route you select with a click no longer stays highlighted
|
|
340
346
|
- map: a long hover comes on the feature under the pointer when it comes due, so a still pointer no longer long-hovers a route as it was before a click selected it, which drew its wider outline
|
|
341
347
|
- examples: `route-summary-bubbles-playground` selects only alternatives on click
|
|
342
348
|
|
|
343
|
-
-
|
|
349
|
+
- services: **Breaking:** the service types say what each call returns and takes, from reverse geocoding and geometry data to the errors, and a call can set its own `retry` ([#2688](https://github.com/tomtom-internal/maps-sdk-js/pull/2688))
|
|
344
350
|
- services: **Breaking:** `reverseGeocode` resolves a `ReverseGeocodingResponse`, a `Place` or, where nothing matches, the queried point without `properties`; checking `properties` narrows it to a `Place`
|
|
345
351
|
- services: **Breaking:** `geometryData` given a `Places` collection types each polygon's properties as `PlaceGeometryProps`, its place's properties plus `placeCoordinates`, and gives a polygon that matches no place `null` properties; a `Place[]` or geometry IDs return plain `PolygonFeatures`
|
|
346
352
|
- services: a service call's `retry` overrides the global one field by field, and `retry: undefined` turns retrying off for that call
|
|
@@ -353,7 +359,7 @@
|
|
|
353
359
|
|
|
354
360
|
### Patch Changes
|
|
355
361
|
|
|
356
|
-
-
|
|
362
|
+
- core: `languages` is a runtime export, and the distance formatter, bounding-box and route helpers handle their edge cases ([#2680](https://github.com/tomtom-internal/maps-sdk-js/pull/2680))
|
|
357
363
|
|
|
358
364
|
- core: `formatDistance` rounds below 10 m to one decimal, rounds a negative distance to the same magnitude as its positive, rounds feet and yards once rather than twice, and takes `undefined`
|
|
359
365
|
- core: `bboxCenter` centres a box that crosses the antimeridian, and `bboxFromGeoJSON` reads the 2D edges of a 3D `bbox`
|
|
@@ -363,17 +369,17 @@
|
|
|
363
369
|
- core: `getRouteProgressForSection` and `getSectionBBox` take any `RouteSpan`, such as the one `getSectionOverlap` returns
|
|
364
370
|
- core: `TomTomConfig.instance.reset()` restores the retry defaults, even after a caller edited `get().retry`
|
|
365
371
|
|
|
366
|
-
-
|
|
372
|
+
- core: `getInstructionLanes(route, instruction)` finds the `lanes` section leading to an instruction's maneuver, so a directions panel can show the lanes to take under each step ([#2659](https://github.com/tomtom-internal/maps-sdk-js/pull/2659))
|
|
367
373
|
|
|
368
374
|
- examples: `route-with-guidance` lists its instructions in a Directions panel, and both it and `react-route-planner` draw the lanes to take under each instruction that has them, as a small SVG sign of their own.
|
|
369
375
|
|
|
370
|
-
-
|
|
376
|
+
- map: images without a DOM, base-map places under offset POI icons and a module's `events.off()` handle their edge cases ([#2687](https://github.com/tomtom-internal/maps-sdk-js/pull/2687))
|
|
371
377
|
|
|
372
378
|
- map: a module given an SVG image where there is no DOM, as in a server render or a Node.js test, adds no image rather than throwing a `TypeError`
|
|
373
379
|
- map: a `base-map` place keeps the style's icon offset when `POIsModule` offsets its own `categoryIcons` entry for the same category, rather than drawing its sprite that many pixels away
|
|
374
380
|
- map: `events.off('shown-features')` stops compiling on a module with no `show` method, which never emits that event, as `events.on('shown-features', …)` already did
|
|
375
381
|
|
|
376
|
-
-
|
|
382
|
+
- map: geometries and reachable ranges can blend `fill.palette` from its first colour to its last, fade the bands away from the origin, and dash or dot their borders ([#2695](https://github.com/tomtom-internal/maps-sdk-js/pull/2695))
|
|
377
383
|
|
|
378
384
|
- map: `fill.paletteMode: 'ramp'` shades the features, or the bands, evenly from the palette's first colour to its last, blended in OKLCH. `'cycle'`, the default, takes the colours in turn as before
|
|
379
385
|
- map: `ReachableRangesModule`'s `fill.outermostOpacityFactor` multiplies the outermost band's fill opacity, and steps the bands between evenly from the innermost one. A lone range takes the factor
|
|
@@ -382,7 +388,7 @@
|
|
|
382
388
|
- map: `LinePattern` now types every line pattern; `SectionLinePattern` is deprecated in its favour
|
|
383
389
|
- examples: `geometry-config-playground` sets the border pattern, `multiple-geometries` swaps palettes and switches them between cycling and ramping, and `reachable-ranges-playground` offers two- and five-colour palettes to ramp
|
|
384
390
|
|
|
385
|
-
-
|
|
391
|
+
- map: light the 3D buildings with the `view.light` knobs of `StylingFoundationsModule`, kept across style switches ([#2698](https://github.com/tomtom-internal/maps-sdk-js/pull/2698))
|
|
386
392
|
|
|
387
393
|
- `view.light.direction`, `view.light.altitude`, `view.light.alignment`, `view.light.color` and `view.light.intensity` set MapLibre's light. A part you leave unset takes the style's own light, otherwise MapLibre's default
|
|
388
394
|
- `stylingFoundationsKnobKinds` gains `number`, the kind of the direction, altitude and intensity
|
|
@@ -390,9 +396,9 @@
|
|
|
390
396
|
- Once a light knob has been set, a clean `setStyle(…, { resetState: true })` draws the new style's light, rather than keeping the one the knobs had set
|
|
391
397
|
- examples: `map-styling-playground` shows the light knobs in a View light section
|
|
392
398
|
|
|
393
|
-
-
|
|
399
|
+
- map: road shields, POI icons and road patterns no longer go missing when the map's own sprite loads more slowly than the place pins' sprite ([#2658](https://github.com/tomtom-internal/maps-sdk-js/pull/2658))
|
|
394
400
|
|
|
395
|
-
-
|
|
401
|
+
- map: modules keep their state across style switches, routes draw with a traffic halo, and events, images and knobs handle their edge cases ([#2685](https://github.com/tomtom-internal/maps-sdk-js/pull/2685))
|
|
396
402
|
|
|
397
403
|
- map: `RoutingModule` draws its routes when `sections.traffic.style` is `'halo'`, at creation, after a style switch and when switched at runtime
|
|
398
404
|
- map: `routeIndex` on route sections, summary bubbles and border crossings is the route's position among the shown routes, so `selectRoute` and clicks work when only some routes are shown
|
|
@@ -440,11 +446,11 @@
|
|
|
440
446
|
- map: `CustomGeoJSONModule.applyConfig` throws a clear error before changing anything when the config names other sources or `sourceID`s than the module was created with, where it used to apply half of it
|
|
441
447
|
- map: area analytics hover and click highlights stay off the cells a layer filter hides
|
|
442
448
|
|
|
443
|
-
-
|
|
449
|
+
- core, services, map: the package now installs on Node.js 22 with any package manager ([#2692](https://github.com/tomtom-internal/maps-sdk-js/pull/2692))
|
|
444
450
|
|
|
445
451
|
- The `engines` field asks for Node.js 22 or newer instead of 24, and no longer names a pnpm version, so npm and pnpm stop warning about it on Node.js 22 and `engine-strict` installs succeed
|
|
446
452
|
|
|
447
|
-
-
|
|
453
|
+
- map: Fade a route, the traffic overlays, the incidents you show and your place icons, each with one opacity setting ([#2676](https://github.com/tomtom-internal/maps-sdk-js/pull/2676))
|
|
448
454
|
|
|
449
455
|
- `RoutingModule` `opacity` fades the route lines and their outlines, selected and deselected; sections keep `sections.<type>.opacity`
|
|
450
456
|
- `TrafficFlowModule` and `TrafficIncidentsModule` `opacityFactor` multiply the style's own line opacity, its zoom ramp kept; the incident icons stay opaque
|
|
@@ -453,9 +459,9 @@
|
|
|
453
459
|
- Each is a knob in its module's catalogue
|
|
454
460
|
- `route-styling-playground` fades the route through `opacity`, `places-customize-playground` gains an icon opacity slider, and `traffic-incident-focus` fades the flow through `opacityFactor`
|
|
455
461
|
|
|
456
|
-
-
|
|
462
|
+
- services: `calculateReachableRange` rejects an arrival time with a message that shows the `when` shape to use instead, `when: { option: 'departAt', date }` ([#2681](https://github.com/tomtom-internal/maps-sdk-js/pull/2681))
|
|
457
463
|
|
|
458
|
-
-
|
|
464
|
+
- map: Choose what a route's summary bubble says, its colour, typeface and the zooms it shows at, or write your own text per route ([#2642](https://github.com/tomtom-internal/maps-sdk-js/pull/2642))
|
|
459
465
|
|
|
460
466
|
- `summaryBubbles.fields` lists `duration`, `distance` and `trafficDelay` in the order shown; a bubble with nothing to say isn't drawn, so `['trafficDelay']` shows bubbles on delayed routes alone
|
|
461
467
|
- `summaryBubbles.minZoom`, `maxZoom`, `color` and `label` (`color`, `size`, `opacity`, `typeface`, `customTypeface`) are knobs in `routingKnobCatalogue`, all but `customTypeface`
|
|
@@ -463,14 +469,14 @@
|
|
|
463
469
|
- The bubbles now follow the map: a theme's `labelHalo` and `label` colours once one sets them, else dark bubbles and light text on a dark style
|
|
464
470
|
- New `route-summary-bubbles-playground` example, its panel built from the catalogue
|
|
465
471
|
|
|
466
|
-
-
|
|
472
|
+
- map: Summary bubbles keep clear of each other, show on the routes you choose and give each alternative's time against the selected route ([#2643](https://github.com/tomtom-internal/maps-sdk-js/pull/2643))
|
|
467
473
|
|
|
468
474
|
- Each bubble sits on a stretch of road its route has to itself, so routes sharing a motorway no longer hide each other's bubble, and it stays put when another route is selected
|
|
469
475
|
- `summaryBubbles.routes` shows the bubbles on `all` routes, the `selected` one alone or its `alternatives`
|
|
470
476
|
- The `durationDifference` field writes each other route's time against the selected one, such as `+6 min`, and `selectRoute` re-times the bubbles
|
|
471
477
|
- The `route-summary-bubbles-playground` example opens with bubbles timed against the selected route
|
|
472
478
|
|
|
473
|
-
-
|
|
479
|
+
- services: validation catches the inputs that used to crash or reach the API, and routing, search suggestions and the shared pipeline handle their edge cases ([#2684](https://github.com/tomtom-internal/maps-sdk-js/pull/2684))
|
|
474
480
|
|
|
475
481
|
- services: validation rejects, as `INVALID_REQUEST`, what used to throw a plain `Error` or come back as a 400: an empty Polygon or a Point in `geometrySearch`, an impossible date such as `'2024-02-30'` in `trafficAreaAnalytics`, more than 100 incident ids, a non-integer fuzzy level or a `minFuzzyLevel` above `maxFuzzyLevel`, a routing avoid area with no bounding box, a one-point path, a non-integer `maxAlternatives`, an along-route search route under two positions, a zero reachable-range budget, a non-integer or out-of-range `limit` or `heading`, and an undefined `commonBaseURL`
|
|
476
482
|
- services: validation also rejects an empty array as a route location, a stop's `candidateEntryPoints` off the globe or `preferredEntryPointIndex` past them, an empty `geometrySearch` geometry list or ring, `days` beside an `endDate` in `trafficAreaAnalytics`, and a bare bbox of other than four numbers; it now accepts a GeometryCollection where a bounding box is read, bare or inside a Feature or FeatureCollection, and the documented `weightKG: 0`
|
|
@@ -492,14 +498,14 @@
|
|
|
492
498
|
- services: `VehicleModel` and `VehicleDimensions` are exported
|
|
493
499
|
- core: `TomTomConfig.instance.put` drops `undefined` retry fields rather than storing them over the defaults
|
|
494
500
|
|
|
495
|
-
-
|
|
501
|
+
- core, services, map: an app now bundles only the SDK code its imports use, so most single imports come out far smaller ([#2690](https://github.com/tomtom-internal/maps-sdk-js/pull/2690))
|
|
496
502
|
|
|
497
503
|
- core: importing one helper, such as `generateId`, bundles under 1 KB minified instead of about 30 KB with lodash
|
|
498
504
|
- services: `geocode` bundles about 14 KB minified instead of 68 KB, and `calculateRoute` 32 KB instead of 86 KB, with lodash
|
|
499
505
|
- map: `TomTomMap` bundles about 44 KB minified on top of MapLibre instead of 123 KB, with lodash
|
|
500
506
|
- core, services, map: the package declares `sideEffects: false`, so bundlers drop the modules an app doesn't import
|
|
501
507
|
|
|
502
|
-
-
|
|
508
|
+
- map: a route's speed limit signs draw from zoom 12.5 by default instead of 11, two and a half zooms after the tunnel and closed-road signs, so they no longer crowd the overview of a route; `sections.speedLimit.sign.minZoom` still sets it, in steps of half a zoom in `routingKnobCatalogue` ([#2700](https://github.com/tomtom-internal/maps-sdk-js/pull/2700))
|
|
503
509
|
|
|
504
510
|
- examples: `route-speed-signs` sets `sign.minZoom` to 10, so its tiles post the signs on a whole route; `route-sections-playground` moves its `sign.minZoom` slider by half a zoom
|
|
505
511
|
|
|
@@ -507,7 +513,7 @@
|
|
|
507
513
|
|
|
508
514
|
### Minor Changes
|
|
509
515
|
|
|
510
|
-
-
|
|
516
|
+
- **Breaking:** map: a knob id is the path of its setting in the configuration on every module, and `setKnobs` sets several knobs in one checked change ([#2548](https://github.com/tomtom-internal/maps-sdk-js/pull/2548))
|
|
511
517
|
- map: `setKnobs(module, catalogue, values)` checks every value against its knob, then applies them all in one change and one `config-change`. If it refuses one value, it sets none. `KnobValues<CONFIG, ID>` types the values by id
|
|
512
518
|
- map: `StylingFoundationsModuleConfig` nests each setting along its id, as every other module does: `{ labels: { sizeFactor: 1.2 } }` instead of `{ 'labels.sizeFactor': 1.2 }`. `setKnob`, `setKnobs`, `getKnob`, `resetKnob` and `MapPresetSettings` keep the ids
|
|
513
519
|
- map: `StylingFoundationsModule`'s `updateConfig` merges one level deep, as on every module, so `updateConfig({ colors: { water } })` replaces the colours set before. Set a single colour with `setKnob`. Its `applyConfig` and `updateConfig` no longer check values at run time, as on every module. `setKnob` and `setKnobs` do
|
|
@@ -518,19 +524,19 @@
|
|
|
518
524
|
|
|
519
525
|
### Patch Changes
|
|
520
526
|
|
|
521
|
-
-
|
|
527
|
+
- map: `TrafficAreaAnalyticsModule` metric filters no longer make MapLibre validate the whole style on each change ([#2601](https://github.com/tomtom-internal/maps-sdk-js/pull/2601))
|
|
522
528
|
|
|
523
|
-
-
|
|
529
|
+
- map: a traffic flow section at a standstill reports `absoluteSpeed: 0` from `TrafficFlowModule.getRenderedFeatures()` and its events, instead of leaving it `undefined` ([#2603](https://github.com/tomtom-internal/maps-sdk-js/pull/2603))
|
|
524
530
|
|
|
525
|
-
-
|
|
531
|
+
- license: the privacy clause of `LICENSE.txt` now links the TomTom Privacy Policy, https://www.tomtom.com/privacy/ ([#2590](https://github.com/tomtom-internal/maps-sdk-js/pull/2590))
|
|
526
532
|
|
|
527
|
-
-
|
|
533
|
+
- map: The map fills its container from the first frame on pages whose scrollbars take up layout space, as on Windows ([#2547](https://github.com/tomtom-internal/maps-sdk-js/pull/2547))
|
|
528
534
|
- If the page didn't import the MapLibre CSS, the canvas could stay about one scrollbar width short on the right and bottom until the window was resized
|
|
529
535
|
|
|
530
|
-
-
|
|
536
|
+
- map: a knob or config change on a data-owned module writes only the layer properties whose value changes, so a value set on its layers with `mapLibreMap` stays until a change sets that property ([#2535](https://github.com/tomtom-internal/maps-sdk-js/pull/2535))
|
|
531
537
|
- map: changing a `GeometriesModule`'s `line.color` keeps a fill opacity or label size set on its layers, and the same holds for routes, places, reachable ranges, custom GeoJSON, traffic incident details and area analytics
|
|
532
538
|
|
|
533
|
-
-
|
|
539
|
+
- map: Set every label on the map in one typeface, from the style's serif and italic faces or your own font files, and give the labels of a route, places or geometries one of their own ([#2630](https://github.com/tomtom-internal/maps-sdk-js/pull/2630))
|
|
534
540
|
|
|
535
541
|
- The `labels.typeface` knob of `StylingFoundationsModule` takes `sans`, `sans-italic`, `serif` or `serif-italic` (`mapTypefaces`), each label keeping its weight
|
|
536
542
|
- `labels.customTypeface` takes your own font file URLs per weight (`CustomTypeface`), which the map downloads itself; characters outside their range are drawn in the style's Noto face
|
|
@@ -542,12 +548,12 @@
|
|
|
542
548
|
- `map-styling-playground` shows the typefaces in its Labels section, beside a route, museums and a district, and its sections now collapse
|
|
543
549
|
- `themed-map` sets its labels in Fraunces from the first frame
|
|
544
550
|
|
|
545
|
-
-
|
|
551
|
+
- map: `RoutingModule`, `PlacesModule`, `CustomGeoJSONModule` and `TrafficIncidentDetailsModule` keep their events and `sourceAndLayerIDs` in step with the layers a later config change adds or removes ([#2325](https://github.com/tomtom-internal/maps-sdk-js/pull/2325))
|
|
546
552
|
- A removed layer, such as a section icon, an `additional` layer, a custom source's layer or the incident highlight halo, used to stop hover and click for every module on the map. An added layer got no events and was missing from `sourceAndLayerIDs`
|
|
547
553
|
|
|
548
|
-
-
|
|
554
|
+
- map: `POIsModule`'s `filters.categories` narrows the micro markers too, so the dots of filtered-out categories no longer show from zoom 15.5, nor come back from `getRenderedFeatures()` ([#2600](https://github.com/tomtom-internal/maps-sdk-js/pull/2600))
|
|
549
555
|
|
|
550
|
-
-
|
|
556
|
+
- map: `RoutingModule.setSectionFocus` rings any section or leg of the shown routes, so your UI can point at the stretch it describes ([#2635](https://github.com/tomtom-internal/maps-sdk-js/pull/2635))
|
|
551
557
|
|
|
552
558
|
- The ring outlines the route clear of its hovered outline and section halos rather than covering them, black on a light style and white on a dark one, as the traffic incident highlight does
|
|
553
559
|
- `highlight.section.outline.color` and `highlight.section.outline.widthFactor` restyle it, as config or as routing knobs
|
|
@@ -555,46 +561,46 @@
|
|
|
555
561
|
- examples: `route-leg-options-playground` rings the leg you point at or focus in its panel
|
|
556
562
|
- examples: `route-styling-playground` rings the route's toll roads, with a colour and a width control for the ring
|
|
557
563
|
|
|
558
|
-
-
|
|
564
|
+
- map: the `maplibre-gl` peer dependency moves up to `^6.13.0` ([#2627](https://github.com/tomtom-internal/maps-sdk-js/pull/2627))
|
|
559
565
|
|
|
560
|
-
-
|
|
566
|
+
- map: a route's speed limit signs draw from zoom 11 by default, one zoom after the tunnel and closed-road signs, so they no longer crowd the overview of a route; `sections.speedLimit.sign.minZoom` still sets it ([#2625](https://github.com/tomtom-internal/maps-sdk-js/pull/2625))
|
|
561
567
|
|
|
562
|
-
-
|
|
568
|
+
- map: a `TerrainModule` change that leaves the 3D surface as it was, such as a hillshade knob, no longer makes MapLibre rebuild the terrain ([#2528](https://github.com/tomtom-internal/maps-sdk-js/pull/2528))
|
|
563
569
|
|
|
564
|
-
-
|
|
570
|
+
- tests: each package's unit test run now fails when its coverage drops below the goals in `TESTING.md` ([#2614](https://github.com/tomtom-internal/maps-sdk-js/pull/2614))
|
|
565
571
|
|
|
566
572
|
## 1.0.0-rc.1
|
|
567
573
|
|
|
568
574
|
### Patch Changes
|
|
569
575
|
|
|
570
|
-
-
|
|
576
|
+
- `npm install @tomtom-org/maps-sdk` installs the 1.0.0 release candidate, with no `@rc` needed, and the npm page shows its README ([#2517](https://github.com/tomtom-internal/maps-sdk-js/pull/2517))
|
|
571
577
|
|
|
572
578
|
## 1.0.0-rc.0
|
|
573
579
|
|
|
574
580
|
### Major Changes
|
|
575
581
|
|
|
576
|
-
-
|
|
582
|
+
- core, services, map: 1.0.0, the first stable release of the SDK. The *Upgrading to 1.0 from a 0.x release* guide lists every change to apply from a 0.x release. ([#2482](https://github.com/tomtom-internal/maps-sdk-js/pull/2482))
|
|
577
583
|
|
|
578
584
|
### Minor Changes
|
|
579
585
|
|
|
580
|
-
-
|
|
586
|
+
- **Breaking:** core, services, map: the error codes take the TomTom Navigation SDK's names: `API_KEY_REJECTED` is `INVALID_CREDENTIALS`, `SERVICE_UNAVAILABLE` is `LIVE_SERVICE_NOT_AVAILABLE`, `NETWORK_ERROR` is `NETWORK_NOT_AVAILABLE` and `UNEXPECTED` is `INTERNAL` ([#2490](https://github.com/tomtom-internal/maps-sdk-js/pull/2490))
|
|
581
587
|
**Breaking:** core, services, map: a `403` is `INSUFFICIENT_PERMISSIONS`, a valid key not allowed the request, and `INVALID_CREDENTIALS` is a `401` only, a key the API does not know
|
|
582
588
|
- services, map: `SDKError.canRetry` and `TomTomMapError.canRetry` are `true` for `RATE_LIMITED`, `LIVE_SERVICE_NOT_AVAILABLE` and `NETWORK_NOT_AVAILABLE`, the failures that clear on their own
|
|
583
589
|
- services: a `403` keeps the API's message, and `SDKServiceError.apiErrorCode` holds the API's own code: `'Forbidden'` when the API is not enabled for the key, `'InvalidReferer'` when its domain restriction refused the page
|
|
584
590
|
- services: `calculateReachableRange` and `calculateReachableRanges`, in Private Preview, name the access a key lacks, and link the Private Preview terms, in the message; the access is also in `SDKServiceError.privatePreviewAccess`, `{ product, requestAccessURL }`
|
|
585
591
|
- map: a style, tile, sprite or glyph answered `403` reaches the error handlers as `INSUFFICIENT_PERMISSIONS`
|
|
586
592
|
|
|
587
|
-
-
|
|
593
|
+
- **Breaking:** map: the sky, space, incident delay and hillshade knobs are named as every other knob is: a part's settings sit under it, and no name repeats its parent ([#2512](https://github.com/tomtom-internal/maps-sdk-js/pull/2512))
|
|
588
594
|
- map: `StylingFoundationsModule` knob ids `view.sky`, `view.skyColor`, `view.horizonColor` and `view.spaceColor` are `view.sky.visible`, `view.sky.color`, `view.sky.horizonColor` and `view.space.color`, in `styleColorKnobIds`, `getStyleColor` and map presets too
|
|
589
595
|
- map: `TrafficIncidentsModule` `filters: { delays: { mustHaveDelay, minDelayMinutes } }` is `filters: { delays: { required, minMinutes } }`, and the knob ids follow
|
|
590
596
|
- map: `TerrainModule` `hillshade: { lightDirection, exaggeration, shadowColor, highlightColor, accentColor }` is `hillshade: { light: { direction }, intensity, colors: { shaded, lit, steep } }`, and the knob ids follow, in `styleColorKnobIds` and `getStyleColor` too; `exaggeration` is now only the raised surface's vertical scale
|
|
591
597
|
- agent-toolkit: `setMapStyling`'s globe example sets `view.sky.visible`
|
|
592
598
|
|
|
593
|
-
-
|
|
599
|
+
- **Breaking:** map: `PlacesKnob` and the traffic knob types list only the kinds their catalogues hold, so a `switch` over their `kind` drops the cases no entry reaches ([#2485](https://github.com/tomtom-internal/maps-sdk-js/pull/2485))
|
|
594
600
|
- `PlacesKnob` no longer includes `text`
|
|
595
601
|
- `TrafficFlowKnob`, `TrafficIncidentsKnob`, `TrafficIncidentDetailsKnob` and `TrafficAreaAnalyticsKnob` no longer include `image`
|
|
596
602
|
|
|
597
|
-
-
|
|
603
|
+
- **Breaking:** map: the last config properties and knob ids off the shared vocabulary follow it: a size preset is a `*Preset`, a fill style sits under `fill`, and a unit is named once ([#2505](https://github.com/tomtom-internal/maps-sdk-js/pull/2505))
|
|
598
604
|
- map: `GeometriesModule` and `ReachableRangesModule` take `fill: { style }` instead of `fillStyle`, and `TrafficAreaAnalyticsModule` `regionPolygon: { fill: { style } }` instead of `regionPolygon.fillStyle`; a feature's `properties.fillStyle` stays
|
|
599
605
|
- map: `RoutingModule` `width`, `sections.<type>.width` and `waypoints.size` are `widthPreset`, `sections.<type>.widthPreset` and `waypoints.sizePreset`
|
|
600
606
|
- map: `PlacesModule` `cluster.source` takes `radius`, `maxZoom`, `minPoints` and `properties` instead of MapLibre's `clusterRadius`, `clusterMaxZoom`, `clusterMinPoints` and `clusterProperties`, typed by `PlacesClusterSourceConfig`
|
|
@@ -603,12 +609,12 @@
|
|
|
603
609
|
- map: each renamed property's knob id follows it
|
|
604
610
|
- agent-toolkit: the tools keep their parameters, and the plugin needs SDK 1.0.0-rc.0
|
|
605
611
|
|
|
606
|
-
-
|
|
612
|
+
- **Breaking:** map: the map loads TomTom standard styles only, so a custom style URL or style JSON no longer loads ([#2489](https://github.com/tomtom-internal/maps-sdk-js/pull/2489))
|
|
607
613
|
- `StyleInput` no longer takes `{ type: 'custom', url }` or `{ type: 'custom', json }`, and `CustomStyle` and `CustomStyleSource` are no longer exported
|
|
608
614
|
- `lightDarkTheme` is gone with them: `map.styleLightDarkTheme` follows from the standard style ID
|
|
609
615
|
- Restyle a standard style at runtime with `StylingFoundationsModule` and `setMapColors` instead
|
|
610
616
|
|
|
611
|
-
-
|
|
617
|
+
- **Breaking:** core, services, map: the SDK no longer offers real-time EV charging availability, nor routes and reachable ranges planned on a vehicle consumption model; search results keep their static EV station data ([#2495](https://github.com/tomtom-internal/maps-sdk-js/pull/2495))
|
|
612
618
|
- services: `evChargingStationsAvailability`, `getPlacesWithEVAvailability`, `getPlaceWithEVAvailability` and `hasChargingAvailability` are removed
|
|
613
619
|
- services: long-distance EV routing is removed: `vehicle.preferences`, `chargingStopsStrategy` and `chargingStopsStrategies`
|
|
614
620
|
- services: `vehicle` takes `model.dimensions.weightKG`, `state.heading` and `restrictions` only: `engineType`, `model.engine`, `model.variantId` and the charge and fuel state are removed, with the electric, combustion and generic vehicle types
|
|
@@ -619,23 +625,23 @@
|
|
|
619
625
|
|
|
620
626
|
The *Upgrading to 1.0 from a 0.x release* guide lists every removed name.
|
|
621
627
|
|
|
622
|
-
-
|
|
628
|
+
- **Breaking:** map: each standard style ID is the Orbis style it loads, in camelCase ([#2507](https://github.com/tomtom-internal/maps-sdk-js/pull/2507))
|
|
623
629
|
- map: `standardLight`, `standardDark`, `drivingLight`, `drivingDark` and `satellite` are `streetLight`, `streetDark`, `streetLightDriving`, `streetDarkDriving` and `streetSatellite`; `monoLight` and `monoDark` stay
|
|
624
630
|
- agent-toolkit: `setMapStandardStyle` takes the new IDs, `resetState` reverts to `streetLight`, and the plugin needs SDK 1.0.0-rc.0
|
|
625
631
|
- map-theme, landmarks-3d: their docs name the new IDs
|
|
626
632
|
|
|
627
633
|
### Patch Changes
|
|
628
634
|
|
|
629
|
-
-
|
|
635
|
+
- map: the `maplibre-gl` peer dependency moves up to `^6.12.0` ([#2500](https://github.com/tomtom-internal/maps-sdk-js/pull/2500))
|
|
630
636
|
|
|
631
|
-
-
|
|
637
|
+
- core, services, map: the package ships without source maps, so a stack trace through the SDK points into its minified bundles, which keep their function names ([#2506](https://github.com/tomtom-internal/maps-sdk-js/pull/2506))
|
|
632
638
|
- An app's own source maps still lead a trace to the SDK's frames (`map/dist/map.es.js:1:84523`); share such a trace in a report and TomTom maps it back to the source
|
|
633
639
|
|
|
634
|
-
-
|
|
640
|
+
- map: `TerrainModule` sets the hillshade light's height and what its direction turns with, and the `multidirectional` method fans its four lights around the light's direction ([#2505](https://github.com/tomtom-internal/maps-sdk-js/pull/2505))
|
|
635
641
|
- map: `hillshade.light.altitude`, in degrees above the horizon, and `hillshade.light.alignment`, `viewport` or `map` (`hillshadeLightAlignments`), in the config and as `terrainKnobCatalogue` knobs
|
|
636
642
|
- map: with `method: 'multidirectional'`, `hillshade.light.direction` is the centre of four lights spread over 135°
|
|
637
643
|
|
|
638
|
-
-
|
|
644
|
+
- map: `TrafficIncidentsModule` can show planned incidents, and its incident descriptions follow the map language ([#2503](https://github.com/tomtom-internal/maps-sdk-js/pull/2503))
|
|
639
645
|
|
|
640
646
|
- `timeValidity: ['present', 'future']` brings scheduled roadworks and closures in next to the incidents under way, also as the `timeValidity` knob
|
|
641
647
|
- `description` is in the map language, or the nearest one the traffic service has (`pt-PT` for `pt-BR`), else English; `map.setLanguage` reloads the incident tiles when that changes
|
|
@@ -645,49 +651,49 @@
|
|
|
645
651
|
|
|
646
652
|
### Minor Changes
|
|
647
653
|
|
|
648
|
-
-
|
|
654
|
+
- **Breaking:** map: CustomGeoJSONModule places its layers with `beforeLayerConfig`, as every other module does, and can still put a layer below any layer outside the style ([#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477))
|
|
649
655
|
- map: a layer's `beforeID: mapStyleLayerIDs.lowestLabel` is `beforeLayerConfig: 'lowestLabel'`; `beforeLayerConfig: { layerID }` goes below another layer, such as one of this or another module's
|
|
650
656
|
- map: `beforeLayerConfig` on the module places every layer that sets none, `'top'` by default
|
|
651
657
|
- agent-toolkit: `setByodLayers` keeps its `beforeID` parameter and needs SDK 0.64.0
|
|
652
658
|
|
|
653
|
-
-
|
|
659
|
+
- **Breaking:** map: the event-state methods are `setEventState`, `clearEventState` and `clearEventStates`, and the style-owned modules' `getShown()` is `getRenderedFeatures()` ([#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477))
|
|
654
660
|
- map: `putEventState`, `cleanEventState` and `cleanEventStates` are renamed on every data-owned module and its named scopes; `PutEventStateOptions`, `CleanEventStateOptions` and `CleanEventStatesOptions` are `SetEventStateOptions`, `ClearEventStateOptions` and `ClearEventStatesOptions`
|
|
655
661
|
- map: `POIsModule`, `TrafficFlowModule` and `TrafficIncidentsModule` `getShown()` is `getRenderedFeatures()`, what their tiles render in view; the data-owned modules keep `getShown()`, the data `show` was given
|
|
656
662
|
|
|
657
|
-
-
|
|
663
|
+
- **Breaking:** map: every module's `highlight` names the part it changes, then the property, so the hovered and clicked look reads the same across modules ([#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477))
|
|
658
664
|
- RoutingModule: `highlight: { outlineWidthFactor }` is `highlight: { outline: { widthFactor } }`, knob id `highlight.outline.widthFactor`
|
|
659
665
|
- GeometriesModule and ReachableRangesModule: `highlight: { fillOpacityFactor, lineWidthFactor }` is `highlight: { fill: { opacityFactor }, line: { widthFactor } }`, knob ids `highlight.fill.opacityFactor` and `highlight.line.widthFactor`
|
|
660
666
|
- TrafficIncidentDetailsModule: `highlight: { outlineColor, widthFactor }` is `highlight: { outline: { color }, line: { widthFactor } }`, knob ids `highlight.outline.color` and `highlight.line.widthFactor`
|
|
661
667
|
|
|
662
|
-
-
|
|
668
|
+
- **Breaking:** services, map: a `commonBaseURL` on `http:` is refused unless it is a loopback address (`localhost`, `127.0.0.0/8`, `[::1]`), so the API key never travels in the clear ([#2480](https://github.com/tomtom-internal/maps-sdk-js/pull/2480))
|
|
663
669
|
- services: such a call rejects with an `SDKError` coded `INSECURE_BASE_URL` before any request, even with `validateRequest: false`
|
|
664
670
|
- map: the `TomTomMap` constructor throws a `TomTomMapError` coded `INSECURE_BASE_URL`
|
|
665
671
|
- a relative base URL, such as `/api`, still follows the page
|
|
666
672
|
|
|
667
|
-
-
|
|
673
|
+
- **Breaking:** map, services: internals that were exported without documentation are no longer exported ([#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477))
|
|
668
674
|
- map: `EventsProxy`, `sharedInstance`, `TomTomMapSource`, `InternalTomTomMapParams`, `poiLayerIDs`, `buildRoutingLayers` and `ROUTE_LINE_OUTLINE_COLOR`, whose value the upgrade guide gives
|
|
669
675
|
- services: the geometry data wire-format types `GeometryDataResponseAPI` and `AdditionalDataAPI`
|
|
670
676
|
- flyover: the arrow marker keeps its default fill, now defined in the plugin rather than imported from the SDK
|
|
671
677
|
|
|
672
|
-
-
|
|
678
|
+
- **Breaking:** map: a shape's edge is its outline and a label's is its halo, in every module ([#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477))
|
|
673
679
|
- map: the map colour `labelOutline` is `labelHalo`, knob id `colors.labelHalo`
|
|
674
680
|
- map: PlacesModule `cluster.badge.strokeColor` and `strokeWidth` are `outlineColor` and `outlineWidth`, knob ids `cluster.badge.outlineColor` and `cluster.badge.outlineWidth`
|
|
675
681
|
- map-theme: `deriveMapColors`, `deriveMapColorsFromCss` and `deriveMapColorsFromImage` return `labelHalo` in place of `labelOutline`, and need SDK 0.64.0
|
|
676
682
|
|
|
677
|
-
-
|
|
683
|
+
- **Breaking:** map: ReachableRangesModule's border labels are `lineLabel`, as GeometriesModule names the labels along a line ([#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477))
|
|
678
684
|
- `label` is `lineLabel`, its knob ids `lineLabel.*`, and `ReachableRangeLabelConfig` is `ReachableRangeLineLabelConfig`
|
|
679
685
|
|
|
680
|
-
-
|
|
686
|
+
- **Breaking:** services: `getSearchSuggestions` takes `limit` and `geoBias: { position }`, as the other searches name them ([#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477))
|
|
681
687
|
- `getSearchSuggestions({ maxResults: 8, origin: [4.9, 52.37] })` is `getSearchSuggestions({ limit: 8, geoBias: { position: [4.9, 52.37] } })`; defaults and behaviour are unchanged
|
|
682
688
|
|
|
683
|
-
-
|
|
689
|
+
- **Breaking:** services, map: every SDK error names what went wrong in a `code`, one of `SDKErrorCode`, and carries the `sdkVersion` that raised it ([#2480](https://github.com/tomtom-internal/maps-sdk-js/pull/2480))
|
|
684
690
|
- core: `sdkErrorCodes` lists the codes: `INVALID_REQUEST`, `INSECURE_BASE_URL`, `API_KEY_REJECTED`, `NOT_FOUND`, `RATE_LIMITED`, `SERVICE_UNAVAILABLE`, `NETWORK_ERROR`, `ABORTED`, `WEBGL_UNSUPPORTED`, `WEBGL_CONTEXT_LOST`, `STYLE_LOAD_FAILED`, `UNEXPECTED`
|
|
685
691
|
- services: a request that gets no response rejects with `NETWORK_ERROR`, keeping what `fetch` threw as its `cause`
|
|
686
692
|
- **Breaking:** services: `SDKError`'s third constructor argument is an options object, `{ code, issues?, cause? }`, instead of the Zod issues
|
|
687
693
|
- map: `TomTomMap.addErrorHandler` receives every failure after construction as a `TomTomMapError`: a style, tile, sprite or glyph that failed to load, with its `status` and `sourceId`, and a lost WebGL context
|
|
688
694
|
- map: the `TomTomMap` constructor throws a `TomTomMapError` with `WEBGL_UNSUPPORTED` when the browser has no WebGL2, and `setStyle` rejects with one when the style fails to load
|
|
689
695
|
|
|
690
|
-
-
|
|
696
|
+
- **Breaking:** core, services, map: 37 internal helpers and types are no longer exported, or no longer in the published types ([#2480](https://github.com/tomtom-internal/maps-sdk-js/pull/2480))
|
|
691
697
|
- **Breaking:** core: `bboxExpandedWithPosition`, `bboxExpandedWithBBox`, `bboxExpandedWithGeoJSON`, `toPointFeature`
|
|
692
698
|
- **Breaking:** services: `ServiceTemplate`, `ParseResponseError`, `ParsedFetchResponse`, `RequestOptions`, `parseDefaultResponseError`, `buildResponseError`, `buildValidationError`
|
|
693
699
|
- **Breaking:** map: `renderedRefId`, `findFeatureByRefId`, `filterLayersBySources`, `withEventState`, `combineEventScopes`, `scopedLayerSpecs`, `reservedScopeNames`, `assertNoReservedScopeNames`, `getIconIDForPlace`, `getPOIGroupForPlace`, `getPOILayerCategoryForPlace`, `STOP_DISPLAY_LABEL`, `getStyleCategories`
|
|
@@ -695,19 +701,19 @@
|
|
|
695
701
|
|
|
696
702
|
### Patch Changes
|
|
697
703
|
|
|
698
|
-
-
|
|
704
|
+
- map: `MapLibreOptions` no longer accepts `transformRequest`, which the SDK sets itself, so a value that never took effect is now a type error ([#2479](https://github.com/tomtom-internal/maps-sdk-js/pull/2479))
|
|
699
705
|
- route TomTom requests through a proxy of your own with `commonBaseURL` instead
|
|
700
706
|
|
|
701
|
-
-
|
|
707
|
+
- map: a Vite build or dev server renders the map with no MapLibre worker setup: `TomTomMap` starts MapLibre's web worker from the copy Vite builds out of your own `maplibre-gl`, served from your app's origin ([#2475](https://github.com/tomtom-internal/maps-sdk-js/pull/2475))
|
|
702
708
|
- `registerMapLibreWorker: false` keeps MapLibre's own worker lookup
|
|
703
709
|
- MapLibre's own lookup also stays in place when you already called its `setWorkerUrl`, when MapLibre loads unbundled from a CDN, and under webpack's default classic workers
|
|
704
710
|
|
|
705
|
-
-
|
|
711
|
+
- core: a partial `retry` passed to `TomTomConfig.instance.put` takes its missing fields from the default retry config ([#2479](https://github.com/tomtom-internal/maps-sdk-js/pull/2479))
|
|
706
712
|
- `put({ retry: { timeoutMs: 10000 } })` no longer leaves `initialWaitMs` and `backoffFactor` undefined, which made `429` retries wait `NaN` milliseconds
|
|
707
713
|
|
|
708
|
-
-
|
|
714
|
+
- core: `sendUserAgentHeader: false` in the global config, or in a map's or a service call's params, stops requests from carrying the `tomtom-user-agent` header ([#2480](https://github.com/tomtom-internal/maps-sdk-js/pull/2480))
|
|
709
715
|
|
|
710
|
-
- [#2479](https://github.com/tomtom-internal/maps-sdk-js/pull/2479)
|
|
716
|
+
- services, map: import as values the catalogues that only exported their types ([#2479](https://github.com/tomtom-internal/maps-sdk-js/pull/2479))
|
|
711
717
|
- services: `arrivalSides`, `chargingStopsStrategies` and `functionalRoadClasses` from `@tomtom-org/maps-sdk/services`, as `routeTypes` already is
|
|
712
718
|
- map: `AREA_ANALYTICS_DEFAULTS` from `@tomtom-org/maps-sdk/map`
|
|
713
719
|
|
|
@@ -715,40 +721,40 @@
|
|
|
715
721
|
|
|
716
722
|
### Minor Changes
|
|
717
723
|
|
|
718
|
-
-
|
|
724
|
+
- **Breaking:** map: TrafficAreaAnalyticsModule names its settings as the other modules do, so its config and knob ids change ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
719
725
|
- `metricConfig` is `metrics`, and its knob ids `metrics.<metric>.*`
|
|
720
726
|
- a colour stops' `valueType` is `scaleMode`, taking the height's values: `'predefinedRange'`, `'currentRange'` and `'raw'`; `AreaAnalyticsValueType` is `AreaAnalyticsScaleMode`
|
|
721
727
|
- `regionPolygon` takes `fill: { opacity }`, `line: { opacity, width }` and `fillStyle: 'filled' | 'inverted'` in place of `fillOpacity`, `outlineOpacity`, `outlineWidth` and `inverted`
|
|
722
728
|
|
|
723
|
-
-
|
|
729
|
+
- **Breaking:** map: whole base-map layer groups are `BaseMapModule`'s alone; the StylingModule knobs `basemap.<group>`, `buildings.footprints`, `buildings.3d` and `roads.shields` are gone ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
724
730
|
- map: show or hide a group with `baseMap.setVisible(visible, { layerGroups: { show: 'only', values: ['buildings3D'] } })`, or `setKnob(baseMap, baseMapKnobCatalogue, 'groups.buildings3D.visible', true)`
|
|
725
731
|
- map: the `data-viz`, `night-driving` and `minimal` presets no longer show or hide the building groups and the road shields
|
|
726
732
|
- agent-toolkit: the `toggleTilesBaseMapLayerGroups` tool shows and hides whole groups, or the whole base map, and reports which groups are hidden; `setMapStyling` no longer takes the group knobs
|
|
727
733
|
|
|
728
|
-
-
|
|
734
|
+
- **Breaking:** map: TrafficFlowModule and TrafficIncidentsModule `filters` is one filter, its fields set directly, and `any` adds the further filters a feature may match instead: `filters: { any: [{ roadCategories }] }` becomes `filters: { roadCategories }`, and the knob ids drop `any.0` (`filters.roadCategories.values`). Flow's `showRoadClosures` is `roadClosures`. `TrafficFlowFilters` and `TrafficIncidentsFilters` are `FiltersWithAlternatives` of their one filter. BaseMapModule `layerGroups` take the `{ show: 'only' | 'all-except', values }` filter POIs and traffic use, instead of `{ mode: 'include' | 'exclude', names }`. ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
729
735
|
|
|
730
|
-
-
|
|
736
|
+
- map: **Breaking:** `GeometriesModule` takes MapLibre border overrides only through `layers.line` ([#2465](https://github.com/tomtom-internal/maps-sdk-js/pull/2465))
|
|
731
737
|
- **Breaking:** `line.layer` is removed; move its `paint` and `layout` to `layers: { line }`, which takes precedence over the curated `line` fields where `line.layer` sat under them
|
|
732
738
|
|
|
733
|
-
-
|
|
739
|
+
- **Breaking:** map: the TrafficIncidentDetailsModule `focus` setting is `highlight`, the look of a focused, hovered or clicked incident; `setFocus` and the `focused` state keep their names ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
734
740
|
- map: `IncidentFocusStyle` is `IncidentHighlightConfig`, the knob ids `focus.outlineColor` and `focus.widthFactor` are `highlight.outlineColor` and `highlight.widthFactor`
|
|
735
741
|
- map: the `layers.focusHalo` override is `layers.highlightHalo`, and the layer id suffix `-focus-halo` is `-highlight-halo`
|
|
736
742
|
|
|
737
|
-
-
|
|
743
|
+
- **Breaking:** map: `setKnob`, `getKnob` and `resetKnob` set, read and reset a knob by id on every module, `StylingFoundationsModule` included, which loses its own `set`, `get` and `reset` ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
738
744
|
- `styling.set(id, value)` is `setKnob(styling, stylingFoundationsKnobCatalogue, id, value)`, `styling.get(id)` is `getKnob(styling, stylingFoundationsKnobCatalogue, id)`, `styling.reset(id)` is `resetKnob(styling, stylingFoundationsKnobCatalogue, id)`, and `styling.reset()` is `styling.resetConfig()`
|
|
739
745
|
- `getKnob(module, catalogue, id)` returns the value in force, or the catalogue default where the configuration sets none
|
|
740
746
|
- `resetKnob(module, catalogue, id)` drops the knob from the configuration, so a `setKnob` then a `resetKnob` leaves `getConfig()` as it was
|
|
741
747
|
- `KnobTarget` types what the three functions take, for a control panel written once for any module
|
|
742
748
|
|
|
743
|
-
-
|
|
749
|
+
- **Breaking:** map: a knob's range is read from its catalogue with `knobEntryOf(catalogue, id)`, and the `*_RANGE` constants that repeated it are no longer exported ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
744
750
|
- `ROUTE_WIDTH_FACTOR_RANGE`, `ROUTE_WAYPOINT_SIZE_FACTOR_RANGE`, `ROUTE_WAYPOINT_HIGHLIGHT_SIZE_FACTOR_RANGE`, `SECTION_ICON_SIZE_FACTOR_RANGE` and `ROUTE_HIGHLIGHT_OUTLINE_WIDTH_FACTOR_RANGE` are `knobEntryOf(routingKnobCatalogue, id).range`
|
|
745
751
|
- `INCIDENT_FOCUS_WIDTH_FACTOR_RANGE` is `knobEntryOf(trafficIncidentDetailsKnobCatalogue, 'highlight.widthFactor').range`
|
|
746
752
|
- **Breaking:** the undocumented route layer colours, widths and size helpers, such as `ROUTE_LINE_FOREGROUND_COLOR` and `getWaypointIconSize`, are no longer exported; `SELECTED_ROUTE_FILTER` and `DESELECTED_ROUTE_FILTER` stay
|
|
747
753
|
- `knobEntryOf` throws an `Error` naming an id its catalogue lacks
|
|
748
754
|
|
|
749
|
-
-
|
|
755
|
+
- **Breaking:** map: every label names its content `title` and its look with the shared label fields, in a `label` object. PlacesModule `connections.label` takes `{ title, color, haloColor }` instead of a function beside `textColor` and `haloColor`, and the cluster badge's `textColor` and `textSize` move to `badge.label.color` and `badge.label.size`. RoutingModule `countryCrossings.textColor` is `countryCrossings.label.color`. GeometriesModule `label.text` and `lineLabel.text` are `title`. ReachableRangesModule `title` moves to `label.title`, and `palette` to `fill.palette`. The knob ids follow. ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
750
756
|
|
|
751
|
-
-
|
|
757
|
+
- **Breaking:** map: `StylingFoundationsModule` keeps the foundations of the look (label, symbol and road sizes, the map colours and the accent, projection and sky), and every other look knob moves to the module drawing those layers ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
752
758
|
- map: the POI knobs are `POIsModule`'s: `pois.sizeFactor`, `pois.minZoom` and `pois.zoomShift` are `sizeFactor`, `minZoom` and `zoomShift`; `pois.labelColor` and `pois.labelOutlineColor` are `label.color` and `label.haloColor`; `pois.microMarkers` is `microMarkers.visible`, in `poisKnobCatalogue` and `POIsModuleConfig`
|
|
753
759
|
- map: the traffic knobs are `TrafficFlowModule`'s and `TrafficIncidentsModule`'s: `traffic.flow.<level>Color` is `colors.<level>` (`colors.slow`, …), `traffic.incidents.<magnitude>Color` is `colors.<magnitude>`, and each module has its own `widthFactor`
|
|
754
760
|
- map: the hillshade knobs are `TerrainModule`'s, under the same `hillshade.*` ids in `terrainKnobCatalogue` and `TerrainModuleConfig`
|
|
@@ -756,54 +762,54 @@
|
|
|
756
762
|
- map: the knobs still compose across modules on one layer (`labels.sizeFactor` and the POIs' `sizeFactor` multiply on the POI labels) and survive a style switch
|
|
757
763
|
- map: `getStyleColor(map, id)` reads the colour a style colour knob is at by its map-wide id (`'traffic.incidents.colors.major'`, `'pois.label.color'`, `'colors.water'`), with `styleColorKnobIds` listing them; `StylingColorKnobId` is `StyleColorKnobId`, joined by `StyleKnobId` and `StyleKnobValueOf`
|
|
758
764
|
|
|
759
|
-
-
|
|
765
|
+
- **Breaking:** map: the undocumented internals `mapDisplayPoiCategoryMappings`, `toBaseMapPOICategory`, `toBaseMapPOIGroup`, `baseMapPOICategoryValues`, `sharedInstanceIfCreated` and `SymbolLayerSpecWithoutSource` are no longer exported; `MapStylePOICategory` stays ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
760
766
|
|
|
761
|
-
-
|
|
767
|
+
- **Breaking:** map: presets are the map's, not `StylingFoundationsModule`'s: `styling.applyPreset(id)` is `await applyMapPreset(map, id)`, which sets the StylingFoundations, BaseMap and POIs knobs each preset names ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
762
768
|
- map: `stylingPresetIds`, `stylingPresetCatalogue`, `StylingPresetId` and `StylingPreset` are `mapPresetIds`, `mapPresetCatalogue`, `MapPresetId` and `MapPreset`, with `MapPresetSettings` giving each module's values by its own catalogue ids
|
|
763
769
|
- map: `applyMapPreset` creates the modules the map lacks, takes `{ merge: true }` as before, and throws an `Error` for an unknown id
|
|
764
770
|
|
|
765
|
-
-
|
|
771
|
+
- **Breaking:** map: RoutingModule's `waypointSize` and `waypointSizeFactor` move into `waypoints` as `size` and `sizeFactor`, beside every other waypoint setting; the knob ids are `waypoints.size` and `waypoints.sizeFactor` ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
766
772
|
|
|
767
|
-
-
|
|
773
|
+
- **Breaking:** map: `StylingModule` is `StylingFoundationsModule`, the name of what it holds now that every other module styles its own layers ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
768
774
|
- map: its types and catalogue follow: `StylingFoundationsModuleConfig`, `StylingFoundationsEvents`, `StylingFoundationsKnob`, `StylingFoundationsKnobId`, `StylingFoundationsKnobKind`, `StylingFoundationsKnobRange`, `StylingFoundationsKnobValue`, `StylingFoundationsKnobValueOf`, `StylingFoundationsKnobAppliesTo`, `stylingFoundationsKnobCatalogue`, `stylingFoundationsKnobIds`, `stylingFoundationsKnobKinds` and `stylingFoundationsKnobAppliesTo`
|
|
769
775
|
- agent-toolkit: the base-map state's `getStylingModule()` is `getStylingFoundationsModule()`
|
|
770
776
|
|
|
771
|
-
-
|
|
777
|
+
- **Breaking:** map: `StylingSettings` is `StylingFoundationsModuleConfig`, the name every other module gives its configuration ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
772
778
|
|
|
773
|
-
-
|
|
779
|
+
- **Breaking:** map: every show-or-hide setting is a `visible` flag, so TerrainModule nests its settings and Places' EV availability drops `enabled` ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
774
780
|
- `TerrainModule` takes `{ hillshade: { visible }, elevation: { visible, exaggeration } }`; its knob ids are `hillshade.visible`, `elevation.visible` and `elevation.exaggeration`
|
|
775
781
|
- `terrain.setElevationEnabled` and `isElevationEnabled` are `setElevationVisible` and `isElevationVisible`
|
|
776
782
|
- `PlacesModule`'s `evAvailability.enabled` is `evAvailability.visible`, in the config and as a knob id
|
|
777
783
|
|
|
778
|
-
-
|
|
784
|
+
- map: `routingKnobCatalogue` publishes the rest of the waypoint label: `waypoints.label.size`, `waypoints.label.haloWidth`, `waypoints.label.opacity` and `waypoints.label.font`, so `RoutingKnob` takes the `enums` kind. Every module's label size and halo width knobs share one range, 6 to 48 and 0 to 10 pixels, widening the places ones. ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
779
785
|
|
|
780
786
|
### Patch Changes
|
|
781
787
|
|
|
782
|
-
-
|
|
788
|
+
- map: `TrafficAreaAnalyticsModule` colour stops given out of order or sharing a value still paint the cells ([#2461](https://github.com/tomtom-internal/maps-sdk-js/pull/2461))
|
|
783
789
|
- Each such ramp made MapLibre reject the layer's colour, as did any ramp under `relativeToActualRangePCT` once the loaded data had one value only
|
|
784
790
|
- Stops are sorted, and of stops sharing a value the last given wins
|
|
785
791
|
|
|
786
|
-
-
|
|
792
|
+
- Built on the refreshed toolchain (`vite` 8.3.2, `rolldown` 1.2.12, Biome 2.5.15); the runtime and peer dependencies are unchanged ([#2472](https://github.com/tomtom-internal/maps-sdk-js/pull/2472))
|
|
787
793
|
|
|
788
|
-
-
|
|
794
|
+
- map: every route section icon now wins its space over the map's labels by default, and the speed limit signs give way to all of them ([#2471](https://github.com/tomtom-internal/maps-sdk-js/pull/2471))
|
|
789
795
|
- map: the tunnel sign and the icons a generated section type asks for (`sections.<type>.icon`) sit above the map's labels, just under the other route icons, instead of under the labels
|
|
790
796
|
- map: under the default `sign.priority`, `belowRouteIcons`, the speed limit signs give way to every route icon, section icons included, and still take precedence over the map's labels
|
|
791
797
|
- map: the speed limit signs draw a tenth smaller, 0.45 to 0.63 from zoom 10 to 16, with their number scaled to match
|
|
792
798
|
|
|
793
|
-
-
|
|
799
|
+
- map: `sectionSupportsKnob(type, knob)` narrows `type` to `SectionTypeWithKnob<KNOB>`, the section types that take that knob, so a `` `sections.${type}.sign.minZoom` `` id built from it type-checks as a `RoutingKnobId` ([#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466))
|
|
794
800
|
|
|
795
|
-
-
|
|
801
|
+
- map: two `get()` calls at once on a style-owned module whose part the style lacks, such as `TrafficIncidentsModule`, add that part to the style once ([#2461](https://github.com/tomtom-internal/maps-sdk-js/pull/2461))
|
|
796
802
|
- Each call found the part missing while the first one's style was still loading, so the second asked for the part twice, which the style service rejects
|
|
797
803
|
|
|
798
804
|
## 0.62.3
|
|
799
805
|
|
|
800
806
|
### Patch Changes
|
|
801
807
|
|
|
802
|
-
-
|
|
808
|
+
- map: a module layer anchored below a layer the style lacks, such as `lowestBuilding` on Satellite, is drawn on top of the map instead of not at all ([#2454](https://github.com/tomtom-internal/maps-sdk-js/pull/2454))
|
|
803
809
|
- Traffic Area Analytics cells with such a `beforeLayerConfig`
|
|
804
810
|
- Custom GeoJSON layers with such a `beforeID`
|
|
805
811
|
|
|
806
|
-
-
|
|
812
|
+
- map: routes, places, geometries and every other data-owned module stay drawn through a `setStyle` that carries state, instead of disappearing for the first frames of the new style ([#2454](https://github.com/tomtom-internal/maps-sdk-js/pull/2454))
|
|
807
813
|
- Their layers are kept through the switch and take on the new style's look in place
|
|
808
814
|
- A clean switch (`resetState: true`) still removes them along with the old style
|
|
809
815
|
|
|
@@ -811,26 +817,26 @@
|
|
|
811
817
|
|
|
812
818
|
### Patch Changes
|
|
813
819
|
|
|
814
|
-
-
|
|
820
|
+
- map: `getShown()` on `TrafficIncidentsModule`, `TrafficFlowModule` and `POIsModule` leaves out what `setVisible(false)` just hid ([#2440](https://github.com/tomtom-internal/maps-sdk-js/pull/2440))
|
|
815
821
|
- MapLibre still returned a hidden layer's icons until its next symbol placement, a few frames later, so a `getShown()` right after hiding listed incidents or POIs no longer drawn
|
|
816
822
|
|
|
817
|
-
-
|
|
823
|
+
- map: override any MapLibre property of the layers `GeometriesModule`, `ReachableRangesModule`, `TrafficIncidentDetailsModule` and `TrafficAreaAnalyticsModule` draw, through a `layers` config merged over their defaults, as `PlacesModule` and `RoutingModule` already take ([#2451](https://github.com/tomtom-internal/maps-sdk-js/pull/2451))
|
|
818
824
|
- `styling.layers.query` takes the layers of the other style-owned modules as a `group`: `pois`, `trafficFlow`, `trafficIncidents` and `hillshade` (`styleModuleLayerGroupNames`)
|
|
819
825
|
- `styling.layers` and the styling knobs reach only the loaded style's own layers, never the layers a module adds on top of it
|
|
820
826
|
- `GeometriesModule`'s `line.layer` is deprecated in favour of `layers.line`, which takes precedence over the curated `line` fields instead of sitting under them
|
|
821
827
|
- `TrafficAreaAnalyticsModule` keeps the cells within both a metric filter's `min` and its `max`, where it kept the cells within either
|
|
822
828
|
|
|
823
|
-
-
|
|
829
|
+
- map: draw the map's own POIs of a category with an icon of your own, through `POIsModule`'s `icon.categoryIcons` ([#2442](https://github.com/tomtom-internal/maps-sdk-js/pull/2442))
|
|
824
830
|
- A `PlacesModule` `categoryIcons` entry also reaches the places of its map category: `RESTAURANT` reaches a searched `ITALIAN_RESTAURANT`, so one list restyles the map's POIs and the places you show alike
|
|
825
831
|
|
|
826
|
-
-
|
|
832
|
+
- core: the route progress helpers place distances and times between `progress` entries by the line's length, so a position stepped a fixed distance at a time moves at a steady speed ([#2449](https://github.com/tomtom-internal/maps-sdk-js/pull/2449))
|
|
827
833
|
- They shared the gap between two of the route's sparse entries by vertex count, so positions ran behind in bends, where vertices crowd, and ahead on straights. A fly-over along a mountain route sped up and slowed down by up to five times
|
|
828
834
|
- Covers `getCoordinateAtRouteProgress`, `calculateProgressAtRoutePoint`, `getRouteProgressBetween`, `getRouteProgressForSection` and `getProgressAtNearestRoutePoint`; on a winding route, values between entries can move by a couple of kilometres or minutes
|
|
829
835
|
|
|
830
|
-
-
|
|
836
|
+
- map: `StylingModule` knobs carried across `setStyle` land on the new style's first frame, instead of fading in from its own colours over the style's `transition` (300 ms by default) ([#2453](https://github.com/tomtom-internal/maps-sdk-js/pull/2453))
|
|
831
837
|
- Knobs set once the style has drawn keep the style's transition
|
|
832
838
|
|
|
833
|
-
-
|
|
839
|
+
- map: style a route's waypoint pins per role, letter or hide the stop numbers, set the labels and the hover growth, and give pins icons of your own or a POI category pin per stop. ([#2440](https://github.com/tomtom-internal/maps-sdk-js/pull/2440))
|
|
834
840
|
|
|
835
841
|
- `RoutingModuleConfig.waypoints` takes `icon.start`, `icon.middle` and `icon.finish` (a `style` and an `image` each, over `icon.style`), `icon.customIcons`, `icon.mapping` (the `IconMapping` places take), `stopNumbering` (`'numbers'`, `'letters'` or `'none'`), `label.visible`, `label.title` and `highlight.sizeFactor`.
|
|
836
842
|
- `routingKnobCatalogue` lists the new plain settings; `buildWaypointTitle` is exported, and handlers on `events.waypoints` receive the stop's mark as `stopDisplayLabel`.
|
|
@@ -844,7 +850,7 @@
|
|
|
844
850
|
|
|
845
851
|
### Patch Changes
|
|
846
852
|
|
|
847
|
-
-
|
|
853
|
+
- map: an icon a route posts where a section starts gives way to the waypoint icon on that point, instead of drawing flush against it ([#2439](https://github.com/tomtom-internal/maps-sdk-js/pull/2439))
|
|
848
854
|
- Covers the speed limit, tunnel and closed-to-vehicles signs, and the ferry, toll-road and traffic icons.
|
|
849
855
|
- The room follows the waypoint icon's `icon-anchor`, so a `layers.waypoints.routeWaypointSymbol` override is honoured.
|
|
850
856
|
|
|
@@ -852,7 +858,7 @@
|
|
|
852
858
|
|
|
853
859
|
### Minor Changes
|
|
854
860
|
|
|
855
|
-
-
|
|
861
|
+
- map: **Breaking:** `TrafficAreaAnalyticsModule` colours each metric from a named `palette` or its own `colorStops`, set with `setPalette` and `setColorStops`, and a raw height takes `metersPerUnit` ([#2425](https://github.com/tomtom-internal/maps-sdk-js/pull/2425))
|
|
856
862
|
|
|
857
863
|
- map: **Breaking:** `AreaAnalyticsColorTheme` is `AreaAnalyticsPalette`, and `areaAnalyticsPalettes` lists its names. Rename the type
|
|
858
864
|
- map: **Breaking:** `AreaAnalyticsMetricConfig.color` is gone: a palette name goes in `palette`, colour stops in `colorStops`, which wins when both are set, and with neither a metric draws `trafficLight`. Migrate `color: 'heat'` to `palette: 'heat'` and `color: { valueType, stops }` to `colorStops: { valueType, stops }`
|
|
@@ -862,20 +868,20 @@
|
|
|
862
868
|
- map: **Breaking:** the raw height's `scaleFactor` is `metersPerUnit`, the metres of height per unit of the metric. Migrate `setHeight({ scaleMode: 'raw', scaleFactor: 10 })` to `setHeight({ scaleMode: 'raw', metersPerUnit: 10 })`
|
|
863
869
|
- map: **Breaking:** in `trafficAreaAnalyticsKnobCatalogue`, `metricConfig.<metric>.color` is `metricConfig.<metric>.palette`, an `enum` knob over `areaAnalyticsPalettes` that defaults to `trafficLight`, and `metricConfig.<metric>.height.scaleFactor` is `metricConfig.<metric>.height.metersPerUnit`. Rename the ids
|
|
864
870
|
|
|
865
|
-
-
|
|
871
|
+
- **Breaking:** map: `TrafficIncidentsModule.isIconsVisible()` returns the incident icons setting, replacing `anyIconLayersVisible()`. ([#2422](https://github.com/tomtom-internal/maps-sdk-js/pull/2422))
|
|
866
872
|
|
|
867
873
|
- **Breaking:** map: `TrafficIncidentsModule.anyIconLayersVisible()` is removed. To read the icons setting, use `isIconsVisible()`; to read a layer itself, use `map.mapLibreMap.getLayoutProperty(layerId, 'visibility')`
|
|
868
874
|
- map: `TrafficIncidentsModule.isIconsVisible()` returns `icons.visible`, as the `icons.visible` knob reads, and `isVisible()` while it is unset: `true` for the icons-only `{ visible: false, icons: { visible: true } }`
|
|
869
875
|
- map: `TrafficIncidentsModule.setVisible()` clears `icons.visible` in a new configuration object, leaving the one `getConfig()`, a `config-change` handler or `TrafficIncidentsModule.get()` was given untouched
|
|
870
876
|
|
|
871
|
-
-
|
|
877
|
+
- map: Waypoint and place connection labels follow the map's light/dark theme like place and geometry labels, and take colour knobs of their own ([#2436](https://github.com/tomtom-internal/maps-sdk-js/pull/2436))
|
|
872
878
|
|
|
873
879
|
- `RoutingModule` waypoint labels draw dark grey text on a white halo on a light map and the two swapped on a dark one; `waypoints.label` takes a `LabelConfig`, and `waypoints.label.color` and `waypoints.label.haloColor` join `routingKnobCatalogue`
|
|
874
880
|
- `PlacesModule` connections take `connections.color`, `connections.textColor` and `connections.haloColor`, all three in `placesKnobCatalogue`
|
|
875
881
|
- On a dark map, connection labels and entry points take the same dark grey halo as place labels instead of a near-black one, and a connection label with a custom colour takes a lighter shade of it instead of a darker one
|
|
876
882
|
- Connection labels draw in the map's regular font; they named none, so the map fetched a font TomTom styles do not serve and drew them in a local browser font
|
|
877
883
|
|
|
878
|
-
- [#2431](https://github.com/tomtom-internal/maps-sdk-js/pull/2431)
|
|
884
|
+
- Breaking changes ([#2431](https://github.com/tomtom-internal/maps-sdk-js/pull/2431)):
|
|
879
885
|
- map: `TrafficIncidentOverlayModule` is `TrafficIncidentDetailsModule`, after the Traffic Incident Details service whose incidents it draws, and its config is `TrafficIncidentDetailsModuleConfig`; its sources and layers are suffixed `traffic-incident-details-N`, no longer `traffic-incident-overlay-N`
|
|
880
886
|
- map: `trafficIncidentOverlayKnobCatalogue`, `trafficIncidentOverlayKnobIds`, `TrafficIncidentOverlayKnob`, `TrafficIncidentOverlayKnobId` and `TrafficIncidentOverlayKnobValueOf` follow the module: `trafficIncidentDetailsKnobCatalogue`, `trafficIncidentDetailsKnobIds`, `TrafficIncidentDetailsKnob`, `TrafficIncidentDetailsKnobId`, `TrafficIncidentDetailsKnobValueOf`
|
|
881
887
|
- map: `StyleModule` is `StylePart` and `styleModules` is `styleParts`, so a part of the style no longer shares its name with the map modules: `include: StyleModule[]` → `include: StylePart[]`
|
|
@@ -883,7 +889,7 @@
|
|
|
883
889
|
- map: `TomTomMap.getStyle()` is `getStyleInput()`, as it returns the `StyleInput` the map was given and not the style specification MapLibre's `getStyle()` returns
|
|
884
890
|
- map: `POIsModule.getShown()` returns `{ pois }`, no longer `{ poi }`, and the module's source key is `pois` too
|
|
885
891
|
|
|
886
|
-
-
|
|
892
|
+
- **Breaking:** map: every module setting changes through `applyConfig`, `updateConfig` or `setKnob`; the setters that changed one setting are removed. ([#2429](https://github.com/tomtom-internal/maps-sdk-js/pull/2429))
|
|
887
893
|
|
|
888
894
|
- **Breaking:** map: `places.applyMarkerType(type)`, `applyIconConfig(icon)`, `applyLabelConfig(label)`, `applyExtraFeatureProps(props)` are removed: use `places.updateConfig({ markerType, icon, label, extraFeatureProps })`
|
|
889
895
|
- **Breaking:** map: `geometries.applyLabelConfig(label)` is removed: use `geometries.updateConfig({ label })`
|
|
@@ -896,7 +902,7 @@
|
|
|
896
902
|
- map: `PlacesModule.applyConfig` and `updateConfig` take the place shape, so `label.title`, `extraFeatureProps` and the icon mapping read your own place properties typed
|
|
897
903
|
- map: a `GeometriesModule` config change that only moves or hides layers keeps the shown geometries instead of preparing them again, and `TrafficAreaAnalyticsModule` masks its region again only when `regionPolygon.inverted` changes
|
|
898
904
|
|
|
899
|
-
-
|
|
905
|
+
- map: **Breaking:** `ReachableRangesModule` draws `calculateReachableRanges` results in colours from the map, and a geometry `fill.palette` is a list of your own CSS colours instead of a palette name ([#2436](https://github.com/tomtom-internal/maps-sdk-js/pull/2436))
|
|
900
906
|
|
|
901
907
|
- map: `ReachableRangesModule.create(map, config?)` and `show(ranges)` draw reachable ranges as returned: each band titled from its budget, each origin's bands nested around it, several origins in one `show`, and the `'filled'`, `'outline'` and `'inverted'` fill styles
|
|
902
908
|
- map: without a `palette`, the bands ramp from the map's accent toward its land colour, reversed for `'inverted'`, and repaint when either changes, such as on `StylingModule.setMapColors(deriveMapColors(…))`. On a map no theme has coloured, the ramp runs between the style's light or dark defaults and follows a switch. `palette` takes your own colours, innermost band first
|
|
@@ -912,7 +918,7 @@
|
|
|
912
918
|
|
|
913
919
|
### Patch Changes
|
|
914
920
|
|
|
915
|
-
-
|
|
921
|
+
- map: hover and click states survive a style change on every data-owned module, and a user event moves a state your code put. ([#2388](https://github.com/tomtom-internal/maps-sdk-js/pull/2388))
|
|
916
922
|
|
|
917
923
|
- map: the hover and click states of shown features survive a style change on `GeometriesModule`, `CustomGeoJSONModule`, `TrafficIncidentDetailsModule` and `TrafficAreaAnalyticsModule`, and a `GeometriesModule` geometry keeps its id
|
|
918
924
|
- map: a `TrafficAreaAnalyticsModule` style change no longer emits `shown-features`, as on the other modules
|
|
@@ -920,39 +926,39 @@
|
|
|
920
926
|
- map: an event state no longer writes into the feature objects you passed to `show`; `getShown()` returns a new collection after each state change
|
|
921
927
|
- map: a `PlacesModule` hover, click or `putEventState` after a configuration change keeps the titles, icons and properties that change set, instead of drawing the earlier ones again
|
|
922
928
|
|
|
923
|
-
-
|
|
929
|
+
- map: every data-owned module reads and writes the event states of the features it shows — `putEventState`, `cleanEventState`, `cleanEventStates` and `getEventStates`. ([#2388](https://github.com/tomtom-internal/maps-sdk-js/pull/2388))
|
|
924
930
|
|
|
925
931
|
- map: `PlacesModule`, `RoutingModule`, `GeometriesModule`, `CustomGeoJSONModule`, `TrafficIncidentDetailsModule` and `TrafficAreaAnalyticsModule` act on the main features their `getShown()` returns; `getEventStates()` reads back the ids by event state, what user interactions put as well as yours, as the new `EventStateIds` type
|
|
926
932
|
- map: the named scopes of those modules — `routing.events.waypoints`, `places.events.entryPoints`, `custom.events.<sourceName>`, … — are the new `UserEventsWithStates`, with the same four methods for their own features, so ids that repeat across sources never collide
|
|
927
933
|
- map: `PutEventStateOptions.id` and `CleanEventStateOptions.id` take a number as well as a string, matching a feature's `properties.id`, else its top-level `id`
|
|
928
934
|
|
|
929
|
-
-
|
|
935
|
+
- map: hovered and clicked routes, geometries and traffic incidents stand out by default; routes and geometries take how much from `highlight` factors, also knobs. ([#2388](https://github.com/tomtom-internal/maps-sdk-js/pull/2388))
|
|
930
936
|
|
|
931
937
|
- map: a hovered or clicked route draws a wider outline, selected or not, in its outline colour, `highlight.outlineWidthFactor` times: 1.2 unless set, clamped to `ROUTE_HIGHLIGHT_OUTLINE_WIDTH_FACTOR_RANGE` (1 to 1.25) so a section halo stays in sight, and a knob in `routingKnobCatalogue`; a `layers.mainLines.routeOutline` or `routeDeselectedOutline` line width you give is drawn as given
|
|
932
938
|
- map: a hovered or clicked geometry draws a denser fill and a wider border, in its own colours, `highlight.fillOpacityFactor` (2, 1 to 4, at most opaque) and `highlight.lineWidthFactor` (1.75, 1 to 3) times the opacity and width in force, a configured `fill.opacity` or `line.width` included; both are knobs in `geometriesKnobCatalogue`, and a `line.layer` line width is drawn as given
|
|
933
939
|
- map: a hovered or clicked `TrafficIncidentDetailsModule` incident draws the focus treatment `setFocus` draws, configured by the same `focus` config; `focus: false` turns it off for focused, hovered and clicked incidents alike
|
|
934
940
|
|
|
935
|
-
-
|
|
941
|
+
- map: `PlacesModule` takes a `beforeLayerConfig` (`PlacesBeforeLayerConfig`), placing its layers in the map's layer stack as one or per part ([#2430](https://github.com/tomtom-internal/maps-sdk-js/pull/2430))
|
|
936
942
|
- The parts are `places`, for the markers, clusters and entry points, and `connections`, for the connection lines; `all` covers the parts a record leaves out
|
|
937
943
|
- `applyConfig` and `updateConfig` restack the layers, a style change keeps them there and `resetConfig` puts them back. Unconfigured, the layer order is unchanged
|
|
938
944
|
|
|
939
|
-
-
|
|
945
|
+
- map: `StylingModule` warns about a knob that matches no layer of the loaded style when that knob is set, as documented, instead of warning for every such knob as soon as the module loads (eight warnings on `satellite` before any `set`). ([#2428](https://github.com/tomtom-internal/maps-sdk-js/pull/2428))
|
|
940
946
|
|
|
941
|
-
-
|
|
947
|
+
- map: a `CustomImage.image` given as an SVG data URI (`data:image/svg+xml;…`) is drawn, instead of failing to decode and leaving places, waypoints and incidents without their icon. ([#2426](https://github.com/tomtom-internal/maps-sdk-js/pull/2426))
|
|
942
948
|
|
|
943
949
|
## 0.61.0
|
|
944
950
|
|
|
945
951
|
### Minor Changes
|
|
946
952
|
|
|
947
|
-
-
|
|
953
|
+
- **Breaking:** services: `discoverPlaces` replaces `alongRouteSearch`, and the search response and wire-format types are not exported. ([#2397](https://github.com/tomtom-internal/maps-sdk-js/pull/2397))
|
|
948
954
|
|
|
949
955
|
- **Breaking:** services: `alongRouteSearch` is not exported; `discoverPlaces` takes the same params and searches along the route whenever they carry `route`: `alongRouteSearch({ route, maxDetourTimeSeconds, query, filters, sortBy, limit })` → `discoverPlaces({ route, maxDetourTimeSeconds, query, filters, sortBy, limit })`. It resolves to a `DiscoverPlacesResponse`
|
|
950
956
|
- **Breaking:** services: the response types of the three searches `discoverPlaces` runs are not exported: `AlongRouteSearchResponse`, `FuzzySearchResponse` and `GeometrySearchResponse` → `DiscoverPlacesResponse`, `GeometrySearchFeatureCollectionProps` → `SearchSummary`
|
|
951
957
|
- **Breaking:** services: their wire-format types are not exported either, with no replacement: `AlongRouteSearchRequestAPI`, `AlongRouteSearchPayloadAPI`, `AlongRouteSearchResponseAPI`, `AlongRouteSearchResultAPI`, `RoutePointAPI`, `FuzzySearchResponseAPI`, `FuzzySearchResultAPI`, `QueryIntentAPI`, `CoordinateIntentAPI`, `CoordinateIntentDetailsAPI`, `NearbyIntentAPI`, `NearbyIntentDetailsAPI`, `GeometrySearchRequestAPI`, `GeometrySearchPayloadAPI`, `GeometrySearchResponseAPI`, `GeometrySearchResultAPI`, `GeometryAPI`, `PolygonAPI` and `CircleAPI`
|
|
952
958
|
|
|
953
|
-
-
|
|
959
|
+
- **Breaking:** map: `EVAvailabilityConfig.threshold` defaults to `0.3` for the availability label colour as well as the pin icon, instead of `0` for the label, which drew every station's label green, one with no free charging point included. Set `threshold: 0` to keep the old label colour ([#2396](https://github.com/tomtom-internal/maps-sdk-js/pull/2396))
|
|
954
960
|
|
|
955
|
-
-
|
|
961
|
+
- **Breaking:** map: `GeometriesModule` text config is label config, and the geometry config helpers take one options object. ([#2378](https://github.com/tomtom-internal/maps-sdk-js/pull/2378))
|
|
956
962
|
|
|
957
963
|
- **Breaking:** map: `GeometriesModule.applyTextConfig()` is `applyLabelConfig()`, after the `label` it sets: `geometries.applyTextConfig({ text })` → `geometries.applyLabelConfig({ text })`
|
|
958
964
|
- **Breaking:** map: `GeometryLabel` is `GeometryLabelConfig` and `GeometryLineLabel` is `GeometryLineLabelConfig`, like `GeometryFillConfig` and `GeometryLineConfig`
|
|
@@ -963,12 +969,12 @@
|
|
|
963
969
|
- map: `GeometryLabelConfig.text` is optional, so `label: { size: 18 }` restyles the center labels without restating their text
|
|
964
970
|
- map: `FillStyledGeometryConfigOptions`, `ReachableRangeGeometryConfigOptions` and `ReachableRangesDisplayOptions` name the options objects
|
|
965
971
|
|
|
966
|
-
-
|
|
972
|
+
- **Breaking:** map: a `GeometriesModule` palette name moves from `fill.color` to the new `fill.palette`. ([#2314](https://github.com/tomtom-internal/maps-sdk-js/pull/2314))
|
|
967
973
|
|
|
968
974
|
- **Breaking:** map: `GeometryFillConfig.color` takes a colour or a MapLibre expression; a palette name goes in `fill.palette`. Migrate `fill: { color: 'warm' }` to `fill: { palette: 'warm' }`
|
|
969
975
|
- map: `GeometryFillConfig.palette` gives each `GeometriesModule` feature the next colour of a named palette, on the fill and on a border without its own `line.color`. It sits between `fill.color`, which wins over it, and the top-level `color`; `fillStyledGeometryConfig` and `reachableRangeGeometryConfig` set it, and once it is set an accent change leaves the geometries as they are
|
|
970
976
|
|
|
971
|
-
-
|
|
977
|
+
- **Breaking:** core: the geopolitical view is set once in `TomTomConfig`, and `View` / `view` are renamed `GeopoliticalView` / `geopoliticalView`. ([#2393](https://github.com/tomtom-internal/maps-sdk-js/pull/2393))
|
|
972
978
|
|
|
973
979
|
- **Breaking:** core: `View` is renamed `GeopoliticalView`, and `views` is renamed `geopoliticalViews`
|
|
974
980
|
- **Breaking:** services: the `view` parameter of search, suggestions, geocoding, reverse geocoding and place details is renamed `geopoliticalView`. Migrate `discoverPlaces({ query, view: 'IN' })` to `discoverPlaces({ query, geopoliticalView: 'IN' })`; the request still sends the API's own parameter
|
|
@@ -978,7 +984,7 @@
|
|
|
978
984
|
- services: a view an API does not serve is left out of its requests, which then use the default view of the caller's country, instead of failing
|
|
979
985
|
- services: `getSearchSuggestions` uses the global geopolitical view when the call sets none
|
|
980
986
|
|
|
981
|
-
-
|
|
987
|
+
- **Breaking:** map: the knob catalogues gain `enums`, `offset` and `text` knobs, and hold the POI, traffic and routing filters and unit labels. ([#2401](https://github.com/tomtom-internal/maps-sdk-js/pull/2401))
|
|
982
988
|
|
|
983
989
|
- **Breaking:** map: `KnobKind` gains `enums`, a list of options, `offset`, an `[x, y]` screen displacement within a `range`, and `text`, any string, so an exhaustive `switch` over `KnobKind` or `KnobEntry['kind']` needs a case for each
|
|
984
990
|
- **Breaking:** map: `POICategoryGroup` is the union of the `poiCategoryGroups` names, `'FOOD_DRINKS_GROUP' | 'TRANSPORTATION_GROUP' | …`, no longer `string`, so `FilterablePOICategory` and `filterCategories` reject a name that is no group or category
|
|
@@ -990,7 +996,7 @@
|
|
|
990
996
|
- map: `routingKnobCatalogue` holds the unit labels, `displayUnits.distance.*` and `displayUnits.time.*`, as `text` knobs
|
|
991
997
|
- map: a `RoutingModule` `displayUnits` that leaves `distance.type` unset posts the speed limit signs in the global config's unit system, as the summary bubbles already do, so relabelling one unit keeps the global unit system everywhere
|
|
992
998
|
|
|
993
|
-
-
|
|
999
|
+
- **Breaking:** map: `validateKnobValue` and `setKnob` check and set knob values, and `KnobRange` requires `bounds`. ([#2416](https://github.com/tomtom-internal/maps-sdk-js/pull/2416))
|
|
994
1000
|
|
|
995
1001
|
- **Breaking:** map: `KnobRange` requires `bounds`, which ends a value must keep to: `hard` both, `hard-min` only `min`, `soft` neither, so a range you declare yourself needs one
|
|
996
1002
|
- map: `validateKnobValue(entry, value)` checks a value against a knob's kind, range, options or colour syntax, and throws a `RangeError` naming the knob and what it expects
|
|
@@ -998,7 +1004,7 @@
|
|
|
998
1004
|
- map: `StylingModule.set` and `setMapColors` check values with `validateKnobValue`, so their messages match every other module's
|
|
999
1005
|
- map: the traffic heights, height scale factor, outline width, delay minutes and area analytics filters, and the geometries line and halo widths, label size and symbol spacing have `hard-min` ranges; the geometries line label offset a `soft` one; opacities, factors and zooms `hard` ones
|
|
1000
1006
|
|
|
1001
|
-
-
|
|
1007
|
+
- **Breaking:** map: each module's `isVisible()` returns its `visible` setting, and `RoutingModule` gains `setVisible` and `isVisible`. ([#2411](https://github.com/tomtom-internal/maps-sdk-js/pull/2411))
|
|
1002
1008
|
|
|
1003
1009
|
- **Breaking:** map: `isVisible()` on `POIsModule`, `BaseMapModule`, `TrafficFlowModule` and `TrafficIncidentsModule` returns the `visible` setting, as the module's `visible` knob reads, instead of whether any of its layers draws; on `BaseMapModule`, the `visible`, `groups` and styling-toggle settings over the groups asked about. Until something sets it, POIs and the base map report what the style draws and the traffic modules `false`. To read a layer itself, use `map.mapLibreMap.getLayoutProperty(layerId, 'visibility')`
|
|
1004
1010
|
- **Breaking:** map: `TrafficIncidentsModule.isVisible()` is `false` when the incidents are set hidden with `icons: { visible: true }`. Read `anyIconLayersVisible()` for the icons
|
|
@@ -1008,14 +1014,14 @@
|
|
|
1008
1014
|
- map: `RoutingModule` takes `visible` (default `true`), with `setVisible` and `isVisible`. Hiding covers every part it draws and keeps the routes and waypoints through `showRoutes`, `showWaypoints`, `selectRoute`, the clears and style changes, and `routingKnobCatalogue` lists it as the `visible` toggle
|
|
1009
1015
|
- map: `CustomGeoJSONModule.isVisible()` reads its `visible` setting
|
|
1010
1016
|
|
|
1011
|
-
-
|
|
1017
|
+
- **Breaking:** map: `PlacesModule` and the routing charging stops take `label` instead of `text`, as `GeometriesModule` does. ([#2394](https://github.com/tomtom-internal/maps-sdk-js/pull/2394))
|
|
1012
1018
|
|
|
1013
1019
|
- **Breaking:** map: `PlacesModuleConfig.text` is `label`, like `GeometriesModuleConfig.label`: `{ text: { title, color } }` → `{ label: { title, color } }`
|
|
1014
1020
|
- **Breaking:** map: `PlaceTextConfig` is `PlaceLabelConfig`
|
|
1015
1021
|
- **Breaking:** map: `PlacesModule.applyTextConfig()` is `applyLabelConfig()`, as on `GeometriesModule`: `places.applyTextConfig({ color })` → `places.applyLabelConfig({ color })`
|
|
1016
1022
|
- **Breaking:** map: `RoutingModuleConfig.chargingStops.text` is `chargingStops.label`: `{ chargingStops: { text: { title } } }` → `{ chargingStops: { label: { title } } }`; `ChargingStopTextConfig` is `ChargingStopLabelConfig`, and the routing knob `chargingStops.text.visible` is `chargingStops.label.visible`
|
|
1017
1023
|
|
|
1018
|
-
-
|
|
1024
|
+
- **Breaking:** map: a `PlacesModule` theme is a marker type (`markerType`, `applyMarkerType`), and `PlacesModuleConfig.color` sets the place colours at once. ([#2338](https://github.com/tomtom-internal/maps-sdk-js/pull/2338))
|
|
1019
1025
|
|
|
1020
1026
|
- **Breaking:** map: `PlacesModuleConfig.theme` is `markerType`, with the same values: `{ theme: 'base-map' }` → `{ markerType: 'base-map' }`
|
|
1021
1027
|
- **Breaking:** map: `PlacesModule.applyTheme()` is `applyMarkerType()`: `places.applyTheme('pin')` → `places.applyMarkerType('pin')`
|
|
@@ -1025,18 +1031,18 @@
|
|
|
1025
1031
|
- map: a `label.size` or `label.haloWidth` of `0` on `PlacesModule` reaches its labels instead of being ignored
|
|
1026
1032
|
- map: a `PlacesModule` `layers.*.layout` override of `text-size`, `text-font` or `text-field` wins over `label`, as its paint overrides already did
|
|
1027
1033
|
|
|
1028
|
-
-
|
|
1034
|
+
- **Breaking:** services: `getPOICategories` ranks `filters` matches and keeps each filter's best ones, so `'bar'` returns Bar. ([#2248](https://github.com/tomtom-internal/maps-sdk-js/pull/2248))
|
|
1029
1035
|
|
|
1030
1036
|
- **Breaking:** services: `getPOICategories`, and `getPOICategoryCodes` with it, ranks `filters` matches and keeps each filter's strongest ones, instead of every category whose name or synonym contains it: `'bar'` returns Bar instead of 15 categories including Nail Salon ("Nail Bar") and Toll Gate ("Toll Bar"), and a category code returns that category only
|
|
1031
1037
|
- services: `getPOICategories` merges several `filters` round-robin, so each filter's best match comes first
|
|
1032
1038
|
- services: `getPOICategories` `filters` fold accents, so `'cafe'` finds Café, and a blank filter matches nothing instead of every category
|
|
1033
1039
|
|
|
1034
|
-
-
|
|
1040
|
+
- **Breaking:** map: `RoutingModule.getConfig()` returns the configuration as given, and a module without `displayUnits` follows the global units. ([#2415](https://github.com/tomtom-internal/maps-sdk-js/pull/2415))
|
|
1035
1041
|
|
|
1036
1042
|
- **Breaking:** map: `RoutingModule.getConfig()` returns the configuration as given: without the global `displayUnits` filled in when none were set, and `undefined` after `RoutingModule.create(map)` or `resetConfig()`. Read `TomTomConfig.instance.get().displayUnits` for the units in force when the module config has none
|
|
1037
1043
|
- map: a `RoutingModule` without `displayUnits` labels its summaries, waypoints and speed limit signs in the global units in force when it draws them, so a later `TomTomConfig.instance.put({ displayUnits })` reaches routes already shown on their next `showRoutes` or configuration change, where the units set at creation used to stay, `updateConfig` included
|
|
1038
1044
|
|
|
1039
|
-
-
|
|
1045
|
+
- **Breaking:** map: `routingKnobCatalogue` lists the `RoutingModule` display settings, and `StylingKnob` types each knob kind strictly. ([#2366](https://github.com/tomtom-internal/maps-sdk-js/pull/2366))
|
|
1040
1046
|
|
|
1041
1047
|
- **Breaking:** map: `StylingKnob` has one member per `kind`: a `factor` or `number` knob always carries its `range`, an `enum` knob its `options`, and no other kind either, so an entry built with a `range` on a `toggle` or `options` on a `color` knob no longer type-checks
|
|
1042
1048
|
- **Breaking:** map: `KnobKind` gains `image`, a sprite image id, so an exhaustive `switch` over `KnobKind` needs a case for it
|
|
@@ -1044,403 +1050,337 @@
|
|
|
1044
1050
|
- map: `KnobEntry` is the entry shape every catalogue shares, one member per kind, and `KnobValueOf` the value a knob of each kind holds
|
|
1045
1051
|
- map: `SectionIconPlacement` names the placements `SectionIconConfig.placement` takes
|
|
1046
1052
|
|
|
1047
|
-
-
|
|
1053
|
+
- **Breaking:** map: `SectionIconConfig.sizeFactor` multiplies the size the section type draws its icon at, rather than setting it: `1` leaves it unchanged, and `ferry`, `tollRoad`, `tunnel` and `vehicleRestricted` keep their zoom ramp under any factor. A `size: 0.8` on `ferry` was a fixed `icon-size` of 0.8; `sizeFactor: 0.8` draws that size from zoom 16.5 and scales down below it ([#2356](https://github.com/tomtom-internal/maps-sdk-js/pull/2356))
|
|
1048
1054
|
|
|
1049
1055
|
### Patch Changes
|
|
1050
1056
|
|
|
1051
|
-
-
|
|
1057
|
+
- map: `baseMapKnobCatalogue` and `poisKnobCatalogue` list the base map and POI settings a knob holds. ([#2375](https://github.com/tomtom-internal/maps-sdk-js/pull/2375))
|
|
1052
1058
|
|
|
1053
1059
|
- map: `baseMapKnobCatalogue` lists every `BaseMapModuleConfig` setting, `visible` and one `groups.<group>.visible` toggle per layer group, with its description; `baseMapKnobIds` lists the ids. `BaseMapKnob` is one entry, `BaseMapKnobId` a setting's path in the config, and `BaseMapKnobValueOf` the value it takes
|
|
1054
1060
|
- map: `poisKnobCatalogue` lists the `POIsModuleConfig` settings a knob holds, `visible` with its default; `poisKnobIds` lists the ids. `POIsKnob` is one entry, `POIsKnobId` a setting's path in the config, and `POIsKnobValueOf` the value it takes
|
|
1055
1061
|
- map: the `basemap.<group>` entries of `stylingKnobCatalogue` say what their group holds, in the words of the matching `baseMapKnobCatalogue` entry, and name its id
|
|
1056
1062
|
|
|
1057
|
-
-
|
|
1063
|
+
- map: places, routes and the traffic incident overlay follow the styling knob colours live. ([#2330](https://github.com/tomtom-internal/maps-sdk-js/pull/2330))
|
|
1058
1064
|
|
|
1059
1065
|
- map: `TrafficIncidentOverlayModule` follows the `traffic.incidents.*Color` styling knobs live, set before or after it was created and across `setStyle`
|
|
1060
1066
|
- map: `PlacesModule` with the `base-map`, `circle-icon` or `pin-clustered` marker type follows the POI label colour, outline and size knobs live; the caller's `label` and `layers` settings still win
|
|
1061
1067
|
- map: `RoutingModule` draws a route's traffic sections in the `traffic.incidents.minorColor`, `moderateColor` and `majorColor` knob colours when they are set, live; a `layers.sections` override still wins, and with none set the colours are unchanged
|
|
1062
1068
|
- map: `TrafficIncidentOverlayModule` draws minor jams in the style's own colour instead of the light styles' on every style, the dark ones included
|
|
1063
1069
|
|
|
1064
|
-
-
|
|
1070
|
+
- map: `customGeoJSONKnobCatalogue` lists the `CustomGeoJSONModuleConfig` settings a knob holds, `visible` with its default; the sources' MapLibre layers and cluster options and the images stay the caller's. `customGeoJSONKnobIds` lists the ids. `CustomGeoJSONKnob` is one entry, `CustomGeoJSONKnobId` a setting's path in the config, and `CustomGeoJSONKnobValueOf` the value it takes ([#2399](https://github.com/tomtom-internal/maps-sdk-js/pull/2399))
|
|
1065
1071
|
|
|
1066
|
-
-
|
|
1072
|
+
- map: `TomTomMap` loads nothing from unpkg.com: neither the MapLibre stylesheet nor the RTL text plugin. ([#2253](https://github.com/tomtom-internal/maps-sdk-js/pull/2253))
|
|
1067
1073
|
|
|
1068
1074
|
- map: `TomTomMap` no longer fetches the MapLibre stylesheet from unpkg.com, which sent every end user's IP address to a third party and fired even when the app had imported `maplibre-gl.css` itself; when the page lacks the MapLibre CSS, the SDK applies a copy shipped with it as a lazy chunk — served alongside the SDK, not blocked by a strict CSP `style-src`, and in a cascade layer so the app's own CSS still wins
|
|
1069
1075
|
- map: `TomTomMap` no longer loads the Mapbox RTL text plugin from unpkg.com either; MapLibre shapes Arabic and bidirectional text itself, so right-to-left labels render as before
|
|
1070
1076
|
|
|
1071
|
-
- [#2379](https://github.com/tomtom-internal/maps-sdk-js/pull/2379)
|
|
1077
|
+
- map: `GeometriesModule` config changes restyle the geometries already shown. ([#2379](https://github.com/tomtom-internal/maps-sdk-js/pull/2379))
|
|
1072
1078
|
|
|
1073
1079
|
- map: `GeometriesModule.applyConfig`, `updateConfig`, `resetConfig` and `applyLabelConfig` restyle the geometries already shown — colours, palette, fill style, labels and `transformFeaturesForDisplay` — instead of only the ones a later `show()` draws; a shown geometry keeps its id and event state
|
|
1074
1080
|
- map: `GeometriesModule.applyConfig` replaces the paint of the previous config, so a config that leaves out the colour, fill, border or label, and `resetConfig()`, return them to the defaults; call `updateConfig` to change one part
|
|
1075
1081
|
- map: a `GeometriesModule` `label.text` given as a MapLibre expression no longer becomes each geometry's `title`, which the line labels and an expression reading `['get', 'title']` drew as the expression itself; a geometry keeps its own title or address, and a literal `label.text` still sets it
|
|
1076
1082
|
- map: a config change or a style change after `GeometriesModule.clear()` keeps the map clear, and a style change no longer emits `shown-features`, as on the other modules
|
|
1077
1083
|
|
|
1078
|
-
-
|
|
1084
|
+
- map: `geometriesKnobCatalogue` lists every plain-valued `GeometriesModuleConfig` display setting — colour, fill, border, center and border labels with their fonts, and the border labels' offset — with its kind, range or options and, where one value holds everywhere, its default; `geometriesKnobIds` lists the ids. `GeometriesKnob` is one entry, `GeometriesKnobId` a setting's path in the config, and `GeometriesKnobValueOf` the value it takes ([#2391](https://github.com/tomtom-internal/maps-sdk-js/pull/2391))
|
|
1079
1085
|
|
|
1080
|
-
-
|
|
1086
|
+
- core: `TimeDisplayUnits.hours` documents its real default, `hr`, which `formatDuration` uses when none is set ([#2402](https://github.com/tomtom-internal/maps-sdk-js/pull/2402))
|
|
1081
1087
|
|
|
1082
|
-
-
|
|
1088
|
+
- map: `TrafficIncidentOverlayModule.applyConfig` and `updateConfig` apply `focus` to the incidents already shown, instead of only after a style switch: the outline colour and width factor repaint in place, so the `focus.outlineColor` and `focus.widthFactor` knobs of `trafficIncidentOverlayKnobCatalogue` take effect when set, and `focus: false` removes the outline, which a later focus style adds back beneath the incidents ([#2412](https://github.com/tomtom-internal/maps-sdk-js/pull/2412))
|
|
1083
1089
|
|
|
1084
|
-
-
|
|
1090
|
+
- services: `discoverPlaces` and the new `resolvePOICategories` take POI categories in words. ([#2389](https://github.com/tomtom-internal/maps-sdk-js/pull/2389))
|
|
1085
1091
|
|
|
1086
1092
|
- discoverPlaces: `filters.poiCategoryQuery` takes categories in words — `'sushi'`, `['gym', 'parking']` — and searches the POI categories they name, resolved in the call's language, so category words reach results in one call instead of a lookup and a search; a word nothing matches is left out, and when none matches the call rejects with `SDKError`
|
|
1087
1093
|
- `resolvePOICategories` turns words or codes into the `poiCategories` of one search — each word's best three codes, merged round-robin and capped at the 10 a search accepts — and returns the words nothing matched in `unmatched`, for a caller who decides about them before searching; codes alone skip the catalog request
|
|
1088
1094
|
|
|
1089
|
-
-
|
|
1095
|
+
- map: `preparePlacesForDisplay`, what `PlacesModule.show()` does to the places it is given, is documented along with `toPlaces` and `buildPlaceTitle`, and takes `(places, config)`. The places guide shows your own GeoJSON points drawn through `show()`. `ShownPlaces` names the three places results that are not places — search suggestions, `geometryData` polygons, EV availability — and what shows each instead ([#2384](https://github.com/tomtom-internal/maps-sdk-js/pull/2384))
|
|
1090
1096
|
|
|
1091
|
-
-
|
|
1097
|
+
- services: `getPlacesWithEVAvailability` takes `maxConcurrentRequests`, and its result type allows places without availability. ([#2376](https://github.com/tomtom-internal/maps-sdk-js/pull/2376))
|
|
1092
1098
|
|
|
1093
1099
|
- services: `getPlacesWithEVAvailability` takes `maxConcurrentRequests` (default 1, one request at a time as before) to send that many availability requests at once; the places keep their input order. `PlacesWithEVAvailabilityOptions` names its options
|
|
1094
1100
|
- services: `getPlacesWithEVAvailability(places)` without options is typed as places that may lack availability, as it returns them; only `excludeIfAvailabilityUnknown: true` types every place as having it
|
|
1095
1101
|
- services: the `discoverPlaces` docs name all three searches it runs, along-route search when `route` is given included
|
|
1096
1102
|
|
|
1097
|
-
-
|
|
1103
|
+
- map: `placesKnobCatalogue` lists every plain-valued `PlacesModuleConfig` display setting — marker type, colour, visibility, default pin style, label, cluster badge and source, EV availability and entry points — with its kind, range or options and, where one value holds everywhere, its default; `placesKnobIds` lists the ids. `PlacesKnob` is one entry, `PlacesKnobId` a setting's path in the config, and `PlacesKnobValueOf` the plain value it takes ([#2380](https://github.com/tomtom-internal/maps-sdk-js/pull/2380))
|
|
1098
1104
|
|
|
1099
|
-
-
|
|
1105
|
+
- map: `PlaceLabelConfig` says to set place labels through the module config rather than with MapLibre's `setPaintProperty` or `setLayoutProperty` on its layers, which a style change or a marker type change rebuilds from the config ([#2390](https://github.com/tomtom-internal/maps-sdk-js/pull/2390))
|
|
1100
1106
|
|
|
1101
|
-
-
|
|
1107
|
+
- map: `PlacesModule` documents what a place keeps across `show()`, `clear()` and style changes — `show()` replaces and drops the event states and connections of what it replaces, even under the same id, while style and configuration changes keep both — and `getShown()` states that it returns the places as drawn, with their display properties and event states ([#2387](https://github.com/tomtom-internal/maps-sdk-js/pull/2387))
|
|
1102
1108
|
|
|
1103
|
-
-
|
|
1109
|
+
- map: `PlacesModule.create<P>`, `applyLabelConfig<P>`, `applyIconConfig<P>` and `preparePlacesForDisplay<P>` type the `label.title` and `icon.mapping.fn` callbacks for the place shape `P` you name, as `extraFeatureProps` already was, so a callback reading a property of your own data no longer needs a cast ([#2410](https://github.com/tomtom-internal/maps-sdk-js/pull/2410))
|
|
1104
1110
|
|
|
1105
|
-
-
|
|
1111
|
+
- services: `calculateReachableRange` and `calculateReachableRanges` return polygons whose ring ends on its first position, as GeoJSON requires; the API's boundary leaves it open, which spatial libraries such as Turf reject ([#2350](https://github.com/tomtom-internal/maps-sdk-js/pull/2350))
|
|
1106
1112
|
|
|
1107
|
-
-
|
|
1113
|
+
- services: `calculateReachableRanges` rejects on a `401` like it does on a `403` or a `429`, instead of skipping the range as one the engine could not compute and returning no polygons ([#2352](https://github.com/tomtom-internal/maps-sdk-js/pull/2352))
|
|
1108
1114
|
|
|
1109
|
-
-
|
|
1115
|
+
- `calculateReachableRanges` says in its TSDoc that a range the service answers with an error, such as `NO_RANGE_FOUND` for an origin off the road network, is skipped rather than thrown, so the result can hold fewer polygons than requested. ([#2372](https://github.com/tomtom-internal/maps-sdk-js/pull/2372))
|
|
1110
1116
|
|
|
1111
|
-
-
|
|
1117
|
+
- map: the route's instruction arrows scale with `widthFactor`, instead of keeping one size as the line around them grows or shrinks. The `width` presets draw them as before ([#2357](https://github.com/tomtom-internal/maps-sdk-js/pull/2357))
|
|
1112
1118
|
|
|
1113
|
-
-
|
|
1119
|
+
- map: the stop number inside a waypoint pin scales with the pin, so it stays in the pin's head at every `waypointSize` and `waypointSizeFactor`; the `'s'` and `'l'` presets draw it at 0.75× and 1.25× ([#2358](https://github.com/tomtom-internal/maps-sdk-js/pull/2358))
|
|
1114
1120
|
|
|
1115
|
-
-
|
|
1121
|
+
- map: `PlacesModuleSerializableConfig`, `RoutingModuleSerializableConfig`, `GeometriesModuleSerializableConfig` and `CustomGeoJSONModuleSerializableConfig` type the part of each module's configuration that survives JSON, leaving out the functions and image elements those modules also take; `SerializableCustomImage` is a `CustomImage` with a string `image`. Every module's configuration, exported with `JSON.stringify(module.getConfig())` and given back to `applyConfig`, holds the same configuration and draws the same layers, and the map modules guide shows how to save and replay one ([#2382](https://github.com/tomtom-internal/maps-sdk-js/pull/2382))
|
|
1116
1122
|
|
|
1117
|
-
-
|
|
1123
|
+
- map: `terrainKnobCatalogue` lists every `TerrainModuleConfig` setting — the hillshade, the 3D surface and its exaggeration — with its kind, the exaggeration's `hard-min` range (at least 0.5; above 3 still applies) and, where one value holds everywhere, its default; `terrainKnobIds` lists the ids. `TerrainKnob` is one entry, `TerrainKnobId` a setting's path in the config, and `TerrainKnobValueOf` the value it takes ([#2399](https://github.com/tomtom-internal/maps-sdk-js/pull/2399))
|
|
1118
1124
|
|
|
1119
|
-
-
|
|
1125
|
+
- map: `trafficFlowKnobCatalogue`, `trafficIncidentsKnobCatalogue`, `trafficIncidentOverlayKnobCatalogue` and `trafficAreaAnalyticsKnobCatalogue` list each traffic module's plain-valued settings with their kind, range or options and, where one value holds everywhere, their default; the matching `…KnobIds` arrays list the ids. `TrafficFlowKnob`, `TrafficIncidentsKnob`, `TrafficIncidentOverlayKnob` and `TrafficAreaAnalyticsKnob` are one entry each, their `…KnobId` a setting's path in the module config, and their `…KnobValueOf` the value it takes ([#2383](https://github.com/tomtom-internal/maps-sdk-js/pull/2383))
|
|
1120
1126
|
|
|
1121
|
-
-
|
|
1127
|
+
- security: a new guide, What the SDK sends, and where, lists what the browser sends to TomTom and to third parties, which values travel in URLs and so land in logs, and whose session cookie proxy mode carries, for a privacy notice or records of processing ([#2414](https://github.com/tomtom-internal/maps-sdk-js/pull/2414))
|
|
1122
1128
|
|
|
1123
1129
|
## 0.60.0
|
|
1124
1130
|
|
|
1125
1131
|
### Minor Changes
|
|
1126
1132
|
|
|
1127
|
-
- [#2337](https://github.com/tomtom-internal/maps-sdk-js/pull/2337)
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
- map: `PartsBeforeLayerConfig` is the one shape every module's `beforeLayerConfig` takes: a single `BeforeLayerConfig`, or a record of the module's own part names plus `all`. `GeometryBeforeLayerConfig`, `AreaAnalyticsBeforeLayerConfig` and `RoutingBeforeLayerConfig` are built on it
|
|
1136
|
-
- map: `TrafficAreaAnalyticsModule.moveBeforeLayer` emits `config-change`, as `GeometriesModule` and `TrafficIncidentOverlayModule` do
|
|
1133
|
+
- **Breaking:** map: `GeometriesModule`'s `fill.beforeLayerConfig` and `line.beforeLayerConfig` are removed; use `beforeLayerConfig: { fill, line }` on the module config, `all` covering any part it doesn't name ([#2337](https://github.com/tomtom-internal/maps-sdk-js/pull/2337))
|
|
1134
|
+
- **Breaking:** map: `GeometryBeforeLayerTargets` is removed; the record form of `GeometryBeforeLayerConfig` is `PartsBeforeLayerConfig<'fill' | 'line'>`'s ([#2337](https://github.com/tomtom-internal/maps-sdk-js/pull/2337))
|
|
1135
|
+
- **Breaking:** map: `TrafficAreaAnalyticsModule`'s nested `beforeLayerConfig` shape is removed; key it by display mode instead: `hexgrid.flat2D` → `'hexgrid-2d'`, `hexgrid.extrusion3D` → `'hexgrid-3d'`, likewise for `square`, plus `all` for the rest ([#2337](https://github.com/tomtom-internal/maps-sdk-js/pull/2337))
|
|
1136
|
+
- **Breaking:** map: `GeometriesModule.applyConfig` puts a part the applied config's `beforeLayerConfig` names no target for back at its default place, as a style change does — every part, when the applied config has no `beforeLayerConfig`. `moveBeforeLayer` still leaves such a part where it is ([#2337](https://github.com/tomtom-internal/maps-sdk-js/pull/2337))
|
|
1137
|
+
- **Breaking:** map: `RoutingModule.getLayerToRenderLinesUnder()` returns `string | undefined`, following `beforeLayerConfig` and undefined when the route lines are on top; unconfigured, it still returns `mapStyleLayerIDs.lowestLabel` ([#2337](https://github.com/tomtom-internal/maps-sdk-js/pull/2337))
|
|
1138
|
+
- map: `RoutingModule` takes a `beforeLayerConfig`: one target for the whole route, or one per part — `mainLines`, `instructionLines`, `icons` — plus `all`. `applyConfig` and `updateConfig` restack the layers, and a style change keeps them there. Unconfigured, the layer order is unchanged ([#2337](https://github.com/tomtom-internal/maps-sdk-js/pull/2337))
|
|
1139
|
+
- map: `PartsBeforeLayerConfig` is the one shape every module's `beforeLayerConfig` takes: a single `BeforeLayerConfig`, or a record of the module's own part names plus `all`. `GeometryBeforeLayerConfig`, `AreaAnalyticsBeforeLayerConfig` and `RoutingBeforeLayerConfig` are built on it ([#2337](https://github.com/tomtom-internal/maps-sdk-js/pull/2337))
|
|
1140
|
+
- map: `TrafficAreaAnalyticsModule.moveBeforeLayer` emits `config-change`, as `GeometriesModule` and `TrafficIncidentOverlayModule` do ([#2337](https://github.com/tomtom-internal/maps-sdk-js/pull/2337))
|
|
1137
1141
|
|
|
1138
|
-
- [#2336](https://github.com/tomtom-internal/maps-sdk-js/pull/2336)
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
- **Breaking:** map: `SectionIconConfig.size` → `sizeFactor`, now clamped to `SECTION_ICON_SIZE_FACTOR_RANGE` (0.25–2)
|
|
1142
|
-
- map: `RoutingModuleConfig.widthFactor` and `waypointSizeFactor` multiply the `width` and `waypointSize` presets, and a section's `widthFactor` its own `width`; clamped to the published `ROUTE_WIDTH_FACTOR_RANGE` and `ROUTE_WAYPOINT_SIZE_FACTOR_RANGE` (0.5–2). The presets draw the sizes they did
|
|
1142
|
+
- **Breaking:** map: `RoutingModuleConfig.theme` and the `RouteTheme` type are removed. `theme.mainColor` → `color`, `theme.routeWidth` → `width`, `theme.waypointSize` → `waypointSize`, all top-level: `{ theme: { mainColor: '#f00', routeWidth: 'l' } }` becomes `{ color: '#f00', width: 'l' }` ([#2336](https://github.com/tomtom-internal/maps-sdk-js/pull/2336))
|
|
1143
|
+
- **Breaking:** map: `SectionIconConfig.size` → `sizeFactor`, now clamped to `SECTION_ICON_SIZE_FACTOR_RANGE` (0.25–2) ([#2336](https://github.com/tomtom-internal/maps-sdk-js/pull/2336))
|
|
1144
|
+
- map: `RoutingModuleConfig.widthFactor` and `waypointSizeFactor` multiply the `width` and `waypointSize` presets, and a section's `widthFactor` its own `width`; clamped to the published `ROUTE_WIDTH_FACTOR_RANGE` and `ROUTE_WAYPOINT_SIZE_FACTOR_RANGE` (0.5–2). The presets draw the sizes they did ([#2336](https://github.com/tomtom-internal/maps-sdk-js/pull/2336))
|
|
1143
1145
|
|
|
1144
1146
|
### Patch Changes
|
|
1145
1147
|
|
|
1146
|
-
-
|
|
1148
|
+
- services: the `ChargingModel.batteryCurve` reference says a route with charging stops needs it; the service rejects such a request without one ([#2354](https://github.com/tomtom-internal/maps-sdk-js/pull/2354))
|
|
1147
1149
|
|
|
1148
1150
|
## 0.59.0
|
|
1149
1151
|
|
|
1150
1152
|
### Minor Changes
|
|
1151
1153
|
|
|
1152
|
-
-
|
|
1153
|
-
|
|
1154
|
-
- [#2335](https://github.com/tomtom-internal/maps-sdk-js/pull/2335)
|
|
1155
|
-
|
|
1156
|
-
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
- [#2333](https://github.com/tomtom-internal/maps-sdk-js/pull/2333)
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
- [#
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
- services: geocoding responses carry the search summary as `properties`, `nextCursor` included
|
|
1215
|
-
|
|
1216
|
-
- [#2201](https://github.com/tomtom-internal/maps-sdk-js/pull/2201) [`bed0784`](https://github.com/tomtom-internal/maps-sdk-js/commit/bed07846eb89910a5587caf1a04e0dd7c3fe5607) Thanks [@JulianChinAFoeng-TomTom](https://github.com/JulianChinAFoeng-TomTom)! - **Breaking:** services: `getPlaceWithEVAvailability` and `getPlacesWithEVAvailability` reject with `SDKAbortError` when their `signal` is aborted, instead of reporting the cancellation as missing availability data. Every other request failure still resolves to `undefined`, and the sequential run now stops at the cancelled station rather than working through the rest of the list
|
|
1217
|
-
|
|
1218
|
-
- [#2311](https://github.com/tomtom-internal/maps-sdk-js/pull/2311) [`f0b1ad9`](https://github.com/tomtom-internal/maps-sdk-js/commit/f0b1ad9f75007b73c584bd5d238a118d1a66440d) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: `SectionSignConfig.minzoom` and `CountryCrossingConfig.minzoom` are renamed `minZoom`, as every other display config spells its zoom threshold; migrate by renaming the key
|
|
1219
|
-
|
|
1220
|
-
- [#2101](https://github.com/tomtom-internal/maps-sdk-js/pull/2101) [`f066146`](https://github.com/tomtom-internal/maps-sdk-js/commit/f066146bed70481f8bb3c705b808bda634b7b905) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
|
|
1221
|
-
|
|
1222
|
-
- **Breaking:** map: `MapColorName` and `mapColorNames` gain `accent`, the colour for what is drawn on top of the map, so a `Record<MapColorName, …>` needs an entry for it
|
|
1223
|
-
- map: `setMapColors` and the `colors.accent` knob set `accent`, and `map.mapColors` publishes the map colours in effect
|
|
1224
|
-
- map: routes, geometries, place pins, connections and entry points default to the accent and follow it when it changes; a colour the caller set still wins
|
|
1225
|
-
- map: `RoutingModule.getConfig()` returns the configuration as given, without the layers the module built from it
|
|
1226
|
-
- map: a `PlacesModule` default pin `style` repaints the pin when it changes, and an `icon.default.image` is never replaced by it
|
|
1227
|
-
- services: `trafficAreaAnalytics` parses its response when an app transpiles the SDK to ES5, as Sandpack or Babel over `node_modules` does, instead of failing with "undefined is not iterable"
|
|
1228
|
-
|
|
1229
|
-
- [#2334](https://github.com/tomtom-internal/maps-sdk-js/pull/2334) [`1fa401b`](https://github.com/tomtom-internal/maps-sdk-js/commit/1fa401bb7a7ab40061caad66651ee509f96c44be) Thanks [@carlosprietofernandez-tomtom](https://github.com/carlosprietofernandez-tomtom)! - **Breaking:** core: `AreaAnalyticsFeatureProperties.name` is optional: the API echoes a region name only from a request that names one, and the SDK's names none, so `trafficAreaAnalytics` leaves it out instead of setting it to `undefined`
|
|
1154
|
+
- **Breaking:** map: `TrafficAreaAnalyticsModule.applyConfig` replaces the configuration instead of merging into it: what it leaves out, including each metric its `metricConfig` leaves out and each layer its `beforeLayerConfig` leaves out, goes back to the default. Merge with `updateConfig`, and change one metric with `setColor`, `setHeight` or `filter` given that metric (`setColor('heat', ['speed'])`) ([#2312](https://github.com/tomtom-internal/maps-sdk-js/pull/2312))
|
|
1155
|
+
|
|
1156
|
+
- **Breaking:** map: `BaseMapModuleConfig.layerGroupsVisibility` and the `BaseMapLayerGroupsVisibility` type are removed; use `groups`, which keeps a visibility per layer group ([#2335](https://github.com/tomtom-internal/maps-sdk-js/pull/2335)):
|
|
1157
|
+
- `layerGroupsVisibility: { mode: 'include', names: ['water', 'ferries'], visible: false }` becomes `groups: { water: { visible: false }, ferries: { visible: false } }`
|
|
1158
|
+
- `layerGroupsVisibility: { mode: 'exclude', names: ['land', 'roads'], visible: false }` becomes `visible: false, groups: { land: {}, roads: {} }` — an entry without `visible` draws its group as the style ships it
|
|
1159
|
+
- **Breaking:** map: `BaseMapModule.getConfig()` and its `config-change` event carry `groups`, one entry per group `setVisible` has set ([#2335](https://github.com/tomtom-internal/maps-sdk-js/pull/2335))
|
|
1160
|
+
- **Breaking:** map: `BaseMapModule.applyConfig` replaces the configuration instead of merging into it: groups the new configuration leaves out go back to how the style ships them. Merge with `updateConfig` ([#2335](https://github.com/tomtom-internal/maps-sdk-js/pull/2335))
|
|
1161
|
+
- **Breaking:** map: `BaseMapModule.resetConfig` puts every base-map layer back to how the style ships it, instead of leaving hidden groups hidden, or showing every layer, those the style ships hidden included, when the whole base map was hidden ([#2335](https://github.com/tomtom-internal/maps-sdk-js/pull/2335))
|
|
1162
|
+
- **Breaking:** map: the `basemap.roadShields` styling knob is removed; use `roads.shields`, which now toggles the whole `roadShields` group ([#2335](https://github.com/tomtom-internal/maps-sdk-js/pull/2335))
|
|
1163
|
+
- map: `BaseMapModuleConfig.groups` keeps a visibility per base-map layer group, applied in order over `visible`; an entry without `visible` draws its group as the style ships it ([#2335](https://github.com/tomtom-internal/maps-sdk-js/pull/2335))
|
|
1164
|
+
- map: a style change restores every `BaseMapModule.setVisible` group call, not only the last one ([#2335](https://github.com/tomtom-internal/maps-sdk-js/pull/2335))
|
|
1165
|
+
- map: `BaseMapModule.setVisible` over a group removes the `basemap.<group>`, `buildings.*` or `roads.shields` knob for it from `StylingModule`, so the later call still wins after a style change ([#2335](https://github.com/tomtom-internal/maps-sdk-js/pull/2335))
|
|
1166
|
+
- map: `pois.microMarkers`, `roads.arrows`, `roads.restricted`, `roads.underConstruction` and `roads.exitNumbers` only hide within what `POIsModule` and `BaseMapModule` show: `true` no longer shows layers their module hid, `POIsModule.setVisible(true)` or `BaseMapModule.setVisible(true)` keeps a knob's `false`, and resetting the knob leaves the layers as the module has them ([#2335](https://github.com/tomtom-internal/maps-sdk-js/pull/2335))
|
|
1167
|
+
|
|
1168
|
+
- **Breaking:** map: `IncidentFocusStyle.widthScale` is `widthFactor`, clamped to the new `INCIDENT_FOCUS_WIDTH_FACTOR_RANGE` (`1`–`1.8`, default `1.6`); migrate `focus: { widthScale }` to `focus: { widthFactor }` ([#2317](https://github.com/tomtom-internal/maps-sdk-js/pull/2317))
|
|
1169
|
+
|
|
1170
|
+
- **Breaking:** map: `TrafficIncidentsModule` has one set of filters for the incident lines and their icons. `TrafficIncidentsModuleConfig.icons` is the new `IncidentIconsConfig`, `{ visible? }` only, and `filter()` takes a single argument; `IncidentsCommonConfig` is removed. Migrate by moving what `icons.filters` or `filter()`'s second argument held into the root `filters` ([#2313](https://github.com/tomtom-internal/maps-sdk-js/pull/2313))
|
|
1171
|
+
- map: the style parts the SDK adds — traffic flow, traffic incidents and the hillshade — are hidden until you show them, stated in the traffic flow, traffic incidents and terrain guides ([#2313](https://github.com/tomtom-internal/maps-sdk-js/pull/2313))
|
|
1172
|
+
|
|
1173
|
+
- **Breaking:** map: `isVisible()` on `TrafficIncidentOverlayModule` and `TrafficAreaAnalyticsModule` reports the module's `visible` setting — `true` unless hidden with `setVisible(false)` or `visible: false` — whatever is shown. A module showing nothing returns `true`. To know whether data is drawn, read `getShown()`: `overlay.getShown().incidents.features.length > 0`, or the `heatmap`/`hexgrid`/`square` collections of `TrafficAreaAnalyticsModule.getShown()` ([#2316](https://github.com/tomtom-internal/maps-sdk-js/pull/2316))
|
|
1174
|
+
- map: `TrafficIncidentOverlayModule.show()` keeps the incidents hidden while the module is set to `visible: false` ([#2316](https://github.com/tomtom-internal/maps-sdk-js/pull/2316))
|
|
1175
|
+
- map: a style change restores a hidden `TrafficAreaAnalyticsModule` without emitting `config-change` ([#2316](https://github.com/tomtom-internal/maps-sdk-js/pull/2316))
|
|
1176
|
+
|
|
1177
|
+
- **Breaking:** services: `CommonServiceParams.customServiceBaseURL` is removed; every service builds its endpoint URL from the global `commonBaseURL` ([#2345](https://github.com/tomtom-internal/maps-sdk-js/pull/2345))
|
|
1178
|
+
- **Breaking:** services: an `apiVersion` passed at runtime, per call or through `TomTomConfig.put`, is ignored; each service calls the API version it pins ([#2345](https://github.com/tomtom-internal/maps-sdk-js/pull/2345))
|
|
1179
|
+
- **Breaking:** map: `StandardStyle.version` is removed; standard styles always load the Orbis style version the SDK is verified against ([#2345](https://github.com/tomtom-internal/maps-sdk-js/pull/2345))
|
|
1180
|
+
- **Breaking:** map: the undocumented `DEFAULT_STYLE_VERSION` export is removed ([#2345](https://github.com/tomtom-internal/maps-sdk-js/pull/2345))
|
|
1181
|
+
|
|
1182
|
+
- **Breaking:** map: `GeometriesModuleConfig.theme` is `fillStyle`, `GeometryTheme` is `GeometryFillStyle` and `geometryThemes` is `geometryFillStyles`; the values are unchanged ([#2333](https://github.com/tomtom-internal/maps-sdk-js/pull/2333))
|
|
1183
|
+
- **Breaking:** map: a feature sets its own fill style with `properties.fillStyle` instead of `properties.theme` ([#2333](https://github.com/tomtom-internal/maps-sdk-js/pull/2333))
|
|
1184
|
+
- **Breaking:** map: `themedGeometryConfig` is `fillStyledGeometryConfig` ([#2333](https://github.com/tomtom-internal/maps-sdk-js/pull/2333))
|
|
1185
|
+
- **Breaking:** map: `GeometriesModuleConfig.textConfig: { textField }` is `label: { text }`, `GeometryTextConfig` is `GeometryLabel`, and `GeometriesModule.applyTextConfig` takes `{ text }` ([#2333](https://github.com/tomtom-internal/maps-sdk-js/pull/2333))
|
|
1186
|
+
- **Breaking:** map: `GeometriesModuleConfig.lineLabelConfig` is `lineLabel` and `GeometryLineLabelConfig` is `GeometryLineLabel`; its `textSize`, `textColor`, `textHaloColor`, `textHaloWidth`, `textOpacity` and `textOffset` are `size`, `color`, `haloColor`, `haloWidth`, `opacity` and `offset` ([#2333](https://github.com/tomtom-internal/maps-sdk-js/pull/2333))
|
|
1187
|
+
- **Breaking:** map: `GeometryFillConfig.color` takes a colour, a palette name or a MapLibre expression; legacy MapLibre function objects (`{ stops }`) are no longer accepted ([#2333](https://github.com/tomtom-internal/maps-sdk-js/pull/2333))
|
|
1188
|
+
- map: `GeometriesModuleConfig.color` colours a module's fill and border at once; `fill.color`, `line.color` and a feature's own `color` override it, and the map accent applies only while it is unset ([#2333](https://github.com/tomtom-internal/maps-sdk-js/pull/2333))
|
|
1189
|
+
- map: `LabelConfig` is the label styling every module shares — `size`, `color`, `haloColor`, `haloWidth`, `opacity` and `font` ([#2333](https://github.com/tomtom-internal/maps-sdk-js/pull/2333))
|
|
1190
|
+
- map: `label` styles the geometry titles with `LabelConfig`, and `lineLabel` gains `font` ([#2333](https://github.com/tomtom-internal/maps-sdk-js/pull/2333))
|
|
1191
|
+
- map: a MapLibre expression in `fill.color` renders, on the fill and on a border without its own `line.color`; an accent change no longer redraws a module that sets `fill.color` ([#2333](https://github.com/tomtom-internal/maps-sdk-js/pull/2333))
|
|
1192
|
+
|
|
1193
|
+
- **Breaking:** core: `ChargingPoint.evseId` is optional — some operators publish none, in search results and in `evChargingStationsAvailability()` alike ([#2226](https://github.com/tomtom-internal/maps-sdk-js/pull/2226))
|
|
1194
|
+
- services: EV charging places from `discoverPlaces()`, `discoverOnePlace()` and `getPlaceDetails()` carry `chargingPark.chargingStations` — each station's charging points (EVSEs) with `capabilities`, `restrictions`, connectors and `evseId`, as the availability service already returns them ([#2226](https://github.com/tomtom-internal/maps-sdk-js/pull/2226))
|
|
1195
|
+
- services: route charging stops carry `dataSources.chargingAvailability.id`, so `getPlaceWithEVAvailability()` adds their availability as it does for search results ([#2226](https://github.com/tomtom-internal/maps-sdk-js/pull/2226))
|
|
1196
|
+
- core: `ChargingStation` takes its charging point type as a parameter, and `StaticChargingPoint` describes a charging point without real-time status ([#2226](https://github.com/tomtom-internal/maps-sdk-js/pull/2226))
|
|
1197
|
+
- services: `connectorAvailabilities[].connector.chargingSpeed` is set, and a charging point without `capabilities` or `restrictions` gets empty lists ([#2226](https://github.com/tomtom-internal/maps-sdk-js/pull/2226))
|
|
1198
|
+
- services: `getPlaceWithEVAvailability()` counts `chargingPark.connectors` from the availability when the place has none of its own ([#2226](https://github.com/tomtom-internal/maps-sdk-js/pull/2226))
|
|
1199
|
+
|
|
1200
|
+
- **Breaking:** services: the options that drop results — `poiCategories`, `poiBrands`, `indexes`, `geographyTypes`, `connectors`, `fuelTypes`, `minPowerKW`, `maxPowerKW` and `countries` — move under one `filters` object: `PlaceFilters` on the places searches, plus `GeographicFilters` (`countries`) on fuzzy search and geocoding. Geometry and along-route search take no `countries`, which they never sent ([#2193](https://github.com/tomtom-internal/maps-sdk-js/pull/2193))
|
|
1201
|
+
- **Breaking:** services: `offset` gives way to an opaque `cursor`: pass a fuzzy search or geocoding response's `properties.nextCursor` back unchanged; a value the SDK did not mint throws. `SearchSummary.offset` becomes `nextCursor`, absent when no further page can be served — including once the next page would start past result 1900, which ends pagination rather than failing validation ([#2193](https://github.com/tomtom-internal/maps-sdk-js/pull/2193))
|
|
1202
|
+
- services: geocoding responses carry the search summary as `properties`, `nextCursor` included ([#2193](https://github.com/tomtom-internal/maps-sdk-js/pull/2193))
|
|
1203
|
+
|
|
1204
|
+
- **Breaking:** services: `getPlaceWithEVAvailability` and `getPlacesWithEVAvailability` reject with `SDKAbortError` when their `signal` is aborted, instead of reporting the cancellation as missing availability data. Every other request failure still resolves to `undefined`, and the sequential run now stops at the cancelled station rather than working through the rest of the list ([#2201](https://github.com/tomtom-internal/maps-sdk-js/pull/2201))
|
|
1205
|
+
|
|
1206
|
+
- **Breaking:** map: `SectionSignConfig.minzoom` and `CountryCrossingConfig.minzoom` are renamed `minZoom`, as every other display config spells its zoom threshold; migrate by renaming the key ([#2311](https://github.com/tomtom-internal/maps-sdk-js/pull/2311))
|
|
1207
|
+
|
|
1208
|
+
- **Breaking:** map: `MapColorName` and `mapColorNames` gain `accent`, the colour for what is drawn on top of the map, so a `Record<MapColorName, …>` needs an entry for it ([#2101](https://github.com/tomtom-internal/maps-sdk-js/pull/2101))
|
|
1209
|
+
- map: `setMapColors` and the `colors.accent` knob set `accent`, and `map.mapColors` publishes the map colours in effect ([#2101](https://github.com/tomtom-internal/maps-sdk-js/pull/2101))
|
|
1210
|
+
- map: routes, geometries, place pins, connections and entry points default to the accent and follow it when it changes; a colour the caller set still wins ([#2101](https://github.com/tomtom-internal/maps-sdk-js/pull/2101))
|
|
1211
|
+
- map: `RoutingModule.getConfig()` returns the configuration as given, without the layers the module built from it ([#2101](https://github.com/tomtom-internal/maps-sdk-js/pull/2101))
|
|
1212
|
+
- map: a `PlacesModule` default pin `style` repaints the pin when it changes, and an `icon.default.image` is never replaced by it ([#2101](https://github.com/tomtom-internal/maps-sdk-js/pull/2101))
|
|
1213
|
+
- services: `trafficAreaAnalytics` parses its response when an app transpiles the SDK to ES5, as Sandpack or Babel over `node_modules` does, instead of failing with "undefined is not iterable" ([#2101](https://github.com/tomtom-internal/maps-sdk-js/pull/2101))
|
|
1214
|
+
|
|
1215
|
+
- **Breaking:** core: `AreaAnalyticsFeatureProperties.name` is optional: the API echoes a region name only from a request that names one, and the SDK's names none, so `trafficAreaAnalytics` leaves it out instead of setting it to `undefined` ([#2334](https://github.com/tomtom-internal/maps-sdk-js/pull/2334))
|
|
1230
1216
|
|
|
1231
1217
|
### Patch Changes
|
|
1232
1218
|
|
|
1233
|
-
-
|
|
1219
|
+
- services: the `evChargingStationsAvailability()`, `getPlaceWithEVAvailability()` and `getPlacesWithEVAvailability()` examples compile, and `ChargingParkWithAvailability.availability` names the functions that fetch it ([#2327](https://github.com/tomtom-internal/maps-sdk-js/pull/2327))
|
|
1234
1220
|
|
|
1235
|
-
-
|
|
1221
|
+
- map: the `hillshade.exaggeration` knob description, `TerrainModuleConfig.elevationExaggeration` and `TerrainModule.setElevationExaggeration` each name the other: the knob sets how strongly slopes are shaded, the terrain setting the vertical scale of the 3D surface ([#2317](https://github.com/tomtom-internal/maps-sdk-js/pull/2317))
|
|
1236
1222
|
|
|
1237
|
-
-
|
|
1238
|
-
|
|
1239
|
-
- map: `PlacesModule` takes a `cluster` config under the `pin-clustered` theme: `badge` styles the count badge of single-category and mixed-category clusters together, and `source` sets MapLibre's `clusterRadius`, `clusterMaxZoom`, `clusterMinPoints` and your own `clusterProperties` aggregators. Entry points start above a changed `clusterMaxZoom`
|
|
1240
|
-
- map: a `PlacesModule` `layers.cluster`, `clusterBadge`, `clusterCount`, `clusterMixedBadge` or `clusterMixedCount` override merges into that layer's `paint` and `layout` key by key, like the other place layers, instead of replacing them whole
|
|
1223
|
+
- map: `PlacesModule` takes a `cluster` config under the `pin-clustered` theme: `badge` styles the count badge of single-category and mixed-category clusters together, and `source` sets MapLibre's `clusterRadius`, `clusterMaxZoom`, `clusterMinPoints` and your own `clusterProperties` aggregators. Entry points start above a changed `clusterMaxZoom` ([#2203](https://github.com/tomtom-internal/maps-sdk-js/pull/2203))
|
|
1224
|
+
- map: a `PlacesModule` `layers.cluster`, `clusterBadge`, `clusterCount`, `clusterMixedBadge` or `clusterMixedCount` override merges into that layer's `paint` and `layout` key by key, like the other place layers, instead of replacing them whole ([#2203](https://github.com/tomtom-internal/maps-sdk-js/pull/2203))
|
|
1241
1225
|
|
|
1242
|
-
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
- map: `PlacesModule` connection layers and the `GeometriesModule` border keep a `layout.visibility: 'none'` override when data is shown
|
|
1246
|
-
- map: `GeometriesModule` border labels (`lineLabel`) move with the border in `moveBeforeLayer` and follow config changes
|
|
1226
|
+
- map: `PlacesModule` and `GeometriesModule` take a `visible` config field (default `true`) and `setVisible()` / `isVisible()`. Hiding covers every layer the module draws — places, connections and entry points; fills, borders, center labels and border labels — keeps its data, and survives `show()`, `clear()` and style changes. Showing again leaves theme-unused layers and `layout.visibility: 'none'` overrides hidden ([#2315](https://github.com/tomtom-internal/maps-sdk-js/pull/2315))
|
|
1227
|
+
- map: `PlacesModule` connection layers and the `GeometriesModule` border keep a `layout.visibility: 'none'` override when data is shown ([#2315](https://github.com/tomtom-internal/maps-sdk-js/pull/2315))
|
|
1228
|
+
- map: `GeometriesModule` border labels (`lineLabel`) move with the border in `moveBeforeLayer` and follow config changes ([#2315](https://github.com/tomtom-internal/maps-sdk-js/pull/2315))
|
|
1247
1229
|
|
|
1248
|
-
-
|
|
1230
|
+
- services: `reverseGeocode` sets no `dataSources.geometry` on an area result; the ID it set was the place ID, which `geometryData` answers with no geometry. To draw a reverse geocoded area, search it by name with its `geographyType` ([#2308](https://github.com/tomtom-internal/maps-sdk-js/pull/2308))
|
|
1249
1231
|
|
|
1250
|
-
-
|
|
1232
|
+
- core: `getCoordinateAtRouteProgress`, `calculateProgressAtRoutePoint` and the other route progress lookups bisect the route's `progress` instead of scanning all of it, so a lookup on a 30,000-point route takes microseconds rather than a millisecond ([#2181](https://github.com/tomtom-internal/maps-sdk-js/pull/2181))
|
|
1251
1233
|
|
|
1252
|
-
- [#2272](https://github.com/tomtom-internal/maps-sdk-js/pull/2272)
|
|
1253
|
-
|
|
1254
|
-
- map: `RoutingModule` posts a tunnel sign where each tunnel starts, under the map's labels, and a "closed to vehicles" sign where each vehicle-restricted stretch starts, just under the traffic icons, on the new `routeTunnelSymbol` and `routeVehicleRestrictedSymbol` layers
|
|
1255
|
-
- map: `sections.tunnel.icon` and `sections.vehicleRestricted.icon` replace those signs, instead of being accepted and ignored
|
|
1234
|
+
- map: `RoutingModule` posts a tunnel sign where each tunnel starts, under the map's labels, and a "closed to vehicles" sign where each vehicle-restricted stretch starts, just under the traffic icons, on the new `routeTunnelSymbol` and `routeVehicleRestrictedSymbol` layers ([#2272](https://github.com/tomtom-internal/maps-sdk-js/pull/2272))
|
|
1235
|
+
- map: `sections.tunnel.icon` and `sections.vehicleRestricted.icon` replace those signs, instead of being accepted and ignored ([#2272](https://github.com/tomtom-internal/maps-sdk-js/pull/2272))
|
|
1256
1236
|
|
|
1257
|
-
-
|
|
1237
|
+
- services: `createLatestRequest` keeps only the latest of a series of requests. Each `run` aborts the one before it and resolves `{ current: true, value }`, or `{ current: false }` once a newer run or a `cancel` retired it, so a superseded call neither rejects nor paints last. Errors of the current request, a deadline composed onto its signal included, are rethrown ([#2279](https://github.com/tomtom-internal/maps-sdk-js/pull/2279))
|
|
1258
1238
|
|
|
1259
|
-
-
|
|
1239
|
+
- services: the `CommonRoutingParams` examples compile — the heavy-vehicle one drops `travelMode: 'truck'`, the EV one uses `speedsToConsumptionsKWH` — and `VehicleDimensions` states that weight is its only dimension ([#2307](https://github.com/tomtom-internal/maps-sdk-js/pull/2307))
|
|
1260
1240
|
|
|
1261
1241
|
## 0.58.1
|
|
1262
1242
|
|
|
1263
1243
|
### Patch Changes
|
|
1264
1244
|
|
|
1265
|
-
- [#2099](https://github.com/tomtom-internal/maps-sdk-js/pull/2099)
|
|
1266
|
-
|
|
1267
|
-
- map: the `basemap.<group>` and `buildings.*` styling toggles write through `BaseMapModule`, and `styling.get` reads their layers live, so it agrees with `baseMap.isVisible(…)` whichever of the two set the group
|
|
1268
|
-
- map: `basemap.land` reaches the layers `BaseMapModule`'s `land` group does, which leave out the style's sourceless `background`; on `satellite` that is no layer
|
|
1245
|
+
- map: the `basemap.<group>` and `buildings.*` styling toggles write through `BaseMapModule`, and `styling.get` reads their layers live, so it agrees with `baseMap.isVisible(…)` whichever of the two set the group ([#2099](https://github.com/tomtom-internal/maps-sdk-js/pull/2099))
|
|
1246
|
+
- map: `basemap.land` reaches the layers `BaseMapModule`'s `land` group does, which leave out the style's sourceless `background`; on `satellite` that is no layer ([#2099](https://github.com/tomtom-internal/maps-sdk-js/pull/2099))
|
|
1269
1247
|
|
|
1270
|
-
- [#1939](https://github.com/tomtom-internal/maps-sdk-js/pull/1939)
|
|
1271
|
-
|
|
1272
|
-
- services: `trafficIncidentDetails` takes a `polygon`, such as a city boundary from `geometryData`, as a third query mode beside `bbox` and `ids`; the request covers the polygon's bounding box and the response keeps the incidents that intersect the polygon
|
|
1273
|
-
- services: `trafficIncidentDetails` validation rejects a request that sets more than one of `bbox`, `polygon` and `ids`, or none of them; the check that `bbox` and `ids` are not combined was never applied
|
|
1248
|
+
- services: `trafficIncidentDetails` takes a `polygon`, such as a city boundary from `geometryData`, as a third query mode beside `bbox` and `ids`; the request covers the polygon's bounding box and the response keeps the incidents that intersect the polygon ([#1939](https://github.com/tomtom-internal/maps-sdk-js/pull/1939))
|
|
1249
|
+
- services: `trafficIncidentDetails` validation rejects a request that sets more than one of `bbox`, `polygon` and `ids`, or none of them; the check that `bbox` and `ids` are not combined was never applied ([#1939](https://github.com/tomtom-internal/maps-sdk-js/pull/1939))
|
|
1274
1250
|
|
|
1275
1251
|
## 0.58.0
|
|
1276
1252
|
|
|
1277
1253
|
### Minor Changes
|
|
1278
1254
|
|
|
1279
|
-
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
- [#2216](https://github.com/tomtom-internal/maps-sdk-js/pull/2216)
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
-
|
|
1325
|
-
|
|
1326
|
-
-
|
|
1327
|
-
|
|
1328
|
-
- [#
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
- **Breaking:** core, services: `apiVersion` is removed from `GlobalConfig` and `CommonRoutingParams`; each service picks the API version it calls
|
|
1332
|
-
|
|
1333
|
-
- [#2244](https://github.com/tomtom-internal/maps-sdk-js/pull/2244) [`d94e12b`](https://github.com/tomtom-internal/maps-sdk-js/commit/d94e12bb142693730a95b7032e9772ff3caf6a31) Thanks [@carlosprietofernandez-tomtom](https://github.com/carlosprietofernandez-tomtom)!
|
|
1334
|
-
|
|
1335
|
-
- **Breaking:** core: each `AreaAnalyticsTimedData` granularity has its own entry type, `AreaAnalyticsYearlyEntry` to `AreaAnalyticsHourlyEntry` and `AreaAnalyticsAverageEntry`, whose time identifiers are required, and `AreaAnalyticsTimedEntry` is their union, so code that builds entries by hand must set them
|
|
1336
|
-
- **Breaking:** core: `AreaAnalyticsFeatureProperties.timezone` is optional: the API echoes it only from a request that names one, and the SDK's names none
|
|
1337
|
-
- services: `trafficAreaAnalytics` reads each `timedData.average` entry's `day` and `hour` from the label the API sends (`FRIDAY-10`) and orders the entries Monday first, instead of numbering them by position in an array the API sorts by label string
|
|
1338
|
-
- services: `trafficAreaAnalytics` reads the `year`, `month`, `week`, `date` and `hour` of each yearly to hourly `timedData` entry from the `time` label the API sends (`2024-08-06T07:00`), instead of numbering daily and hourly entries by position from a start date the Lite response never sends, which gave every one an Invalid Date and shifted the hours whenever an `hours` filter, a `days` list or a day without data left entries out, and leaving yearly, monthly and weekly entries with none
|
|
1339
|
-
- services: `trafficAreaAnalytics` defaults an omitted `endDate` to three days ago, the latest date that always has data, instead of two: the API publishes a day 24 to 48 hours after it ends, so the default window failed during part of each day
|
|
1340
|
-
- services: `trafficAreaAnalytics` documents that its `hours` filter and every `timedData` time identifier are in UTC, since the request names no region timezone
|
|
1341
|
-
|
|
1342
|
-
- [#2215](https://github.com/tomtom-internal/maps-sdk-js/pull/2215) [`b09510c`](https://github.com/tomtom-internal/maps-sdk-js/commit/b09510c42d6863777e2a5fbe09f429cc0cc9b8da) Thanks [@JulianChinAFoeng-TomTom](https://github.com/JulianChinAFoeng-TomTom)!
|
|
1343
|
-
|
|
1344
|
-
- **Breaking:** services: `trafficIncidentDetails` calls Orbis Traffic Incident Details v2, so the request `onAPIRequest` sees carries the API key, version, language and an `Attributes` projection as headers instead of query parameters
|
|
1345
|
-
- **Breaking:** services: remove the `trafficModelId` parameter from `trafficIncidentDetails`; v2 always serves the latest traffic state
|
|
1346
|
-
- **Breaking:** core: remove `TrafficIncidentTMC`, `TrafficIncidentTMCPoint` and `properties.tmc` from `TrafficIncidentProperties`; v2 carries no TMC data
|
|
1347
|
-
- services: `trafficAreaAnalytics` accepts a `startDate` without an `endDate` and measures the range to two days ago, the end date it sends, instead of rejecting every such request
|
|
1348
|
-
- services: `trafficAreaAnalytics` validates a range in the UTC calendar days it sends, and dates hourly and daily entries in UTC, so neither drifts a day with the time of day or a daylight-saving switch
|
|
1255
|
+
- **Breaking:** map: `culori` v4 is a new peer dependency. npm 7+ and Yarn install it for you; pnpm needs `auto-install-peers=true` or `pnpm add culori` ([#2227](https://github.com/tomtom-internal/maps-sdk-js/pull/2227))
|
|
1256
|
+
- map: colour parsing, conversion, luminance and mixing run on culori's tree-shakeable `culori/fn` instead of the SDK's own parser and named-colour table, so an app that also uses culori ships it once ([#2227](https://github.com/tomtom-internal/maps-sdk-js/pull/2227))
|
|
1257
|
+
|
|
1258
|
+
- **Breaking:** services: `GuidanceParams.phonetics` and the `Phonetics` type are removed; `guidance` takes `{ type: 'coded' }` only ([#2213](https://github.com/tomtom-internal/maps-sdk-js/pull/2213))
|
|
1259
|
+
- **Breaking:** core: `TextWithPhonetics` is renamed `InstructionText` and drops `phonetic` and `phoneticLanguageCode`; instruction name fields carry `text` only ([#2213](https://github.com/tomtom-internal/maps-sdk-js/pull/2213))
|
|
1260
|
+
|
|
1261
|
+
- **Breaking:** services: `calculateReachableRange` calls reachable-range API version 3, so the request `onAPIRequest` sees is a `POST` with `data` and `headers` — the API key travels as a `TomTom-Api-Key` header — instead of a `GET` URL ([#2137](https://github.com/tomtom-internal/maps-sdk-js/pull/2137))
|
|
1262
|
+
- **Breaking:** services: `calculateReachableRange` rejects `costModel.avoidAreas`, `when.arriveBy`, and a charge budget it cannot convert (no `model.engine.charging.maxChargeKWH`, or no `vehicle.state` for `remainingChargePCT`) instead of dropping them ([#2137](https://github.com/tomtom-internal/maps-sdk-js/pull/2137))
|
|
1263
|
+
- services: `calculateRoute` sends a vehicle's `currentChargeInkWh` / `currentFuelInLiters` when it has no explicit engine model, and keeps a zero charge, charge percentage or heading on the wire ([#2137](https://github.com/tomtom-internal/maps-sdk-js/pull/2137))
|
|
1264
|
+
|
|
1265
|
+
- **Breaking:** services: the reachable-range budget type `remainingChargeCPT` is `remainingChargePCT`, matching `spentChargePCT` ([#2216](https://github.com/tomtom-internal/maps-sdk-js/pull/2216))
|
|
1266
|
+
- **Breaking:** services: `reverseGeocode` takes `geographyTypes`, as the other places services do; it was a singular name holding an array ([#2216](https://github.com/tomtom-internal/maps-sdk-js/pull/2216))
|
|
1267
|
+
- **Breaking:** services: `metricKeyToApiDataType` is no longer exported ([#2216](https://github.com/tomtom-internal/maps-sdk-js/pull/2216))
|
|
1268
|
+
- **Breaking:** services: generic and combustion vehicles take no `preferences`, and the `VehiclePreferences` type is removed; an electric vehicle's `preferences` is `ElectricVehiclePreferences` ([#2216](https://github.com/tomtom-internal/maps-sdk-js/pull/2216))
|
|
1269
|
+
- **Breaking:** map: the module config types follow `<Module>Config` — `TrafficFlowModuleConfig`, `TrafficIncidentsModuleConfig`, `TrafficIncidentOverlayModuleConfig`, `TrafficAreaAnalyticsModuleConfig` replace `FlowConfig`, `IncidentsConfig`, `TrafficIncidentOverlayConfig`, `TrafficAreaAnalyticsConfig` ([#2216](https://github.com/tomtom-internal/maps-sdk-js/pull/2216))
|
|
1270
|
+
- **Breaking:** map: the `FilterShowMode` value `'all_except'` is `'all-except'`, in the POI, traffic flow and traffic incident filters ([#2216](https://github.com/tomtom-internal/maps-sdk-js/pull/2216))
|
|
1271
|
+
- map: `filterShowModes` lists the `FilterShowMode` values at runtime ([#2216](https://github.com/tomtom-internal/maps-sdk-js/pull/2216))
|
|
1272
|
+
- services: `discoverOnePlace` and `geocodeOne` also take a params object (everything but `limit`), so a single-result lookup can carry `geoBias` or a `signal` ([#2216](https://github.com/tomtom-internal/maps-sdk-js/pull/2216))
|
|
1273
|
+
|
|
1274
|
+
- **Breaking:** map: `eventState` is typed `EventState`, which adds `recently-hovered`, so your own `['has', 'eventState']` expressions match a feature for its grace period; exclude that state or set `hoverGracePeriodMS: 0` ([#2197](https://github.com/tomtom-internal/maps-sdk-js/pull/2197))
|
|
1275
|
+
- map: `PlacesModule` draws the entry points of shown places with `entryPoints` on its config — for all places or only hovered or clicked ones, from a minimum zoom — and `places.events.entryPoints` hands each back as a point feature with its place attached ([#2197](https://github.com/tomtom-internal/maps-sdk-js/pull/2197))
|
|
1276
|
+
- map: a GeoJSON-backed feature the pointer leaves stays `recently-hovered` for `hoverGracePeriodMS` (default 400, on the map's or a module's `events`); the SDK's layers draw it as no state ([#2197](https://github.com/tomtom-internal/maps-sdk-js/pull/2197))
|
|
1277
|
+
|
|
1278
|
+
- **Breaking:** core: 67 `POICategory` values take their Places Search v3 name, upper-cased — among them `GAS_STATION` → `FUEL_STATION`, `ELECTRIC_VEHICLE_STATION` → `CHARGING_LOCATION`, `HOTEL_MOTEL` → `HOTEL_OR_MOTEL`, `SHOPPING_CENTER` → `MALL`, `SUPERMARKETS_HYPERMARKETS` → `SUPERMARKET` ([#2189](https://github.com/tomtom-internal/maps-sdk-js/pull/2189))
|
|
1279
|
+
- **Breaking:** core: five `POICategory` values merge into the v3 type they share, keeping both V2 ids: `COLLEGE_UNIVERSITY` → `COLLEGE_OR_UNIVERSITY`, `LEISURE_SPORTS_CENTER` → `SPORTS_CENTER`, `OPEN_PARKING_AREA` → `OPEN_CAR_PARKING_AREA`, `PERFORMING_ARTS_THEATER` → `THEATER`, `ROAD_TRAFFIC_CONTROL_CENTER` → `TRAFFIC_CONTROL_DEPARTMENT` ([#2189](https://github.com/tomtom-internal/maps-sdk-js/pull/2189))
|
|
1280
|
+
- **Breaking:** services: `autocompleteSearch` and its `AutocompleteSearch*` types are no longer exported — `getSearchSuggestions()` returns its brand and category suggestions, alone with `filters: { kinds: ['brand', 'category'] }` or ranked with places ([#2189](https://github.com/tomtom-internal/maps-sdk-js/pull/2189))
|
|
1281
|
+
- **Breaking:** services: the places functions take intent-based names that line up with Places Search v3's `suggest` / `discover` / `details`: `search` → `discoverPlaces`, `searchOne` → `discoverOnePlace`, `placeById` → `getPlaceDetails` ([#2189](https://github.com/tomtom-internal/maps-sdk-js/pull/2189))
|
|
1282
|
+
- **Breaking:** services: the types follow — `SearchResponse` → `DiscoverPlacesResponse`, `PlaceByIdParams` / `PlaceByIdResponse` → `PlaceDetailsParams` / `PlaceDetailsResponse`; a place-details error reports its service as `PlaceDetails` ([#2189](https://github.com/tomtom-internal/maps-sdk-js/pull/2189))
|
|
1283
|
+
- **Breaking:** core: `POICategory` drops `PUB_FOOD`, `POLYNESIAN_RESTAURANT`, `OTHER_WINTER_SPORT` and `SNOOKER_POOL_BILLIARD`, which the category endpoint no longer returns. Filtering on one already matched nothing. The map's `poiCategoryGroups.FOOD_DRINKS_GROUP` no longer lists `PUB_FOOD` ([#2189](https://github.com/tomtom-internal/maps-sdk-js/pull/2189))
|
|
1284
|
+
- services: `getSearchSuggestions()` returns one ranked list from the search and autocomplete arms, blended like Places Search v3: at most one brand or category leads, then places ([#2189](https://github.com/tomtom-internal/maps-sdk-js/pull/2189))
|
|
1285
|
+
- core: `POICategory` gains the seven categories the endpoint returns that the vendored table was missing, so `getPOICategories()` and category filters now reach them, and `PlacesModule` draws an icon for each ([#2189](https://github.com/tomtom-internal/maps-sdk-js/pull/2189))
|
|
1286
|
+
- services: `discoverPlaces`, `geocode` and `getSearchSuggestions` encode the query in the request path, so a query containing `/`, `?` or `#` is answered instead of failing with a 404 ([#2189](https://github.com/tomtom-internal/maps-sdk-js/pull/2189))
|
|
1287
|
+
|
|
1288
|
+
- **Breaking:** services: remove the `customizeService` export, and the optional second argument every service function took to override its request building, sending or response parsing. `calculateReachableRanges` keeps its second `options` argument ([#2212](https://github.com/tomtom-internal/maps-sdk-js/pull/2212))
|
|
1289
|
+
|
|
1290
|
+
- **Breaking:** map: `StylingModule.describe()` is removed, together with the `StylingCatalogue`, `StylingKnobDescriptor`, `StylingPresetDescriptor` and shared `KnobDescriptor` types. The knob catalogue is static data now: `stylingKnobCatalogue` lists every knob's kind, description, range or options and `appliesTo`, `stylingPresetCatalogue` every preset with its settings, and `styling.get(id)` reads the value in force on a live map. ([#2223](https://github.com/tomtom-internal/maps-sdk-js/pull/2223))
|
|
1291
|
+
|
|
1292
|
+
- **Breaking:** core: `GlobalConfig.trackingId` is removed, together with the `Tracking-ID` request header it set ([#2231](https://github.com/tomtom-internal/maps-sdk-js/pull/2231))
|
|
1293
|
+
- **Breaking:** core, services: `apiVersion` is removed from `GlobalConfig` and `CommonRoutingParams`; each service picks the API version it calls ([#2231](https://github.com/tomtom-internal/maps-sdk-js/pull/2231))
|
|
1294
|
+
|
|
1295
|
+
- **Breaking:** core: each `AreaAnalyticsTimedData` granularity has its own entry type, `AreaAnalyticsYearlyEntry` to `AreaAnalyticsHourlyEntry` and `AreaAnalyticsAverageEntry`, whose time identifiers are required, and `AreaAnalyticsTimedEntry` is their union, so code that builds entries by hand must set them ([#2244](https://github.com/tomtom-internal/maps-sdk-js/pull/2244))
|
|
1296
|
+
- **Breaking:** core: `AreaAnalyticsFeatureProperties.timezone` is optional: the API echoes it only from a request that names one, and the SDK's names none ([#2244](https://github.com/tomtom-internal/maps-sdk-js/pull/2244))
|
|
1297
|
+
- services: `trafficAreaAnalytics` reads each `timedData.average` entry's `day` and `hour` from the label the API sends (`FRIDAY-10`) and orders the entries Monday first, instead of numbering them by position in an array the API sorts by label string ([#2244](https://github.com/tomtom-internal/maps-sdk-js/pull/2244))
|
|
1298
|
+
- services: `trafficAreaAnalytics` reads the `year`, `month`, `week`, `date` and `hour` of each yearly to hourly `timedData` entry from the `time` label the API sends (`2024-08-06T07:00`), instead of numbering daily and hourly entries by position from a start date the Lite response never sends, which gave every one an Invalid Date and shifted the hours whenever an `hours` filter, a `days` list or a day without data left entries out, and leaving yearly, monthly and weekly entries with none ([#2244](https://github.com/tomtom-internal/maps-sdk-js/pull/2244))
|
|
1299
|
+
- services: `trafficAreaAnalytics` defaults an omitted `endDate` to three days ago, the latest date that always has data, instead of two: the API publishes a day 24 to 48 hours after it ends, so the default window failed during part of each day ([#2244](https://github.com/tomtom-internal/maps-sdk-js/pull/2244))
|
|
1300
|
+
- services: `trafficAreaAnalytics` documents that its `hours` filter and every `timedData` time identifier are in UTC, since the request names no region timezone ([#2244](https://github.com/tomtom-internal/maps-sdk-js/pull/2244))
|
|
1301
|
+
|
|
1302
|
+
- **Breaking:** services: `trafficIncidentDetails` calls Orbis Traffic Incident Details v2, so the request `onAPIRequest` sees carries the API key, version, language and an `Attributes` projection as headers instead of query parameters ([#2215](https://github.com/tomtom-internal/maps-sdk-js/pull/2215))
|
|
1303
|
+
- **Breaking:** services: remove the `trafficModelId` parameter from `trafficIncidentDetails`; v2 always serves the latest traffic state ([#2215](https://github.com/tomtom-internal/maps-sdk-js/pull/2215))
|
|
1304
|
+
- **Breaking:** core: remove `TrafficIncidentTMC`, `TrafficIncidentTMCPoint` and `properties.tmc` from `TrafficIncidentProperties`; v2 carries no TMC data ([#2215](https://github.com/tomtom-internal/maps-sdk-js/pull/2215))
|
|
1305
|
+
- services: `trafficAreaAnalytics` accepts a `startDate` without an `endDate` and measures the range to two days ago, the end date it sends, instead of rejecting every such request ([#2215](https://github.com/tomtom-internal/maps-sdk-js/pull/2215))
|
|
1306
|
+
- services: `trafficAreaAnalytics` validates a range in the UTC calendar days it sends, and dates hourly and daily entries in UTC, so neither drifts a day with the time of day or a daylight-saving switch ([#2215](https://github.com/tomtom-internal/maps-sdk-js/pull/2215))
|
|
1349
1307
|
|
|
1350
1308
|
### Patch Changes
|
|
1351
1309
|
|
|
1352
|
-
-
|
|
1310
|
+
- map: the API reference of `BaseMapModule`, `POIsModule`, `TerrainModule`, `TrafficFlowModule` and `TrafficIncidentsModule` states what each module owns and which `StylingModule` knobs own the look ([#2098](https://github.com/tomtom-internal/maps-sdk-js/pull/2098))
|
|
1353
1311
|
|
|
1354
|
-
-
|
|
1312
|
+
- map: a source comment in the place-pin category mapping no longer links to an internal repository ([#2232](https://github.com/tomtom-internal/maps-sdk-js/pull/2232))
|
|
1355
1313
|
|
|
1356
|
-
-
|
|
1314
|
+
- The `maplibre-gl` peer dependency requires `^6.11.2`, and the `zod` peer dependency `^4.6.5` ([#2217](https://github.com/tomtom-internal/maps-sdk-js/pull/2217))
|
|
1357
1315
|
|
|
1358
|
-
- [#2222](https://github.com/tomtom-internal/maps-sdk-js/pull/2222)
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
- map: `TOLL_GATE` maps to the base-map `toll_plaza` category, so its `circle-icon` and `base-map` icons draw and `POIsModule` category filters match toll plazas
|
|
1362
|
-
- map: `THEATER`, `SPORTS_CENTER`, `SQUASH_COURT` and `SCHOOL_BUS_COMPANY` places draw the closest base-map icon under the `circle-icon`, `base-map` and `pin-clustered` themes, instead of the default place pin
|
|
1316
|
+
- map: `PlacesModule` pins for `ADVENTURE_SPORTS_FACILITY`, `COMMUNITY_CENTER`, `EMBASSY`, `EMERGENCY_MEDICAL_SERVICE` and `ENTERTAINMENT` draw the icon of the category they share a base-map icon with, instead of no icon at all ([#2222](https://github.com/tomtom-internal/maps-sdk-js/pull/2222))
|
|
1317
|
+
- map: `TOLL_GATE` maps to the base-map `toll_plaza` category, so its `circle-icon` and `base-map` icons draw and `POIsModule` category filters match toll plazas ([#2222](https://github.com/tomtom-internal/maps-sdk-js/pull/2222))
|
|
1318
|
+
- map: `THEATER`, `SPORTS_CENTER`, `SQUASH_COURT` and `SCHOOL_BUS_COMPANY` places draw the closest base-map icon under the `circle-icon`, `base-map` and `pin-clustered` themes, instead of the default place pin ([#2222](https://github.com/tomtom-internal/maps-sdk-js/pull/2222))
|
|
1363
1319
|
|
|
1364
|
-
-
|
|
1320
|
+
- services: `calculateReachableRange` and `calculateReachableRanges` keep the API key, base URLs, `retry`, callbacks and `signal` out of each polygon's `properties`, now typed as the new `ReachableRangeProperties` — the request parameters without the `CommonServiceParams` fields ([#2230](https://github.com/tomtom-internal/maps-sdk-js/pull/2230))
|
|
1365
1321
|
|
|
1366
|
-
-
|
|
1322
|
+
- services: the TSDoc of reachable ranges, Long Distance EV Routing, EV charging stations availability and traffic area analytics says which API key access each needs; reachable ranges are marked as a private preview ([#2242](https://github.com/tomtom-internal/maps-sdk-js/pull/2242))
|
|
1367
1323
|
|
|
1368
|
-
-
|
|
1324
|
+
- map: `TomTomMap.updateEventsConfig` changes the map's user events configuration at runtime, such as the long-hover delays and `hoverGracePeriodMS`; what it leaves out keeps its value ([#2254](https://github.com/tomtom-internal/maps-sdk-js/pull/2254))
|
|
1369
1325
|
|
|
1370
|
-
- [#2237](https://github.com/tomtom-internal/maps-sdk-js/pull/2237)
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
- map: `styling.get('colors.<name>')` reports a colour without the opacity of the layer it was read from, so setting it back changes nothing
|
|
1380
|
-
- map: `artificial` is read from the city-scale built-up colour, the one the style's theme sets, and `setMapColors` measures its shades from it, instead of from the more saturated small-scale stop
|
|
1326
|
+
- map: on the mono styles, `setMapColors({ land })` re-derives the other nine colours from it with the formulas the styles' themes compile them with; colours given outright still win ([#2237](https://github.com/tomtom-internal/maps-sdk-js/pull/2237))
|
|
1327
|
+
- map: `setMapColors` darkens or lightens the education, healthcare, leisure and shopping land-use and building tints with `artificial`, keeping their hue and scaling their saturation with its luminance as the styles' themes do, instead of leaving them at the style's pastel lightness under a dark built-up colour ([#2237](https://github.com/tomtom-internal/maps-sdk-js/pull/2237))
|
|
1328
|
+
- map: a pure grey map colour or colour knob derives grey shades, instead of shades tinted towards red ([#2237](https://github.com/tomtom-internal/maps-sdk-js/pull/2237))
|
|
1329
|
+
- map: `setMapColors` recolours railway outlines with `artificial` along with their dashes, instead of leaving them at the style's grey ([#2237](https://github.com/tomtom-internal/maps-sdk-js/pull/2237))
|
|
1330
|
+
- map: `setMapColors` paints water, roads, built-up areas and labels in the colour given, on the mono styles too, instead of offsetting them from a glacier, restricted-access or city-label literal ([#2237](https://github.com/tomtom-internal/maps-sdk-js/pull/2237))
|
|
1331
|
+
- map: `setMapColors` keeps the opacity of translucent label halos, instead of painting them opaque ([#2237](https://github.com/tomtom-internal/maps-sdk-js/pull/2237))
|
|
1332
|
+
- map: `setMapColors` recolours motorway, trunk and primary link roads with `roadMajor`, instead of with `road` ([#2237](https://github.com/tomtom-internal/maps-sdk-js/pull/2237))
|
|
1333
|
+
- map: `styling.get('colors.<name>')` reports a colour without the opacity of the layer it was read from, so setting it back changes nothing ([#2237](https://github.com/tomtom-internal/maps-sdk-js/pull/2237))
|
|
1334
|
+
- map: `artificial` is read from the city-scale built-up colour, the one the style's theme sets, and `setMapColors` measures its shades from it, instead of from the more saturated small-scale stop ([#2237](https://github.com/tomtom-internal/maps-sdk-js/pull/2237))
|
|
1381
1335
|
|
|
1382
|
-
-
|
|
1336
|
+
- map: replacing the image of a `ferry` or `tollRoad` section icon through `sections.<type>.icon` keeps the zoom-ramped size its layer draws with, instead of flattening it to 1; `icon.size` still sets one when given ([#2224](https://github.com/tomtom-internal/maps-sdk-js/pull/2224))
|
|
1383
1337
|
|
|
1384
|
-
-
|
|
1338
|
+
- map: `toHsl`, `formatStyleHsl` and `HslColor` are exported, the colour rules the map-theme plugin shares with the recolour ([#2094](https://github.com/tomtom-internal/maps-sdk-js/pull/2094))
|
|
1385
1339
|
|
|
1386
|
-
- [#2247](https://github.com/tomtom-internal/maps-sdk-js/pull/2247)
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
- services: `trafficAreaAnalytics` reads `anomalies` keyed by the abbreviated metric fields the API sends (`v`, `c`), instead of data type names, which dropped every anomaly; each anomaly's times are read as UTC, and its `labels` are the names of the public holidays it overlaps
|
|
1390
|
-
- services: `trafficAreaAnalytics` documents that `anomalies` is empty: the service detects anomalies only over 35 days or more, beyond a request's 31-day limit
|
|
1340
|
+
- services: `trafficAreaAnalytics` reads `properties.startDate` and `endDate` as the earliest and latest of the `days` the API lists, at midnight UTC, instead of fields the Lite response never sends, which left both an Invalid Date ([#2247](https://github.com/tomtom-internal/maps-sdk-js/pull/2247))
|
|
1341
|
+
- services: `trafficAreaAnalytics` reads `anomalies` keyed by the abbreviated metric fields the API sends (`v`, `c`), instead of data type names, which dropped every anomaly; each anomaly's times are read as UTC, and its `labels` are the names of the public holidays it overlaps ([#2247](https://github.com/tomtom-internal/maps-sdk-js/pull/2247))
|
|
1342
|
+
- services: `trafficAreaAnalytics` documents that `anomalies` is empty: the service detects anomalies only over 35 days or more, beyond a request's 31-day limit ([#2247](https://github.com/tomtom-internal/maps-sdk-js/pull/2247))
|
|
1391
1343
|
|
|
1392
1344
|
## 0.57.0
|
|
1393
1345
|
|
|
1394
1346
|
### Minor Changes
|
|
1395
1347
|
|
|
1396
|
-
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
- **Breaking:** services: `SearchSummary.totalResults` and `SearchSummary.fuzzyLevel` are optional — guard them rather than assuming a number
|
|
1400
|
-
- services: `customizeService` builders document how to send the credential yourself, including `credentials: 'include'` under a credentials proxy via `isProxyCredentialsMode(config)`
|
|
1348
|
+
- **Breaking:** services: the places services send the API key and API version as `TomTom-Api-Key` / `TomTom-Api-Version` headers instead of `key=` in the URL, so a request builder now returns `{ url, headers }` and a proxy has to forward those headers ([#2185](https://github.com/tomtom-internal/maps-sdk-js/pull/2185))
|
|
1349
|
+
- **Breaking:** services: `SearchSummary.totalResults` and `SearchSummary.fuzzyLevel` are optional — guard them rather than assuming a number ([#2185](https://github.com/tomtom-internal/maps-sdk-js/pull/2185))
|
|
1350
|
+
- services: `customizeService` builders document how to send the credential yourself, including `credentials: 'include'` under a credentials proxy via `isProxyCredentialsMode(config)` ([#2185](https://github.com/tomtom-internal/maps-sdk-js/pull/2185))
|
|
1401
1351
|
|
|
1402
|
-
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
- **Breaking:** map: the `view.terrain` and `view.terrainExaggeration` styling knobs and the `terrain` preset are removed — `TerrainModule.get(map, { elevation: true, elevationExaggeration })` raises the terrain instead, and loads the elevation style part the knob could not
|
|
1406
|
-
- map: 3D terrain with `TerrainModule` — `elevation` and `elevationExaggeration` raise the map surface from the same elevation data the hillshade shades, restored after every style change
|
|
1352
|
+
- **Breaking:** map: `TerrainModule` replaces `HillshadeModule` — `TerrainModule.get(map, { hillshade: true })` for what `HillshadeModule.get(map, { visible: true })` did, `setHillshadeVisible` for `setVisible` ([#2056](https://github.com/tomtom-internal/maps-sdk-js/pull/2056))
|
|
1353
|
+
- **Breaking:** map: the `view.terrain` and `view.terrainExaggeration` styling knobs and the `terrain` preset are removed — `TerrainModule.get(map, { elevation: true, elevationExaggeration })` raises the terrain instead, and loads the elevation style part the knob could not ([#2056](https://github.com/tomtom-internal/maps-sdk-js/pull/2056))
|
|
1354
|
+
- map: 3D terrain with `TerrainModule` — `elevation` and `elevationExaggeration` raise the map surface from the same elevation data the hillshade shades, restored after every style change ([#2056](https://github.com/tomtom-internal/maps-sdk-js/pull/2056))
|
|
1407
1355
|
|
|
1408
1356
|
### Patch Changes
|
|
1409
1357
|
|
|
1410
|
-
- [#2092](https://github.com/tomtom-internal/maps-sdk-js/pull/2092)
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
- map: `hillshade.*` styling knobs set the shading's method, light direction, strength, maximum zoom and colours
|
|
1414
|
-
- map: `styling.layers.query(…)` edits the paint, layout, filter or visibility of the style layers a query selects, re-applied after every style change and undone by `reset()`
|
|
1358
|
+
- map: `basemap.<group>` styling knobs toggle every base-map layer group `BaseMapModule` knows, bar the two building groups the `buildings.*` knobs already cover ([#2092](https://github.com/tomtom-internal/maps-sdk-js/pull/2092))
|
|
1359
|
+
- map: `hillshade.*` styling knobs set the shading's method, light direction, strength, maximum zoom and colours ([#2092](https://github.com/tomtom-internal/maps-sdk-js/pull/2092))
|
|
1360
|
+
- map: `styling.layers.query(…)` edits the paint, layout, filter or visibility of the style layers a query selects, re-applied after every style change and undone by `reset()` ([#2092](https://github.com/tomtom-internal/maps-sdk-js/pull/2092))
|
|
1415
1361
|
|
|
1416
|
-
- [#2100](https://github.com/tomtom-internal/maps-sdk-js/pull/2100)
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
- map: `TrafficAreaAnalyticsModule.applyConfig` with a new `activeMetric` filters and scales the layers by that metric rather than the previous one
|
|
1422
|
-
- map: a clean style switch (`setStyle(style, { resetState: true })`) leaves every module on the configuration `resetConfig()` returns to, and `CustomGeoJSONModule` survives it instead of throwing
|
|
1362
|
+
- map: every module has `updateConfig(partial)`, which changes the given properties and keeps the rest of the configuration, whatever that module's `applyConfig` does with a whole one ([#2100](https://github.com/tomtom-internal/maps-sdk-js/pull/2100))
|
|
1363
|
+
- map: `BaseMapModule.resetConfig()` empties the configuration instead of keeping the previous one ([#2100](https://github.com/tomtom-internal/maps-sdk-js/pull/2100))
|
|
1364
|
+
- map: `TrafficAreaAnalyticsModule.resetConfig()` returns the display mode, metric, colours, filters, region and layer positions to their defaults, instead of only clearing `getConfig()` ([#2100](https://github.com/tomtom-internal/maps-sdk-js/pull/2100))
|
|
1365
|
+
- map: `TrafficAreaAnalyticsModule.applyConfig` with a new `activeMetric` filters and scales the layers by that metric rather than the previous one ([#2100](https://github.com/tomtom-internal/maps-sdk-js/pull/2100))
|
|
1366
|
+
- map: a clean style switch (`setStyle(style, { resetState: true })`) leaves every module on the configuration `resetConfig()` returns to, and `CustomGeoJSONModule` survives it instead of throwing ([#2100](https://github.com/tomtom-internal/maps-sdk-js/pull/2100))
|
|
1423
1367
|
|
|
1424
1368
|
## 0.56.0
|
|
1425
1369
|
|
|
1426
1370
|
### Minor Changes
|
|
1427
1371
|
|
|
1428
|
-
- [#2188](https://github.com/tomtom-internal/maps-sdk-js/pull/2188)
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
- services: places GA phase 1 - remove the experimentalSearch export
|
|
1438
|
-
- map: draw border crossings under the waypoint pins
|
|
1372
|
+
- **Breaking:** map: precise types for custom styles, places props and traffic data ([#2188](https://github.com/tomtom-internal/maps-sdk-js/pull/2188))
|
|
1373
|
+
- **Breaking:** services: deduplicate vehicle energy encoding, tighten EV types ([#2188](https://github.com/tomtom-internal/maps-sdk-js/pull/2188))
|
|
1374
|
+
- map: label a route's border crossings with the countries they join ([#2188](https://github.com/tomtom-internal/maps-sdk-js/pull/2188))
|
|
1375
|
+
- map: post speed limit signs where the limit changes ([#2188](https://github.com/tomtom-internal/maps-sdk-js/pull/2188))
|
|
1376
|
+
- map: styling GA phase 2 - view knobs, presets, map-effects plugin ([#2188](https://github.com/tomtom-internal/maps-sdk-js/pull/2188))
|
|
1377
|
+
- map: styling GA phase 3 - setMapColors map colours and exportStyle ([#2188](https://github.com/tomtom-internal/maps-sdk-js/pull/2188))
|
|
1378
|
+
- routing: phase 6 - show what the SDK adds over calling the API directly ([#2188](https://github.com/tomtom-internal/maps-sdk-js/pull/2188))
|
|
1379
|
+
- services: places GA phase 1 - remove the experimentalSearch export ([#2188](https://github.com/tomtom-internal/maps-sdk-js/pull/2188))
|
|
1380
|
+
- map: draw border crossings under the waypoint pins ([#2188](https://github.com/tomtom-internal/maps-sdk-js/pull/2188))
|
|
1439
1381
|
|
|
1440
|
-
- [#2175](https://github.com/tomtom-internal/maps-sdk-js/pull/2175)
|
|
1441
|
-
|
|
1442
|
-
- **Breaking:** map: `StylingKnobValueOf` narrows to each knob's kind, so `StylingModule.set` rejects a value of the wrong kind at compile time
|
|
1443
|
-
- map: `stylingColorKnobIds` and `StylingColorKnobId` name every styling colour knob, and `KnobKind` gains `colors`
|
|
1382
|
+
- **Breaking:** map: `StylingKnobValueOf` narrows to each knob's kind, so `StylingModule.set` rejects a value of the wrong kind at compile time ([#2175](https://github.com/tomtom-internal/maps-sdk-js/pull/2175))
|
|
1383
|
+
- map: `stylingColorKnobIds` and `StylingColorKnobId` name every styling colour knob, and `KnobKind` gains `colors` ([#2175](https://github.com/tomtom-internal/maps-sdk-js/pull/2175))
|
|
1444
1384
|
|
|
1445
1385
|
## [0.55.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.54.0...v0.55.1) (2026-09-21)
|
|
1446
1386
|
|
|
@@ -1455,20 +1395,20 @@
|
|
|
1455
1395
|
|
|
1456
1396
|
### Features
|
|
1457
1397
|
|
|
1458
|
-
* **core:** fold reverse geocoding's access points into entryPoints ([#2151](https://github.com/tomtom-internal/maps-sdk-js/issues/2151))
|
|
1459
|
-
* **examples:** gdpr demo compliance ([#2154](https://github.com/tomtom-internal/maps-sdk-js/issues/2154))
|
|
1460
|
-
* **examples:** put every reverseGeocode option on the rev-geo playground ([#2149](https://github.com/tomtom-internal/maps-sdk-js/issues/2149))
|
|
1461
|
-
* **examples:** redesign the claim-validation demo UX per Figma ([#2145](https://github.com/tomtom-internal/maps-sdk-js/issues/2145))
|
|
1462
|
-
* **examples:** serve the brand faces the typography tokens name ([#2155](https://github.com/tomtom-internal/maps-sdk-js/issues/2155))
|
|
1463
|
-
* **map:** one config tier for every drawn route section type ([#2078](https://github.com/tomtom-internal/maps-sdk-js/issues/2078))
|
|
1464
|
-
* **map:** post speed limits as road signs rather than a band ([#2141](https://github.com/tomtom-internal/maps-sdk-js/issues/2141))
|
|
1465
|
-
* **map:** styling GA phase 1 — StylingModule and the describe() catalogue ([#2089](https://github.com/tomtom-internal/maps-sdk-js/issues/2089))
|
|
1466
|
-
* **services:** replace flat geo-bias fields with a single geoBias option ([#2158](https://github.com/tomtom-internal/maps-sdk-js/issues/2158))
|
|
1398
|
+
* **core:** fold reverse geocoding's access points into entryPoints ([#2151](https://github.com/tomtom-internal/maps-sdk-js/issues/2151))
|
|
1399
|
+
* **examples:** gdpr demo compliance ([#2154](https://github.com/tomtom-internal/maps-sdk-js/issues/2154))
|
|
1400
|
+
* **examples:** put every reverseGeocode option on the rev-geo playground ([#2149](https://github.com/tomtom-internal/maps-sdk-js/issues/2149))
|
|
1401
|
+
* **examples:** redesign the claim-validation demo UX per Figma ([#2145](https://github.com/tomtom-internal/maps-sdk-js/issues/2145))
|
|
1402
|
+
* **examples:** serve the brand faces the typography tokens name ([#2155](https://github.com/tomtom-internal/maps-sdk-js/issues/2155))
|
|
1403
|
+
* **map:** one config tier for every drawn route section type ([#2078](https://github.com/tomtom-internal/maps-sdk-js/issues/2078))
|
|
1404
|
+
* **map:** post speed limits as road signs rather than a band ([#2141](https://github.com/tomtom-internal/maps-sdk-js/issues/2141))
|
|
1405
|
+
* **map:** styling GA phase 1 — StylingModule and the describe() catalogue ([#2089](https://github.com/tomtom-internal/maps-sdk-js/issues/2089))
|
|
1406
|
+
* **services:** replace flat geo-bias fields with a single geoBias option ([#2158](https://github.com/tomtom-internal/maps-sdk-js/issues/2158))
|
|
1467
1407
|
|
|
1468
1408
|
|
|
1469
1409
|
### Miscellaneous Chores
|
|
1470
1410
|
|
|
1471
|
-
* **release:** align package versions with the last shipped release ([#2167](https://github.com/tomtom-internal/maps-sdk-js/issues/2167))
|
|
1411
|
+
* **release:** align package versions with the last shipped release ([#2167](https://github.com/tomtom-internal/maps-sdk-js/issues/2167))
|
|
1472
1412
|
|
|
1473
1413
|
## [0.54.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.53.0...v0.54.0) (2026-09-17)
|
|
1474
1414
|
|
|
@@ -1479,16 +1419,16 @@
|
|
|
1479
1419
|
|
|
1480
1420
|
### Features
|
|
1481
1421
|
|
|
1482
|
-
* **examples:** withdraw claim-validation-service from search ([#2147](https://github.com/tomtom-internal/maps-sdk-js/issues/2147))
|
|
1483
|
-
* **map:** let custom place icons offset from their coordinate ([#2123](https://github.com/tomtom-internal/maps-sdk-js/issues/2123))
|
|
1484
|
-
* **routing:** phase 3 — land the response data v3 already returns ([#2077](https://github.com/tomtom-internal/maps-sdk-js/issues/2077))
|
|
1485
|
-
* **service:** support request cancellation via AbortSignal ([#2136](https://github.com/tomtom-internal/maps-sdk-js/issues/2136))
|
|
1486
|
-
* **skills:** add an opt-in skill that reports SDK friction to GitHub ([#2124](https://github.com/tomtom-internal/maps-sdk-js/issues/2124))
|
|
1422
|
+
* **examples:** withdraw claim-validation-service from search ([#2147](https://github.com/tomtom-internal/maps-sdk-js/issues/2147))
|
|
1423
|
+
* **map:** let custom place icons offset from their coordinate ([#2123](https://github.com/tomtom-internal/maps-sdk-js/issues/2123))
|
|
1424
|
+
* **routing:** phase 3 — land the response data v3 already returns ([#2077](https://github.com/tomtom-internal/maps-sdk-js/issues/2077))
|
|
1425
|
+
* **service:** support request cancellation via AbortSignal ([#2136](https://github.com/tomtom-internal/maps-sdk-js/issues/2136))
|
|
1426
|
+
* **skills:** add an opt-in skill that reports SDK friction to GitHub ([#2124](https://github.com/tomtom-internal/maps-sdk-js/issues/2124))
|
|
1487
1427
|
|
|
1488
1428
|
|
|
1489
1429
|
### Bug Fixes
|
|
1490
1430
|
|
|
1491
|
-
* place-customization crash when using custom icons ([#2134](https://github.com/tomtom-internal/maps-sdk-js/issues/2134))
|
|
1431
|
+
* place-customization crash when using custom icons ([#2134](https://github.com/tomtom-internal/maps-sdk-js/issues/2134))
|
|
1492
1432
|
|
|
1493
1433
|
## [0.53.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.52.0...v0.53.0) (2026-09-14)
|
|
1494
1434
|
|
|
@@ -1500,16 +1440,16 @@
|
|
|
1500
1440
|
|
|
1501
1441
|
### Features
|
|
1502
1442
|
|
|
1503
|
-
* **map:** add more dark theme styling ([#2108](https://github.com/tomtom-internal/maps-sdk-js/issues/2108))
|
|
1504
|
-
* **map:** styling GA phase 0 - resetState, awaited lifecycle, custom themes ([#2088](https://github.com/tomtom-internal/maps-sdk-js/issues/2088))
|
|
1505
|
-
* **services:** add routing request parameters the API accepts ([#2066](https://github.com/tomtom-internal/maps-sdk-js/issues/2066))
|
|
1443
|
+
* **map:** add more dark theme styling ([#2108](https://github.com/tomtom-internal/maps-sdk-js/issues/2108))
|
|
1444
|
+
* **map:** styling GA phase 0 - resetState, awaited lifecycle, custom themes ([#2088](https://github.com/tomtom-internal/maps-sdk-js/issues/2088))
|
|
1445
|
+
* **services:** add routing request parameters the API accepts ([#2066](https://github.com/tomtom-internal/maps-sdk-js/issues/2066))
|
|
1506
1446
|
|
|
1507
1447
|
|
|
1508
1448
|
### Bug Fixes
|
|
1509
1449
|
|
|
1510
|
-
* **examples:** pin the demos-proxy LLM base URL to the /v1 surface ([#2127](https://github.com/tomtom-internal/maps-sdk-js/issues/2127))
|
|
1511
|
-
* **map:** keep the map language across a clean style switch ([#2121](https://github.com/tomtom-internal/maps-sdk-js/issues/2121))
|
|
1512
|
-
* **skills:** correct four wrong APIs in the consumer skill docs ([#2116](https://github.com/tomtom-internal/maps-sdk-js/issues/2116))
|
|
1450
|
+
* **examples:** pin the demos-proxy LLM base URL to the /v1 surface ([#2127](https://github.com/tomtom-internal/maps-sdk-js/issues/2127))
|
|
1451
|
+
* **map:** keep the map language across a clean style switch ([#2121](https://github.com/tomtom-internal/maps-sdk-js/issues/2121))
|
|
1452
|
+
* **skills:** correct four wrong APIs in the consumer skill docs ([#2116](https://github.com/tomtom-internal/maps-sdk-js/issues/2116))
|
|
1513
1453
|
|
|
1514
1454
|
## [0.52.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.51.5...v0.52.0) (2026-09-09)
|
|
1515
1455
|
|
|
@@ -1524,64 +1464,64 @@
|
|
|
1524
1464
|
|
|
1525
1465
|
### Features
|
|
1526
1466
|
|
|
1527
|
-
* **examples:** claim validation intake example ([#2110](https://github.com/tomtom-internal/maps-sdk-js/issues/2110))
|
|
1528
|
-
* **map:** replace get() with create() on data-owned map modules ([#2058](https://github.com/tomtom-internal/maps-sdk-js/issues/2058))
|
|
1529
|
-
* **map:** scoped module events and per-map shared style modules (lsi-159) ([#2062](https://github.com/tomtom-internal/maps-sdk-js/issues/2062))
|
|
1530
|
-
* migrate rev-geocoding to Orbis v2 ([#2063](https://github.com/tomtom-internal/maps-sdk-js/issues/2063))
|
|
1531
|
-
* **routing:** drop the circle waypoint the API never had ([#2109](https://github.com/tomtom-internal/maps-sdk-js/issues/2109))
|
|
1532
|
-
* **services:** remove routing parameters the API does not support ([#2064](https://github.com/tomtom-internal/maps-sdk-js/issues/2064))
|
|
1467
|
+
* **examples:** claim validation intake example ([#2110](https://github.com/tomtom-internal/maps-sdk-js/issues/2110))
|
|
1468
|
+
* **map:** replace get() with create() on data-owned map modules ([#2058](https://github.com/tomtom-internal/maps-sdk-js/issues/2058))
|
|
1469
|
+
* **map:** scoped module events and per-map shared style modules (lsi-159) ([#2062](https://github.com/tomtom-internal/maps-sdk-js/issues/2062))
|
|
1470
|
+
* migrate rev-geocoding to Orbis v2 ([#2063](https://github.com/tomtom-internal/maps-sdk-js/issues/2063))
|
|
1471
|
+
* **routing:** drop the circle waypoint the API never had ([#2109](https://github.com/tomtom-internal/maps-sdk-js/issues/2109))
|
|
1472
|
+
* **services:** remove routing parameters the API does not support ([#2064](https://github.com/tomtom-internal/maps-sdk-js/issues/2064))
|
|
1533
1473
|
|
|
1534
1474
|
|
|
1535
1475
|
### Bug Fixes
|
|
1536
1476
|
|
|
1537
|
-
* **examples:** stack the searched EV pins above the viewport stations ([#2068](https://github.com/tomtom-internal/maps-sdk-js/issues/2068))
|
|
1538
|
-
* stop partial route updates clobbering config, give BYOD reset a contract ([#2097](https://github.com/tomtom-internal/maps-sdk-js/issues/2097))
|
|
1477
|
+
* **examples:** stack the searched EV pins above the viewport stations ([#2068](https://github.com/tomtom-internal/maps-sdk-js/issues/2068))
|
|
1478
|
+
* stop partial route updates clobbering config, give BYOD reset a contract ([#2097](https://github.com/tomtom-internal/maps-sdk-js/issues/2097))
|
|
1539
1479
|
|
|
1540
1480
|
## [0.51.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.51.4...v0.51.5) (2026-08-25)
|
|
1541
1481
|
|
|
1542
1482
|
|
|
1543
1483
|
### Bug Fixes
|
|
1544
1484
|
|
|
1545
|
-
* **docs:** correct stale APIs, dead links and drifted contributor docs ([#2053](https://github.com/tomtom-internal/maps-sdk-js/issues/2053))
|
|
1485
|
+
* **docs:** correct stale APIs, dead links and drifted contributor docs ([#2053](https://github.com/tomtom-internal/maps-sdk-js/issues/2053))
|
|
1546
1486
|
|
|
1547
1487
|
## [0.51.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.51.3...v0.51.4) (2026-08-24)
|
|
1548
1488
|
|
|
1549
1489
|
|
|
1550
1490
|
### Bug Fixes
|
|
1551
1491
|
|
|
1552
|
-
* **agent-toolkit:** range-check model coordinates and report plugin coverage ([#2048](https://github.com/tomtom-internal/maps-sdk-js/issues/2048))
|
|
1553
|
-
* **agent-toolkit:** range-check the sandbox fitOnMap bbox
|
|
1492
|
+
* **agent-toolkit:** range-check model coordinates and report plugin coverage ([#2048](https://github.com/tomtom-internal/maps-sdk-js/issues/2048))
|
|
1493
|
+
* **agent-toolkit:** range-check the sandbox fitOnMap bbox
|
|
1554
1494
|
|
|
1555
1495
|
## [0.51.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.51.2...v0.51.3) (2026-08-18)
|
|
1556
1496
|
|
|
1557
1497
|
|
|
1558
1498
|
### Features
|
|
1559
1499
|
|
|
1560
|
-
* add BaseMapModule appearance API and upgrade maplibre-gl to v6 ([#2035](https://github.com/tomtom-internal/maps-sdk-js/issues/2035))
|
|
1561
|
-
* attribute map traffic to the product embedding the SDK ([#2028](https://github.com/tomtom-internal/maps-sdk-js/issues/2028))
|
|
1500
|
+
* add BaseMapModule appearance API and upgrade maplibre-gl to v6 ([#2035](https://github.com/tomtom-internal/maps-sdk-js/issues/2035))
|
|
1501
|
+
* attribute map traffic to the product embedding the SDK ([#2028](https://github.com/tomtom-internal/maps-sdk-js/issues/2028))
|
|
1562
1502
|
|
|
1563
1503
|
## [0.51.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.51.1...v0.51.2) (2026-08-05)
|
|
1564
1504
|
|
|
1565
1505
|
|
|
1566
1506
|
### Bug Fixes
|
|
1567
1507
|
|
|
1568
|
-
* include dist files from examples ([#2031](https://github.com/tomtom-internal/maps-sdk-js/issues/2031))
|
|
1508
|
+
* include dist files from examples ([#2031](https://github.com/tomtom-internal/maps-sdk-js/issues/2031))
|
|
1569
1509
|
|
|
1570
1510
|
## [0.51.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.51.0...v0.51.1) (2026-08-04)
|
|
1571
1511
|
|
|
1572
1512
|
|
|
1573
1513
|
### Features
|
|
1574
1514
|
|
|
1575
|
-
* **examples:** move the traffic and site-selection agents to Las Vegas ([#2016](https://github.com/tomtom-internal/maps-sdk-js/issues/2016))
|
|
1576
|
-
* **examples:** record query and response text on AgentSuccess telemetry ([#2017](https://github.com/tomtom-internal/maps-sdk-js/issues/2017))
|
|
1515
|
+
* **examples:** move the traffic and site-selection agents to Las Vegas ([#2016](https://github.com/tomtom-internal/maps-sdk-js/issues/2016))
|
|
1516
|
+
* **examples:** record query and response text on AgentSuccess telemetry ([#2017](https://github.com/tomtom-internal/maps-sdk-js/issues/2017))
|
|
1577
1517
|
|
|
1578
1518
|
|
|
1579
1519
|
### Bug Fixes
|
|
1580
1520
|
|
|
1581
|
-
* **deps:** pin a pnpm release that can still be installed ([#2030](https://github.com/tomtom-internal/maps-sdk-js/issues/2030))
|
|
1582
|
-
* **deps:** upgrade react and react-dom to 19.2.8 ([#2021](https://github.com/tomtom-internal/maps-sdk-js/issues/2021))
|
|
1583
|
-
* geometry search playground empty query and unneeded promise.all ([#2029](https://github.com/tomtom-internal/maps-sdk-js/issues/2029))
|
|
1584
|
-
* location resolver selecting subdivision over parent city ([#2024](https://github.com/tomtom-internal/maps-sdk-js/issues/2024))
|
|
1521
|
+
* **deps:** pin a pnpm release that can still be installed ([#2030](https://github.com/tomtom-internal/maps-sdk-js/issues/2030))
|
|
1522
|
+
* **deps:** upgrade react and react-dom to 19.2.8 ([#2021](https://github.com/tomtom-internal/maps-sdk-js/issues/2021))
|
|
1523
|
+
* geometry search playground empty query and unneeded promise.all ([#2029](https://github.com/tomtom-internal/maps-sdk-js/issues/2029))
|
|
1524
|
+
* location resolver selecting subdivision over parent city ([#2024](https://github.com/tomtom-internal/maps-sdk-js/issues/2024))
|
|
1585
1525
|
|
|
1586
1526
|
## [0.51.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.50.4...v0.51.0) (2026-07-24)
|
|
1587
1527
|
|
|
@@ -1592,60 +1532,60 @@
|
|
|
1592
1532
|
|
|
1593
1533
|
### Features
|
|
1594
1534
|
|
|
1595
|
-
* **map:** improve base map layer groups ([#1966](https://github.com/tomtom-internal/maps-sdk-js/issues/1966))
|
|
1535
|
+
* **map:** improve base map layer groups ([#1966](https://github.com/tomtom-internal/maps-sdk-js/issues/1966))
|
|
1596
1536
|
|
|
1597
1537
|
|
|
1598
1538
|
### Bug Fixes
|
|
1599
1539
|
|
|
1600
|
-
* **agent-toolkit:** surface reverse-geocode no-match as an error ([#1995](https://github.com/tomtom-internal/maps-sdk-js/issues/1995))
|
|
1601
|
-
* chat UX polish, whitespace hex rendering, entry-id collision in toolkit ([#1999](https://github.com/tomtom-internal/maps-sdk-js/issues/1999))
|
|
1602
|
-
* **landmarks-3d:** render POIs on top of 3D landmark meshes ([#2011](https://github.com/tomtom-internal/maps-sdk-js/issues/2011))
|
|
1540
|
+
* **agent-toolkit:** surface reverse-geocode no-match as an error ([#1995](https://github.com/tomtom-internal/maps-sdk-js/issues/1995))
|
|
1541
|
+
* chat UX polish, whitespace hex rendering, entry-id collision in toolkit ([#1999](https://github.com/tomtom-internal/maps-sdk-js/issues/1999))
|
|
1542
|
+
* **landmarks-3d:** render POIs on top of 3D landmark meshes ([#2011](https://github.com/tomtom-internal/maps-sdk-js/issues/2011))
|
|
1603
1543
|
|
|
1604
1544
|
## [0.50.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.50.3...v0.50.4) (2026-07-09)
|
|
1605
1545
|
|
|
1606
1546
|
|
|
1607
1547
|
### Bug Fixes
|
|
1608
1548
|
|
|
1609
|
-
* **map:** guard SourceWithLayers against a removed map ([#1985](https://github.com/tomtom-internal/maps-sdk-js/issues/1985))
|
|
1549
|
+
* **map:** guard SourceWithLayers against a removed map ([#1985](https://github.com/tomtom-internal/maps-sdk-js/issues/1985))
|
|
1610
1550
|
|
|
1611
1551
|
## [0.50.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.50.2...v0.50.3) (2026-07-08)
|
|
1612
1552
|
|
|
1613
1553
|
|
|
1614
1554
|
### Bug Fixes
|
|
1615
1555
|
|
|
1616
|
-
* **examples:** lazy-load App Insights in traffic agent to fix sandpack ([#1982](https://github.com/tomtom-internal/maps-sdk-js/issues/1982))
|
|
1556
|
+
* **examples:** lazy-load App Insights in traffic agent to fix sandpack ([#1982](https://github.com/tomtom-internal/maps-sdk-js/issues/1982))
|
|
1617
1557
|
|
|
1618
1558
|
## [0.50.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.50.1...v0.50.2) (2026-07-07)
|
|
1619
1559
|
|
|
1620
1560
|
|
|
1621
1561
|
### Features
|
|
1622
1562
|
|
|
1623
|
-
* **examples:** add byod district prompts and per-district traffic monitoring ([#1978](https://github.com/tomtom-internal/maps-sdk-js/issues/1978))
|
|
1624
|
-
* **examples:** gate site-selection household behind the experimental flag ([#1979](https://github.com/tomtom-internal/maps-sdk-js/issues/1979))
|
|
1625
|
-
* **examples:** prioritize agent-setup files in map agent Sandpack tabs ([#1961](https://github.com/tomtom-internal/maps-sdk-js/issues/1961))
|
|
1563
|
+
* **examples:** add byod district prompts and per-district traffic monitoring ([#1978](https://github.com/tomtom-internal/maps-sdk-js/issues/1978))
|
|
1564
|
+
* **examples:** gate site-selection household behind the experimental flag ([#1979](https://github.com/tomtom-internal/maps-sdk-js/issues/1979))
|
|
1565
|
+
* **examples:** prioritize agent-setup files in map agent Sandpack tabs ([#1961](https://github.com/tomtom-internal/maps-sdk-js/issues/1961))
|
|
1626
1566
|
|
|
1627
1567
|
|
|
1628
1568
|
### Bug Fixes
|
|
1629
1569
|
|
|
1630
|
-
* **agent-toolkit:** resolve routing waypoints by place id or entry id ([#1974](https://github.com/tomtom-internal/maps-sdk-js/issues/1974))
|
|
1631
|
-
* **agent-toolkit:** ungate scope and cross kind schemas ([#1977](https://github.com/tomtom-internal/maps-sdk-js/issues/1977))
|
|
1632
|
-
* allow for an array of inputs with tools that use the progress bar ([#1975](https://github.com/tomtom-internal/maps-sdk-js/issues/1975))
|
|
1633
|
-
* **examples:** example titles + jam detail panel design fixes ([#1980](https://github.com/tomtom-internal/maps-sdk-js/issues/1980))
|
|
1634
|
-
* **examples:** polish clarify wizard survey UX and hover states ([#1971](https://github.com/tomtom-internal/maps-sdk-js/issues/1971))
|
|
1635
|
-
* **examples:** scroll chat when hovering the resize handle ([#1972](https://github.com/tomtom-internal/maps-sdk-js/issues/1972))
|
|
1636
|
-
* **site-selection:** panel polish + BYOD titles, colour & containment ([#1973](https://github.com/tomtom-internal/maps-sdk-js/issues/1973))
|
|
1570
|
+
* **agent-toolkit:** resolve routing waypoints by place id or entry id ([#1974](https://github.com/tomtom-internal/maps-sdk-js/issues/1974))
|
|
1571
|
+
* **agent-toolkit:** ungate scope and cross kind schemas ([#1977](https://github.com/tomtom-internal/maps-sdk-js/issues/1977))
|
|
1572
|
+
* allow for an array of inputs with tools that use the progress bar ([#1975](https://github.com/tomtom-internal/maps-sdk-js/issues/1975))
|
|
1573
|
+
* **examples:** example titles + jam detail panel design fixes ([#1980](https://github.com/tomtom-internal/maps-sdk-js/issues/1980))
|
|
1574
|
+
* **examples:** polish clarify wizard survey UX and hover states ([#1971](https://github.com/tomtom-internal/maps-sdk-js/issues/1971))
|
|
1575
|
+
* **examples:** scroll chat when hovering the resize handle ([#1972](https://github.com/tomtom-internal/maps-sdk-js/issues/1972))
|
|
1576
|
+
* **site-selection:** panel polish + BYOD titles, colour & containment ([#1973](https://github.com/tomtom-internal/maps-sdk-js/issues/1973))
|
|
1637
1577
|
|
|
1638
1578
|
|
|
1639
1579
|
### Performance Improvements
|
|
1640
1580
|
|
|
1641
|
-
* move scenario-tests to main pushes ([#1968](https://github.com/tomtom-internal/maps-sdk-js/issues/1968))
|
|
1581
|
+
* move scenario-tests to main pushes ([#1968](https://github.com/tomtom-internal/maps-sdk-js/issues/1968))
|
|
1642
1582
|
|
|
1643
1583
|
## [0.50.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.50.0...v0.50.1) (2026-07-03)
|
|
1644
1584
|
|
|
1645
1585
|
|
|
1646
1586
|
### Bug Fixes
|
|
1647
1587
|
|
|
1648
|
-
* **agent-toolkit:** unblock npm publishing of the plugin ([#1962](https://github.com/tomtom-internal/maps-sdk-js/issues/1962))
|
|
1588
|
+
* **agent-toolkit:** unblock npm publishing of the plugin ([#1962](https://github.com/tomtom-internal/maps-sdk-js/issues/1962))
|
|
1649
1589
|
|
|
1650
1590
|
## [0.50.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.49.1...v0.50.0) (2026-07-03)
|
|
1651
1591
|
|
|
@@ -1656,51 +1596,51 @@
|
|
|
1656
1596
|
|
|
1657
1597
|
### Features
|
|
1658
1598
|
|
|
1659
|
-
* agent eval integration ([#1873](https://github.com/tomtom-internal/maps-sdk-js/issues/1873))
|
|
1660
|
-
* **agent-eval:** llm judge with grounding veto and per-agent token monitoring ([#1912](https://github.com/tomtom-internal/maps-sdk-js/issues/1912))
|
|
1661
|
-
* **examples:** agent telemetry and Azure Monitor observability dashboard ([#1936](https://github.com/tomtom-internal/maps-sdk-js/issues/1936))
|
|
1662
|
-
* **examples:** berlin-based starter prompts ([#1946](https://github.com/tomtom-internal/maps-sdk-js/issues/1946))
|
|
1663
|
-
* **examples:** make site-selection agent state-driven + BYOD-capable ([#1932](https://github.com/tomtom-internal/maps-sdk-js/issues/1932))
|
|
1664
|
-
* **map:** expand geometry line config ([#1916](https://github.com/tomtom-internal/maps-sdk-js/issues/1916))
|
|
1665
|
-
* **map:** granular fill/line beforeLayerConfig + geometry-config-playground ([#1952](https://github.com/tomtom-internal/maps-sdk-js/issues/1952))
|
|
1666
|
-
* **site-selection:** align with latest ux designs ([#1950](https://github.com/tomtom-internal/maps-sdk-js/issues/1950))
|
|
1667
|
-
* **site-selection:** let the LLM name the BYOD label field from the schema ([#1958](https://github.com/tomtom-internal/maps-sdk-js/issues/1958))
|
|
1668
|
-
* **site-selection:** polish widget + map visuals to latest ux designs ([#1959](https://github.com/tomtom-internal/maps-sdk-js/issues/1959))
|
|
1599
|
+
* agent eval integration ([#1873](https://github.com/tomtom-internal/maps-sdk-js/issues/1873))
|
|
1600
|
+
* **agent-eval:** llm judge with grounding veto and per-agent token monitoring ([#1912](https://github.com/tomtom-internal/maps-sdk-js/issues/1912))
|
|
1601
|
+
* **examples:** agent telemetry and Azure Monitor observability dashboard ([#1936](https://github.com/tomtom-internal/maps-sdk-js/issues/1936))
|
|
1602
|
+
* **examples:** berlin-based starter prompts ([#1946](https://github.com/tomtom-internal/maps-sdk-js/issues/1946))
|
|
1603
|
+
* **examples:** make site-selection agent state-driven + BYOD-capable ([#1932](https://github.com/tomtom-internal/maps-sdk-js/issues/1932))
|
|
1604
|
+
* **map:** expand geometry line config ([#1916](https://github.com/tomtom-internal/maps-sdk-js/issues/1916))
|
|
1605
|
+
* **map:** granular fill/line beforeLayerConfig + geometry-config-playground ([#1952](https://github.com/tomtom-internal/maps-sdk-js/issues/1952))
|
|
1606
|
+
* **site-selection:** align with latest ux designs ([#1950](https://github.com/tomtom-internal/maps-sdk-js/issues/1950))
|
|
1607
|
+
* **site-selection:** let the LLM name the BYOD label field from the schema ([#1958](https://github.com/tomtom-internal/maps-sdk-js/issues/1958))
|
|
1608
|
+
* **site-selection:** polish widget + map visuals to latest ux designs ([#1959](https://github.com/tomtom-internal/maps-sdk-js/issues/1959))
|
|
1669
1609
|
|
|
1670
1610
|
|
|
1671
1611
|
### Bug Fixes
|
|
1672
1612
|
|
|
1673
|
-
* **agent-toolkit:** accept places entry ids in where.placeIds ([#1935](https://github.com/tomtom-internal/maps-sdk-js/issues/1935))
|
|
1674
|
-
* **agent-toolkit:** guard setMapStandardStyle against accidental style changes ([#1951](https://github.com/tomtom-internal/maps-sdk-js/issues/1951))
|
|
1675
|
-
* **agent-toolkit:** prefer dedicated tools over the MapLibre escape hatch ([#1954](https://github.com/tomtom-internal/maps-sdk-js/issues/1954))
|
|
1676
|
-
* **agent-toolkit:** validate processData places and trace derived ids ([#1949](https://github.com/tomtom-internal/maps-sdk-js/issues/1949))
|
|
1677
|
-
* **examples:** align agent chat UI across example apps ([#1930](https://github.com/tomtom-internal/maps-sdk-js/issues/1930))
|
|
1678
|
-
* **examples:** make agent telemetry optional in local dev ([#1960](https://github.com/tomtom-internal/maps-sdk-js/issues/1960))
|
|
1679
|
-
* **examples:** toolCall Figma polish + route corridor colors ([#1947](https://github.com/tomtom-internal/maps-sdk-js/issues/1947))
|
|
1680
|
-
* **landmarks-3d:** send session credentials so tiles load behind a proxy ([#1943](https://github.com/tomtom-internal/maps-sdk-js/issues/1943))
|
|
1681
|
-
* **site-selection:** render all parking points, add discoverPlaces ([#1948](https://github.com/tomtom-internal/maps-sdk-js/issues/1948))
|
|
1613
|
+
* **agent-toolkit:** accept places entry ids in where.placeIds ([#1935](https://github.com/tomtom-internal/maps-sdk-js/issues/1935))
|
|
1614
|
+
* **agent-toolkit:** guard setMapStandardStyle against accidental style changes ([#1951](https://github.com/tomtom-internal/maps-sdk-js/issues/1951))
|
|
1615
|
+
* **agent-toolkit:** prefer dedicated tools over the MapLibre escape hatch ([#1954](https://github.com/tomtom-internal/maps-sdk-js/issues/1954))
|
|
1616
|
+
* **agent-toolkit:** validate processData places and trace derived ids ([#1949](https://github.com/tomtom-internal/maps-sdk-js/issues/1949))
|
|
1617
|
+
* **examples:** align agent chat UI across example apps ([#1930](https://github.com/tomtom-internal/maps-sdk-js/issues/1930))
|
|
1618
|
+
* **examples:** make agent telemetry optional in local dev ([#1960](https://github.com/tomtom-internal/maps-sdk-js/issues/1960))
|
|
1619
|
+
* **examples:** toolCall Figma polish + route corridor colors ([#1947](https://github.com/tomtom-internal/maps-sdk-js/issues/1947))
|
|
1620
|
+
* **landmarks-3d:** send session credentials so tiles load behind a proxy ([#1943](https://github.com/tomtom-internal/maps-sdk-js/issues/1943))
|
|
1621
|
+
* **site-selection:** render all parking points, add discoverPlaces ([#1948](https://github.com/tomtom-internal/maps-sdk-js/issues/1948))
|
|
1682
1622
|
|
|
1683
1623
|
## [0.49.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.49.0...v0.49.1) (2026-06-30)
|
|
1684
1624
|
|
|
1685
1625
|
|
|
1686
1626
|
### Features
|
|
1687
1627
|
|
|
1688
|
-
* **agent-toolkit:** expose sandbox data-tool inputs as per-entry records only ([#1890](https://github.com/tomtom-internal/maps-sdk-js/issues/1890))
|
|
1689
|
-
* **examples:** align chat agent UI with the traffic agent Figma design ([#1911](https://github.com/tomtom-internal/maps-sdk-js/issues/1911))
|
|
1690
|
-
* **examples:** align traffic agent UI with Figma + playbook tokens ([#1902](https://github.com/tomtom-internal/maps-sdk-js/issues/1902))
|
|
1691
|
-
* **examples:** group tool calls under a 'Used N tools' pill ([#1918](https://github.com/tomtom-internal/maps-sdk-js/issues/1918))
|
|
1692
|
-
* **examples:** polish traffic-agent prose and fix null-driven map errors ([#1927](https://github.com/tomtom-internal/maps-sdk-js/issues/1927))
|
|
1693
|
-
* **examples:** render clarifyIntent as an interactive survey form ([#1919](https://github.com/tomtom-internal/maps-sdk-js/issues/1919))
|
|
1694
|
-
* **examples:** site selection implementation ([#1878](https://github.com/tomtom-internal/maps-sdk-js/issues/1878))
|
|
1695
|
-
* **examples:** unify the agent example UI + clarifyIntent survey wizard ([#1923](https://github.com/tomtom-internal/maps-sdk-js/issues/1923))
|
|
1696
|
-
* **plugins:** add landmarks-3d plugin for Orbis 3D Landmarks ([#1772](https://github.com/tomtom-internal/maps-sdk-js/issues/1772))
|
|
1697
|
-
* **toolkit:** add clarifyIntent tool and add alwaysActive flag to tools ([#1883](https://github.com/tomtom-internal/maps-sdk-js/issues/1883))
|
|
1698
|
-
* **traffic-agent:** watched-area highlight, grouped Event tracker, summary follows focus ([#1914](https://github.com/tomtom-internal/maps-sdk-js/issues/1914))
|
|
1628
|
+
* **agent-toolkit:** expose sandbox data-tool inputs as per-entry records only ([#1890](https://github.com/tomtom-internal/maps-sdk-js/issues/1890))
|
|
1629
|
+
* **examples:** align chat agent UI with the traffic agent Figma design ([#1911](https://github.com/tomtom-internal/maps-sdk-js/issues/1911))
|
|
1630
|
+
* **examples:** align traffic agent UI with Figma + playbook tokens ([#1902](https://github.com/tomtom-internal/maps-sdk-js/issues/1902))
|
|
1631
|
+
* **examples:** group tool calls under a 'Used N tools' pill ([#1918](https://github.com/tomtom-internal/maps-sdk-js/issues/1918))
|
|
1632
|
+
* **examples:** polish traffic-agent prose and fix null-driven map errors ([#1927](https://github.com/tomtom-internal/maps-sdk-js/issues/1927))
|
|
1633
|
+
* **examples:** render clarifyIntent as an interactive survey form ([#1919](https://github.com/tomtom-internal/maps-sdk-js/issues/1919))
|
|
1634
|
+
* **examples:** site selection implementation ([#1878](https://github.com/tomtom-internal/maps-sdk-js/issues/1878))
|
|
1635
|
+
* **examples:** unify the agent example UI + clarifyIntent survey wizard ([#1923](https://github.com/tomtom-internal/maps-sdk-js/issues/1923))
|
|
1636
|
+
* **plugins:** add landmarks-3d plugin for Orbis 3D Landmarks ([#1772](https://github.com/tomtom-internal/maps-sdk-js/issues/1772))
|
|
1637
|
+
* **toolkit:** add clarifyIntent tool and add alwaysActive flag to tools ([#1883](https://github.com/tomtom-internal/maps-sdk-js/issues/1883))
|
|
1638
|
+
* **traffic-agent:** watched-area highlight, grouped Event tracker, summary follows focus ([#1914](https://github.com/tomtom-internal/maps-sdk-js/issues/1914))
|
|
1699
1639
|
|
|
1700
1640
|
|
|
1701
1641
|
### Bug Fixes
|
|
1702
1642
|
|
|
1703
|
-
* **agent-toolkit:** register an empty entry for zero-incident results ([#1924](https://github.com/tomtom-internal/maps-sdk-js/issues/1924))
|
|
1643
|
+
* **agent-toolkit:** register an empty entry for zero-incident results ([#1924](https://github.com/tomtom-internal/maps-sdk-js/issues/1924))
|
|
1704
1644
|
|
|
1705
1645
|
## [0.49.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.48.3...v0.49.0) (2026-06-24)
|
|
1706
1646
|
|
|
@@ -1713,66 +1653,66 @@
|
|
|
1713
1653
|
|
|
1714
1654
|
### Features
|
|
1715
1655
|
|
|
1716
|
-
* agent-eval framework Initial MVP baseline ([#1842](https://github.com/tomtom-internal/maps-sdk-js/issues/1842))
|
|
1717
|
-
* **agent-toolkit:** `resolvedAreas` — surface where every query resolved ([#1863](https://github.com/tomtom-internal/maps-sdk-js/issues/1863))
|
|
1718
|
-
* **agent-toolkit:** analysis and incidents clustering improvements ([#1851](https://github.com/tomtom-internal/maps-sdk-js/issues/1851))
|
|
1719
|
-
* **agent-toolkit:** app-supplied URL-validator hook for addByodSource ([#1855](https://github.com/tomtom-internal/maps-sdk-js/issues/1855))
|
|
1720
|
-
* **agent-toolkit:** fold incident monitoring into getTrafficIncidents ([#1847](https://github.com/tomtom-internal/maps-sdk-js/issues/1847))
|
|
1721
|
-
* **agent-toolkit:** generic trackers on the analyses registry ([#1876](https://github.com/tomtom-internal/maps-sdk-js/issues/1876))
|
|
1722
|
-
* **agent-toolkit:** keep untrusted BYOD free-text out of model context ([#1854](https://github.com/tomtom-internal/maps-sdk-js/issues/1854))
|
|
1723
|
-
* **agent-toolkit:** monitor routes — periodic live-traffic recalculation ([#1869](https://github.com/tomtom-internal/maps-sdk-js/issues/1869))
|
|
1724
|
-
* **agent-toolkit:** sandbox data-tool execution in a browser iframe-worker ([#1857](https://github.com/tomtom-internal/maps-sdk-js/issues/1857))
|
|
1725
|
-
* **agent-toolkit:** split and compact the base system prompt ([#1884](https://github.com/tomtom-internal/maps-sdk-js/issues/1884))
|
|
1726
|
-
* **agent-toolkit:** unify where-resolution ([#1834](https://github.com/tomtom-internal/maps-sdk-js/issues/1834))
|
|
1727
|
-
* **proxy:** bundle proxy config into static-html examples ([#1867](https://github.com/tomtom-internal/maps-sdk-js/issues/1867))
|
|
1728
|
-
* **services:** forward common service params ev availability util service ([#1888](https://github.com/tomtom-internal/maps-sdk-js/issues/1888))
|
|
1729
|
-
* **traffic, map-display:** migrate to Orbis v2 GA ([#1829](https://github.com/tomtom-internal/maps-sdk-js/issues/1829))
|
|
1656
|
+
* agent-eval framework Initial MVP baseline ([#1842](https://github.com/tomtom-internal/maps-sdk-js/issues/1842))
|
|
1657
|
+
* **agent-toolkit:** `resolvedAreas` — surface where every query resolved ([#1863](https://github.com/tomtom-internal/maps-sdk-js/issues/1863))
|
|
1658
|
+
* **agent-toolkit:** analysis and incidents clustering improvements ([#1851](https://github.com/tomtom-internal/maps-sdk-js/issues/1851))
|
|
1659
|
+
* **agent-toolkit:** app-supplied URL-validator hook for addByodSource ([#1855](https://github.com/tomtom-internal/maps-sdk-js/issues/1855))
|
|
1660
|
+
* **agent-toolkit:** fold incident monitoring into getTrafficIncidents ([#1847](https://github.com/tomtom-internal/maps-sdk-js/issues/1847))
|
|
1661
|
+
* **agent-toolkit:** generic trackers on the analyses registry ([#1876](https://github.com/tomtom-internal/maps-sdk-js/issues/1876))
|
|
1662
|
+
* **agent-toolkit:** keep untrusted BYOD free-text out of model context ([#1854](https://github.com/tomtom-internal/maps-sdk-js/issues/1854))
|
|
1663
|
+
* **agent-toolkit:** monitor routes — periodic live-traffic recalculation ([#1869](https://github.com/tomtom-internal/maps-sdk-js/issues/1869))
|
|
1664
|
+
* **agent-toolkit:** sandbox data-tool execution in a browser iframe-worker ([#1857](https://github.com/tomtom-internal/maps-sdk-js/issues/1857))
|
|
1665
|
+
* **agent-toolkit:** split and compact the base system prompt ([#1884](https://github.com/tomtom-internal/maps-sdk-js/issues/1884))
|
|
1666
|
+
* **agent-toolkit:** unify where-resolution ([#1834](https://github.com/tomtom-internal/maps-sdk-js/issues/1834))
|
|
1667
|
+
* **proxy:** bundle proxy config into static-html examples ([#1867](https://github.com/tomtom-internal/maps-sdk-js/issues/1867))
|
|
1668
|
+
* **services:** forward common service params ev availability util service ([#1888](https://github.com/tomtom-internal/maps-sdk-js/issues/1888))
|
|
1669
|
+
* **traffic, map-display:** migrate to Orbis v2 GA ([#1829](https://github.com/tomtom-internal/maps-sdk-js/issues/1829))
|
|
1730
1670
|
|
|
1731
1671
|
|
|
1732
1672
|
### Bug Fixes
|
|
1733
1673
|
|
|
1734
|
-
* **examples:** inject multi-chunk plugin builds correctly for Sandpack ([#1871](https://github.com/tomtom-internal/maps-sdk-js/issues/1871))
|
|
1735
|
-
* **examples:** keep illegal-request rejection rule in traffic agent prompt ([#1891](https://github.com/tomtom-internal/maps-sdk-js/issues/1891))
|
|
1736
|
-
* **examples:** re-enable demo-BFF proxy bootstrap ([#1835](https://github.com/tomtom-internal/maps-sdk-js/issues/1835))
|
|
1737
|
-
* **examples:** unblock CI lint — suppress noUnusedVariables ([#1861](https://github.com/tomtom-internal/maps-sdk-js/issues/1861))
|
|
1738
|
-
* **map:** style-change handlers return an unsubscribe disposer ([#1870](https://github.com/tomtom-internal/maps-sdk-js/issues/1870))
|
|
1739
|
-
* **skill:** trim tomtom-maps-sdk-js description under 1024-char limit ([#1838](https://github.com/tomtom-internal/maps-sdk-js/issues/1838))
|
|
1674
|
+
* **examples:** inject multi-chunk plugin builds correctly for Sandpack ([#1871](https://github.com/tomtom-internal/maps-sdk-js/issues/1871))
|
|
1675
|
+
* **examples:** keep illegal-request rejection rule in traffic agent prompt ([#1891](https://github.com/tomtom-internal/maps-sdk-js/issues/1891))
|
|
1676
|
+
* **examples:** re-enable demo-BFF proxy bootstrap ([#1835](https://github.com/tomtom-internal/maps-sdk-js/issues/1835))
|
|
1677
|
+
* **examples:** unblock CI lint — suppress noUnusedVariables ([#1861](https://github.com/tomtom-internal/maps-sdk-js/issues/1861))
|
|
1678
|
+
* **map:** style-change handlers return an unsubscribe disposer ([#1870](https://github.com/tomtom-internal/maps-sdk-js/issues/1870))
|
|
1679
|
+
* **skill:** trim tomtom-maps-sdk-js description under 1024-char limit ([#1838](https://github.com/tomtom-internal/maps-sdk-js/issues/1838))
|
|
1740
1680
|
|
|
1741
1681
|
|
|
1742
1682
|
### Reverts
|
|
1743
1683
|
|
|
1744
|
-
* feat(traffic, map-display)!: migrate to Orbis v2 GA ([#1829](https://github.com/tomtom-internal/maps-sdk-js/issues/1829)) ([#1880](https://github.com/tomtom-internal/maps-sdk-js/issues/1880))
|
|
1684
|
+
* feat(traffic, map-display)!: migrate to Orbis v2 GA ([#1829](https://github.com/tomtom-internal/maps-sdk-js/issues/1829)) ([#1880](https://github.com/tomtom-internal/maps-sdk-js/issues/1880))
|
|
1745
1685
|
|
|
1746
1686
|
|
|
1747
1687
|
### Code Refactoring
|
|
1748
1688
|
|
|
1749
|
-
* **agent-toolkit:** consolidate per-kind recall tools into recallState ([#1868](https://github.com/tomtom-internal/maps-sdk-js/issues/1868))
|
|
1689
|
+
* **agent-toolkit:** consolidate per-kind recall tools into recallState ([#1868](https://github.com/tomtom-internal/maps-sdk-js/issues/1868))
|
|
1750
1690
|
|
|
1751
1691
|
## [0.48.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.48.2...v0.48.3) (2026-06-10)
|
|
1752
1692
|
|
|
1753
1693
|
|
|
1754
1694
|
### Features
|
|
1755
1695
|
|
|
1756
|
-
* **routing:** migrate routing service to OrbisV3 API ([#1784](https://github.com/tomtom-internal/maps-sdk-js/issues/1784))
|
|
1696
|
+
* **routing:** migrate routing service to OrbisV3 API ([#1784](https://github.com/tomtom-internal/maps-sdk-js/issues/1784))
|
|
1757
1697
|
|
|
1758
1698
|
## [0.48.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.48.1...v0.48.2) (2026-06-09)
|
|
1759
1699
|
|
|
1760
1700
|
|
|
1761
1701
|
### Bug Fixes
|
|
1762
1702
|
|
|
1763
|
-
* remove sdk dep in examples ([#1832](https://github.com/tomtom-internal/maps-sdk-js/issues/1832))
|
|
1703
|
+
* remove sdk dep in examples ([#1832](https://github.com/tomtom-internal/maps-sdk-js/issues/1832))
|
|
1764
1704
|
|
|
1765
1705
|
## [0.48.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.48.0...v0.48.1) (2026-06-09)
|
|
1766
1706
|
|
|
1767
1707
|
|
|
1768
1708
|
### Features
|
|
1769
1709
|
|
|
1770
|
-
* **agent-toolkit:** deterministic DBSCAN clustering tool
|
|
1710
|
+
* **agent-toolkit:** deterministic DBSCAN clustering tool
|
|
1771
1711
|
|
|
1772
1712
|
|
|
1773
1713
|
### Bug Fixes
|
|
1774
1714
|
|
|
1775
|
-
* pin assistant-ui ([#1828](https://github.com/tomtom-internal/maps-sdk-js/issues/1828))
|
|
1715
|
+
* pin assistant-ui ([#1828](https://github.com/tomtom-internal/maps-sdk-js/issues/1828))
|
|
1776
1716
|
|
|
1777
1717
|
## [0.48.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.9...v0.48.0) (2026-06-05)
|
|
1778
1718
|
|
|
@@ -1784,119 +1724,119 @@
|
|
|
1784
1724
|
|
|
1785
1725
|
### Features
|
|
1786
1726
|
|
|
1787
|
-
* **agent-toolkit:** byod improvements ([#1816](https://github.com/tomtom-internal/maps-sdk-js/issues/1816))
|
|
1788
|
-
* **ci:** wire up Docs Portal PR preview environments ([#1812](https://github.com/tomtom-internal/maps-sdk-js/issues/1812))
|
|
1789
|
-
* **events:** scope + dedupe allEventFeatures, typed substitution
|
|
1790
|
-
* sdk proxy mode for demo-BFF ([#1810](https://github.com/tomtom-internal/maps-sdk-js/issues/1810))
|
|
1727
|
+
* **agent-toolkit:** byod improvements ([#1816](https://github.com/tomtom-internal/maps-sdk-js/issues/1816))
|
|
1728
|
+
* **ci:** wire up Docs Portal PR preview environments ([#1812](https://github.com/tomtom-internal/maps-sdk-js/issues/1812))
|
|
1729
|
+
* **events:** scope + dedupe allEventFeatures, typed substitution
|
|
1730
|
+
* sdk proxy mode for demo-BFF ([#1810](https://github.com/tomtom-internal/maps-sdk-js/issues/1810))
|
|
1791
1731
|
|
|
1792
1732
|
|
|
1793
1733
|
### Bug Fixes
|
|
1794
1734
|
|
|
1795
|
-
* **agent-toolkit:** add missing [@group](https://github.com/group) tags on exported types ([#1803](https://github.com/tomtom-internal/maps-sdk-js/issues/1803))
|
|
1796
|
-
* **agent-toolkit:** public docs cleanup — links, system-prompt guidance, internal refs ([#1804](https://github.com/tomtom-internal/maps-sdk-js/issues/1804))
|
|
1797
|
-
* proxy mode sdk ([#1815](https://github.com/tomtom-internal/maps-sdk-js/issues/1815))
|
|
1735
|
+
* **agent-toolkit:** add missing [@group](https://github.com/group) tags on exported types ([#1803](https://github.com/tomtom-internal/maps-sdk-js/issues/1803))
|
|
1736
|
+
* **agent-toolkit:** public docs cleanup — links, system-prompt guidance, internal refs ([#1804](https://github.com/tomtom-internal/maps-sdk-js/issues/1804))
|
|
1737
|
+
* proxy mode sdk ([#1815](https://github.com/tomtom-internal/maps-sdk-js/issues/1815))
|
|
1798
1738
|
|
|
1799
1739
|
## [0.47.9](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.8...v0.47.9) (2026-05-22)
|
|
1800
1740
|
|
|
1801
1741
|
|
|
1802
1742
|
### Bug Fixes
|
|
1803
1743
|
|
|
1804
|
-
* d2 diagram in documentation
|
|
1805
|
-
* d2 diagram in documentation
|
|
1744
|
+
* d2 diagram in documentation
|
|
1745
|
+
* d2 diagram in documentation
|
|
1806
1746
|
|
|
1807
1747
|
## [0.47.8](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.7...v0.47.8) (2026-05-22)
|
|
1808
1748
|
|
|
1809
1749
|
|
|
1810
1750
|
### Features
|
|
1811
1751
|
|
|
1812
|
-
* **agent-toolkit:** expand plugin documentation ([#1793](https://github.com/tomtom-internal/maps-sdk-js/issues/1793))
|
|
1752
|
+
* **agent-toolkit:** expand plugin documentation ([#1793](https://github.com/tomtom-internal/maps-sdk-js/issues/1793))
|
|
1813
1753
|
|
|
1814
1754
|
|
|
1815
1755
|
### Bug Fixes
|
|
1816
1756
|
|
|
1817
|
-
* **agent-toolkit:** split scenario tests into sanity / full suites ([#1798](https://github.com/tomtom-internal/maps-sdk-js/issues/1798))
|
|
1818
|
-
* **agent-toolkit:** stabilize locate-place scenario prompt ([#1795](https://github.com/tomtom-internal/maps-sdk-js/issues/1795))
|
|
1757
|
+
* **agent-toolkit:** split scenario tests into sanity / full suites ([#1798](https://github.com/tomtom-internal/maps-sdk-js/issues/1798))
|
|
1758
|
+
* **agent-toolkit:** stabilize locate-place scenario prompt ([#1795](https://github.com/tomtom-internal/maps-sdk-js/issues/1795))
|
|
1819
1759
|
|
|
1820
1760
|
## [0.47.7](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.6...v0.47.7) (2026-05-21)
|
|
1821
1761
|
|
|
1822
1762
|
|
|
1823
1763
|
### Features
|
|
1824
1764
|
|
|
1825
|
-
* code generation tools with updated docs
|
|
1826
|
-
* upgrade SDK agent toolkit and fix release process ([#1782](https://github.com/tomtom-internal/maps-sdk-js/issues/1782))
|
|
1765
|
+
* code generation tools with updated docs
|
|
1766
|
+
* upgrade SDK agent toolkit and fix release process ([#1782](https://github.com/tomtom-internal/maps-sdk-js/issues/1782))
|
|
1827
1767
|
|
|
1828
1768
|
|
|
1829
1769
|
### Bug Fixes
|
|
1830
1770
|
|
|
1831
|
-
* **agent-toolkit:** point README docs link at overview page
|
|
1832
|
-
* engineering guideline updates for agent toolkit
|
|
1833
|
-
* tool doc updates for agent toolkit
|
|
1771
|
+
* **agent-toolkit:** point README docs link at overview page
|
|
1772
|
+
* engineering guideline updates for agent toolkit
|
|
1773
|
+
* tool doc updates for agent toolkit
|
|
1834
1774
|
|
|
1835
1775
|
## [0.47.6](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.5...v0.47.6) (2026-05-15)
|
|
1836
1776
|
|
|
1837
1777
|
|
|
1838
1778
|
### Features
|
|
1839
1779
|
|
|
1840
|
-
* exploration search with area tags ([#1763](https://github.com/tomtom-internal/maps-sdk-js/issues/1763))
|
|
1841
|
-
* new custom geojson module in SDK ([#1771](https://github.com/tomtom-internal/maps-sdk-js/issues/1771))
|
|
1780
|
+
* exploration search with area tags ([#1763](https://github.com/tomtom-internal/maps-sdk-js/issues/1763))
|
|
1781
|
+
* new custom geojson module in SDK ([#1771](https://github.com/tomtom-internal/maps-sdk-js/issues/1771))
|
|
1842
1782
|
|
|
1843
1783
|
|
|
1844
1784
|
### Bug Fixes
|
|
1845
1785
|
|
|
1846
|
-
* agent toolkit place prompt fixes and clearing unnecessary modules ([#1773](https://github.com/tomtom-internal/maps-sdk-js/issues/1773))
|
|
1786
|
+
* agent toolkit place prompt fixes and clearing unnecessary modules ([#1773](https://github.com/tomtom-internal/maps-sdk-js/issues/1773))
|
|
1847
1787
|
|
|
1848
1788
|
## [0.47.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.4...v0.47.5) (2026-05-13)
|
|
1849
1789
|
|
|
1850
1790
|
|
|
1851
1791
|
### Features
|
|
1852
1792
|
|
|
1853
|
-
* migrate all map chat agent demos to tailwind ([#1764](https://github.com/tomtom-internal/maps-sdk-js/issues/1764))
|
|
1793
|
+
* migrate all map chat agent demos to tailwind ([#1764](https://github.com/tomtom-internal/maps-sdk-js/issues/1764))
|
|
1854
1794
|
|
|
1855
1795
|
|
|
1856
1796
|
### Bug Fixes
|
|
1857
1797
|
|
|
1858
|
-
* restore incident module on style change
|
|
1859
|
-
* updated a couple of schemas and bumped zod dependencies to ^4.4.3 ([#1757](https://github.com/tomtom-internal/maps-sdk-js/issues/1757))
|
|
1798
|
+
* restore incident module on style change
|
|
1799
|
+
* updated a couple of schemas and bumped zod dependencies to ^4.4.3 ([#1757](https://github.com/tomtom-internal/maps-sdk-js/issues/1757))
|
|
1860
1800
|
|
|
1861
1801
|
## [0.47.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.3...v0.47.4) (2026-05-12)
|
|
1862
1802
|
|
|
1863
1803
|
|
|
1864
1804
|
### Features
|
|
1865
1805
|
|
|
1866
|
-
* agent evaluation testing [LSI-285] ([#1747](https://github.com/tomtom-internal/maps-sdk-js/issues/1747))
|
|
1806
|
+
* agent evaluation testing [LSI-285] ([#1747](https://github.com/tomtom-internal/maps-sdk-js/issues/1747))
|
|
1867
1807
|
|
|
1868
1808
|
|
|
1869
1809
|
### Bug Fixes
|
|
1870
1810
|
|
|
1871
|
-
* add missing traffic incidents geojson module into agent coding skills
|
|
1872
|
-
* upgrade and fix deps ([#1762](https://github.com/tomtom-internal/maps-sdk-js/issues/1762))
|
|
1811
|
+
* add missing traffic incidents geojson module into agent coding skills
|
|
1812
|
+
* upgrade and fix deps ([#1762](https://github.com/tomtom-internal/maps-sdk-js/issues/1762))
|
|
1873
1813
|
|
|
1874
1814
|
## [0.47.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.2...v0.47.3) (2026-05-11)
|
|
1875
1815
|
|
|
1876
1816
|
|
|
1877
1817
|
### Bug Fixes
|
|
1878
1818
|
|
|
1879
|
-
* example thumbnail reference
|
|
1819
|
+
* example thumbnail reference
|
|
1880
1820
|
|
|
1881
1821
|
## [0.47.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.1...v0.47.2) (2026-05-11)
|
|
1882
1822
|
|
|
1883
1823
|
|
|
1884
1824
|
### Bug Fixes
|
|
1885
1825
|
|
|
1886
|
-
* example thumbnail reference
|
|
1826
|
+
* example thumbnail reference
|
|
1887
1827
|
|
|
1888
1828
|
## [0.47.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.0...v0.47.1) (2026-05-11)
|
|
1889
1829
|
|
|
1890
1830
|
|
|
1891
1831
|
### Features
|
|
1892
1832
|
|
|
1893
|
-
* **agent-toolkit:** live traffic agent
|
|
1894
|
-
* **map:** TrafficIncidentOverlayModule
|
|
1833
|
+
* **agent-toolkit:** live traffic agent
|
|
1834
|
+
* **map:** TrafficIncidentOverlayModule
|
|
1895
1835
|
|
|
1896
1836
|
|
|
1897
1837
|
### Bug Fixes
|
|
1898
1838
|
|
|
1899
|
-
* **traffic-incident-details:** drop non-filterable iconCategory codes
|
|
1839
|
+
* **traffic-incident-details:** drop non-filterable iconCategory codes
|
|
1900
1840
|
|
|
1901
1841
|
## [0.47.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.13...v0.47.0) (2026-05-01)
|
|
1902
1842
|
|
|
@@ -1907,184 +1847,184 @@
|
|
|
1907
1847
|
|
|
1908
1848
|
### Features
|
|
1909
1849
|
|
|
1910
|
-
* add managePlaces tool and centralize places display state
|
|
1911
|
-
* add model name to header
|
|
1912
|
-
* expand deployment workflow to support multiple SDK demos
|
|
1913
|
-
* improve api reference types, adjust syntax for agent toolkit plugin, and improve agents.md
|
|
1914
|
-
* improvements in places module themes
|
|
1850
|
+
* add managePlaces tool and centralize places display state
|
|
1851
|
+
* add model name to header
|
|
1852
|
+
* expand deployment workflow to support multiple SDK demos
|
|
1853
|
+
* improve api reference types, adjust syntax for agent toolkit plugin, and improve agents.md
|
|
1854
|
+
* improvements in places module themes
|
|
1915
1855
|
|
|
1916
1856
|
|
|
1917
1857
|
### Bug Fixes
|
|
1918
1858
|
|
|
1919
|
-
* dynamic import ApplicationInsights to avoid adblocker crash ([#1709](https://github.com/tomtom-internal/maps-sdk-js/issues/1709))
|
|
1920
|
-
* escape $web variable reference in upload step echo
|
|
1921
|
-
* LSI-259 Fix tests that were failing because API changed response from 403 to 401 ([#1729](https://github.com/tomtom-internal/maps-sdk-js/issues/1729))
|
|
1922
|
-
* LSI-265 Fix branch name sanitation in 'Publish Examples' step ([#1732](https://github.com/tomtom-internal/maps-sdk-js/issues/1732))
|
|
1859
|
+
* dynamic import ApplicationInsights to avoid adblocker crash ([#1709](https://github.com/tomtom-internal/maps-sdk-js/issues/1709))
|
|
1860
|
+
* escape $web variable reference in upload step echo
|
|
1861
|
+
* LSI-259 Fix tests that were failing because API changed response from 403 to 401 ([#1729](https://github.com/tomtom-internal/maps-sdk-js/issues/1729))
|
|
1862
|
+
* LSI-265 Fix branch name sanitation in 'Publish Examples' step ([#1732](https://github.com/tomtom-internal/maps-sdk-js/issues/1732))
|
|
1923
1863
|
|
|
1924
1864
|
## [0.46.13](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.12...v0.46.13) (2026-04-14)
|
|
1925
1865
|
|
|
1926
1866
|
|
|
1927
1867
|
### Features
|
|
1928
1868
|
|
|
1929
|
-
* upgrade maplibre dependency
|
|
1869
|
+
* upgrade maplibre dependency
|
|
1930
1870
|
|
|
1931
1871
|
|
|
1932
1872
|
### Bug Fixes
|
|
1933
1873
|
|
|
1934
|
-
* exporting map agent from plugins so it's included in API reference
|
|
1935
|
-
* rename map-agent plugin to agent-toolkit
|
|
1936
|
-
* update agent toolkit link in readme
|
|
1937
|
-
* update mobile breakpoint for chat agent demos ([#1697](https://github.com/tomtom-internal/maps-sdk-js/issues/1697))
|
|
1874
|
+
* exporting map agent from plugins so it's included in API reference
|
|
1875
|
+
* rename map-agent plugin to agent-toolkit
|
|
1876
|
+
* update agent toolkit link in readme
|
|
1877
|
+
* update mobile breakpoint for chat agent demos ([#1697](https://github.com/tomtom-internal/maps-sdk-js/issues/1697))
|
|
1938
1878
|
|
|
1939
1879
|
## [0.46.12](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.11...v0.46.12) (2026-04-10)
|
|
1940
1880
|
|
|
1941
1881
|
|
|
1942
1882
|
### Bug Fixes
|
|
1943
1883
|
|
|
1944
|
-
* missing example images
|
|
1884
|
+
* missing example images
|
|
1945
1885
|
|
|
1946
1886
|
## [0.46.11](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.10...v0.46.11) (2026-04-10)
|
|
1947
1887
|
|
|
1948
1888
|
|
|
1949
1889
|
### Bug Fixes
|
|
1950
1890
|
|
|
1951
|
-
* examples type exports
|
|
1891
|
+
* examples type exports
|
|
1952
1892
|
|
|
1953
1893
|
## [0.46.10](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.9...v0.46.10) (2026-04-10)
|
|
1954
1894
|
|
|
1955
1895
|
|
|
1956
1896
|
### Features
|
|
1957
1897
|
|
|
1958
|
-
* add traffic area analytics tools to map agent
|
|
1959
|
-
* enable ai-agent plugin for release
|
|
1960
|
-
* enhance traffic area analytics with improved filter handling and validation
|
|
1961
|
-
* expand TrafficAreaAnalyticsModule API with tiles mode, filtering, custom styling, and tooltip
|
|
1962
|
-
* improve mobile view for chat
|
|
1963
|
-
* new module events to react to config changes and shown features
|
|
1964
|
-
* parameterize tool registry with unified ToolMetadata and MapAgentTool types
|
|
1965
|
-
* remove canvas area analytics chart from main sdk, ported to example using html elements instead of canvas
|
|
1966
|
-
* traffic area analytics configuration improvements
|
|
1967
|
-
* traffic area analytics configuration improvements
|
|
1898
|
+
* add traffic area analytics tools to map agent
|
|
1899
|
+
* enable ai-agent plugin for release
|
|
1900
|
+
* enhance traffic area analytics with improved filter handling and validation
|
|
1901
|
+
* expand TrafficAreaAnalyticsModule API with tiles mode, filtering, custom styling, and tooltip
|
|
1902
|
+
* improve mobile view for chat
|
|
1903
|
+
* new module events to react to config changes and shown features
|
|
1904
|
+
* parameterize tool registry with unified ToolMetadata and MapAgentTool types
|
|
1905
|
+
* remove canvas area analytics chart from main sdk, ported to example using html elements instead of canvas
|
|
1906
|
+
* traffic area analytics configuration improvements
|
|
1907
|
+
* traffic area analytics configuration improvements
|
|
1968
1908
|
|
|
1969
1909
|
|
|
1970
1910
|
### Bug Fixes
|
|
1971
1911
|
|
|
1972
|
-
* ai plugin docs diagrams
|
|
1973
|
-
* disambiguate traffic tools, add analytics to clearMap, fix restoration race
|
|
1974
|
-
* mobile speech input continuous
|
|
1975
|
-
* serialize dates as ISO strings for safe LLM parsing. Example transport cleanup
|
|
1912
|
+
* ai plugin docs diagrams
|
|
1913
|
+
* disambiguate traffic tools, add analytics to clearMap, fix restoration race
|
|
1914
|
+
* mobile speech input continuous
|
|
1915
|
+
* serialize dates as ISO strings for safe LLM parsing. Example transport cleanup
|
|
1976
1916
|
|
|
1977
1917
|
## [0.46.9](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.8...v0.46.9) (2026-03-30)
|
|
1978
1918
|
|
|
1979
1919
|
|
|
1980
1920
|
### Features
|
|
1981
1921
|
|
|
1982
|
-
* add internal optional metadata header
|
|
1922
|
+
* add internal optional metadata header
|
|
1983
1923
|
|
|
1984
1924
|
## [0.46.8](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.7...v0.46.8) (2026-03-27)
|
|
1985
1925
|
|
|
1986
1926
|
|
|
1987
1927
|
### Features
|
|
1988
1928
|
|
|
1989
|
-
* add traffic area analytics example with configuration and visualization options ([#1632](https://github.com/tomtom-internal/maps-sdk-js/issues/1632))
|
|
1990
|
-
* **ai-eval, map-chat-agent:** extend eval harness and update eval cases
|
|
1991
|
-
* ensure area analytics dates start at least 2 days before the current day
|
|
1992
|
-
* improve circle theme visuals with dynamic POI sizing and unified centered-icon offset logic
|
|
1993
|
-
* **map-agent:** add extension tools and map-data-agent example
|
|
1994
|
-
* **map-agent:** redesign core tool layer
|
|
1995
|
-
* **map-agent:** switch focusOnPlace from geocode to search, add biasPosition
|
|
1996
|
-
* show area analytics hexagons below place labels
|
|
1929
|
+
* add traffic area analytics example with configuration and visualization options ([#1632](https://github.com/tomtom-internal/maps-sdk-js/issues/1632))
|
|
1930
|
+
* **ai-eval, map-chat-agent:** extend eval harness and update eval cases
|
|
1931
|
+
* ensure area analytics dates start at least 2 days before the current day
|
|
1932
|
+
* improve circle theme visuals with dynamic POI sizing and unified centered-icon offset logic
|
|
1933
|
+
* **map-agent:** add extension tools and map-data-agent example
|
|
1934
|
+
* **map-agent:** redesign core tool layer
|
|
1935
|
+
* **map-agent:** switch focusOnPlace from geocode to search, add biasPosition
|
|
1936
|
+
* show area analytics hexagons below place labels
|
|
1997
1937
|
|
|
1998
1938
|
|
|
1999
1939
|
### Bug Fixes
|
|
2000
1940
|
|
|
2001
|
-
* **map-agent:** fix P0/P1/P2 tool bugs and design weaknesses
|
|
2002
|
-
* maplibre version reliability in SDK built examples
|
|
2003
|
-
* poi category codes and mappings, and formatting
|
|
2004
|
-
* traffic area analytics layer id inits
|
|
1941
|
+
* **map-agent:** fix P0/P1/P2 tool bugs and design weaknesses
|
|
1942
|
+
* maplibre version reliability in SDK built examples
|
|
1943
|
+
* poi category codes and mappings, and formatting
|
|
1944
|
+
* traffic area analytics layer id inits
|
|
2005
1945
|
|
|
2006
1946
|
## [0.46.7](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.6...v0.46.7) (2026-03-20)
|
|
2007
1947
|
|
|
2008
1948
|
|
|
2009
1949
|
### Features
|
|
2010
1950
|
|
|
2011
|
-
* add area analytics module with visualization layers and utilities
|
|
2012
|
-
* add color scheme selector and update legend functionality in TrafficAreaAnalyticsModule
|
|
2013
|
-
* add color scheme support for TrafficAreaAnalyticsModule and related components
|
|
2014
|
-
* add integration tests and data for TrafficAreaAnalyticsModule following pr comments
|
|
2015
|
-
* add layer ID properties for explicit access in TrafficAreaAnalyticsModule
|
|
2016
|
-
* add theme propertie to RoutingModule and set-route-theme tool
|
|
2017
|
-
* add traffic area analytics example with city search and hex grid
|
|
2018
|
-
* add TrafficAreaAnalyticsModule with hexgrid and heatmap layers
|
|
2019
|
-
* add TrafficAreaAnalyticsModule with visualization layers
|
|
2020
|
-
* derive outline color from mainColor, update waypoint icons at runtime
|
|
2021
|
-
* remove hexTransform module and simplify analytics display logic
|
|
1951
|
+
* add area analytics module with visualization layers and utilities
|
|
1952
|
+
* add color scheme selector and update legend functionality in TrafficAreaAnalyticsModule
|
|
1953
|
+
* add color scheme support for TrafficAreaAnalyticsModule and related components
|
|
1954
|
+
* add integration tests and data for TrafficAreaAnalyticsModule following pr comments
|
|
1955
|
+
* add layer ID properties for explicit access in TrafficAreaAnalyticsModule
|
|
1956
|
+
* add theme propertie to RoutingModule and set-route-theme tool
|
|
1957
|
+
* add traffic area analytics example with city search and hex grid
|
|
1958
|
+
* add TrafficAreaAnalyticsModule with hexgrid and heatmap layers
|
|
1959
|
+
* add TrafficAreaAnalyticsModule with visualization layers
|
|
1960
|
+
* derive outline color from mainColor, update waypoint icons at runtime
|
|
1961
|
+
* remove hexTransform module and simplify analytics display logic
|
|
2022
1962
|
|
|
2023
1963
|
|
|
2024
1964
|
### Bug Fixes
|
|
2025
1965
|
|
|
2026
|
-
* add type annotation for madridCenter in TrafficAreaAnalyticsModule tests
|
|
2027
|
-
* migrate reachable range service from V3 to V2 API and update docs link
|
|
2028
|
-
* omit tomtom-user-agent header for area analytics requests (CORS)
|
|
2029
|
-
* resolve lint errors and remove non-null assertions
|
|
2030
|
-
* restore .npmrc before creating pull request
|
|
2031
|
-
* wait ForMapIdle race condition
|
|
1966
|
+
* add type annotation for madridCenter in TrafficAreaAnalyticsModule tests
|
|
1967
|
+
* migrate reachable range service from V3 to V2 API and update docs link
|
|
1968
|
+
* omit tomtom-user-agent header for area analytics requests (CORS)
|
|
1969
|
+
* resolve lint errors and remove non-null assertions
|
|
1970
|
+
* restore .npmrc before creating pull request
|
|
1971
|
+
* wait ForMapIdle race condition
|
|
2032
1972
|
|
|
2033
1973
|
## [0.46.6](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.5...v0.46.6) (2026-03-17)
|
|
2034
1974
|
|
|
2035
1975
|
|
|
2036
1976
|
### Bug Fixes
|
|
2037
1977
|
|
|
2038
|
-
* dep and sandpack upgrades
|
|
1978
|
+
* dep and sandpack upgrades
|
|
2039
1979
|
|
|
2040
1980
|
## [0.46.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.4...v0.46.5) (2026-03-17)
|
|
2041
1981
|
|
|
2042
1982
|
|
|
2043
1983
|
### Bug Fixes
|
|
2044
1984
|
|
|
2045
|
-
* add thumbnails for nodejs examples
|
|
1985
|
+
* add thumbnails for nodejs examples
|
|
2046
1986
|
|
|
2047
1987
|
## [0.46.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.3...v0.46.4) (2026-03-17)
|
|
2048
1988
|
|
|
2049
1989
|
|
|
2050
1990
|
### Bug Fixes
|
|
2051
1991
|
|
|
2052
|
-
* sandpack examples relying on Set logic
|
|
1992
|
+
* sandpack examples relying on Set logic
|
|
2053
1993
|
|
|
2054
1994
|
## [0.46.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.2...v0.46.3) (2026-03-17)
|
|
2055
1995
|
|
|
2056
1996
|
|
|
2057
1997
|
### Features
|
|
2058
1998
|
|
|
2059
|
-
* along route search service with examples, docs and minor refactorings
|
|
2060
|
-
* along route search service with examples, docs and minor refactorings
|
|
1999
|
+
* along route search service with examples, docs and minor refactorings
|
|
2000
|
+
* along route search service with examples, docs and minor refactorings
|
|
2061
2001
|
|
|
2062
2002
|
|
|
2063
2003
|
### Bug Fixes
|
|
2064
2004
|
|
|
2065
|
-
* ensure geometry search and along route search cannot accept position params
|
|
2005
|
+
* ensure geometry search and along route search cannot accept position params
|
|
2066
2006
|
|
|
2067
2007
|
## [0.46.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.1...v0.46.2) (2026-03-16)
|
|
2068
2008
|
|
|
2069
2009
|
|
|
2070
2010
|
### Features
|
|
2071
2011
|
|
|
2072
|
-
* add context7 json to help manage ai assisted coding
|
|
2012
|
+
* add context7 json to help manage ai assisted coding
|
|
2073
2013
|
|
|
2074
2014
|
## [0.46.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.0...v0.46.1) (2026-03-13)
|
|
2075
2015
|
|
|
2076
2016
|
|
|
2077
2017
|
### Features
|
|
2078
2018
|
|
|
2079
|
-
* add skills for agents to develop with the SDK
|
|
2080
|
-
* enhance documentation for map agent and setup with new examples and boilerplate
|
|
2081
|
-
* make tool-activation opt-out
|
|
2019
|
+
* add skills for agents to develop with the SDK
|
|
2020
|
+
* enhance documentation for map agent and setup with new examples and boilerplate
|
|
2021
|
+
* make tool-activation opt-out
|
|
2082
2022
|
|
|
2083
2023
|
|
|
2084
2024
|
### Bug Fixes
|
|
2085
2025
|
|
|
2086
|
-
* ensure traffic area analytics report name
|
|
2087
|
-
* poi category codes agent tool reliability with languages
|
|
2026
|
+
* ensure traffic area analytics report name
|
|
2027
|
+
* poi category codes agent tool reliability with languages
|
|
2088
2028
|
|
|
2089
2029
|
## [0.46.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.12...v0.46.0) (2026-03-12)
|
|
2090
2030
|
|
|
@@ -2095,96 +2035,96 @@
|
|
|
2095
2035
|
|
|
2096
2036
|
### Features
|
|
2097
2037
|
|
|
2098
|
-
* improve poi categories relationship with search
|
|
2099
|
-
* traffic area analytics lite service
|
|
2038
|
+
* improve poi categories relationship with search
|
|
2039
|
+
* traffic area analytics lite service
|
|
2100
2040
|
|
|
2101
2041
|
## [0.45.12](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.11...v0.45.12) (2026-03-04)
|
|
2102
2042
|
|
|
2103
2043
|
|
|
2104
2044
|
### Bug Fixes
|
|
2105
2045
|
|
|
2106
|
-
* missing example thumbnail
|
|
2046
|
+
* missing example thumbnail
|
|
2107
2047
|
|
|
2108
2048
|
## [0.45.11](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.10...v0.45.11) (2026-03-03)
|
|
2109
2049
|
|
|
2110
2050
|
|
|
2111
2051
|
### Features
|
|
2112
2052
|
|
|
2113
|
-
* add avoid areas parameter for route calculations
|
|
2114
|
-
* add avoid areas parameter for route calculations
|
|
2115
|
-
* add intent-based classification and selective tooling with tool groups and step scope
|
|
2116
|
-
* improve pois and traffic map feature mappings
|
|
2117
|
-
* improve pois and traffic map feature mappings
|
|
2118
|
-
* multiple agent tool improvements
|
|
2053
|
+
* add avoid areas parameter for route calculations
|
|
2054
|
+
* add avoid areas parameter for route calculations
|
|
2055
|
+
* add intent-based classification and selective tooling with tool groups and step scope
|
|
2056
|
+
* improve pois and traffic map feature mappings
|
|
2057
|
+
* improve pois and traffic map feature mappings
|
|
2058
|
+
* multiple agent tool improvements
|
|
2119
2059
|
|
|
2120
2060
|
|
|
2121
2061
|
### Bug Fixes
|
|
2122
2062
|
|
|
2123
|
-
* clear geometry labels property
|
|
2124
|
-
* geometries label size
|
|
2125
|
-
* remove unused section props
|
|
2126
|
-
* routing module incident events type
|
|
2127
|
-
* switch from geojsonobject to geojson types for correctness
|
|
2063
|
+
* clear geometry labels property
|
|
2064
|
+
* geometries label size
|
|
2065
|
+
* remove unused section props
|
|
2066
|
+
* routing module incident events type
|
|
2067
|
+
* switch from geojsonobject to geojson types for correctness
|
|
2128
2068
|
|
|
2129
2069
|
## [0.45.10](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.9...v0.45.10) (2026-02-26)
|
|
2130
2070
|
|
|
2131
2071
|
|
|
2132
2072
|
### Features
|
|
2133
2073
|
|
|
2134
|
-
* improve traffic details service parameters and documentation
|
|
2074
|
+
* improve traffic details service parameters and documentation
|
|
2135
2075
|
|
|
2136
2076
|
## [0.45.9](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.8...v0.45.9) (2026-02-26)
|
|
2137
2077
|
|
|
2138
2078
|
|
|
2139
2079
|
### Features
|
|
2140
2080
|
|
|
2141
|
-
* improve inverted theme support for reachable ranges, migrate examples to use theme: 'inverted'
|
|
2142
|
-
* incident details service improvements and added agent tools
|
|
2143
|
-
* traffic incident details service
|
|
2081
|
+
* improve inverted theme support for reachable ranges, migrate examples to use theme: 'inverted'
|
|
2082
|
+
* incident details service improvements and added agent tools
|
|
2083
|
+
* traffic incident details service
|
|
2144
2084
|
|
|
2145
2085
|
## [0.45.8](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.7...v0.45.8) (2026-02-24)
|
|
2146
2086
|
|
|
2147
2087
|
|
|
2148
2088
|
### Bug Fixes
|
|
2149
2089
|
|
|
2150
|
-
* ensure reachable ranges is visible on docs portal
|
|
2090
|
+
* ensure reachable ranges is visible on docs portal
|
|
2151
2091
|
|
|
2152
2092
|
## [0.45.7](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.6...v0.45.7) (2026-02-24)
|
|
2153
2093
|
|
|
2154
2094
|
|
|
2155
2095
|
### Features
|
|
2156
2096
|
|
|
2157
|
-
* add themed geometry config and make reachable-ranges zero-plumbing geometry display
|
|
2158
|
-
* reinstate displayReachableRanges and reachable-ranges example, allowing custom multi-budget-type, palette, and theme support
|
|
2159
|
-
* typed features for map traffic incidents and flow, with extra properties
|
|
2097
|
+
* add themed geometry config and make reachable-ranges zero-plumbing geometry display
|
|
2098
|
+
* reinstate displayReachableRanges and reachable-ranges example, allowing custom multi-budget-type, palette, and theme support
|
|
2099
|
+
* typed features for map traffic incidents and flow, with extra properties
|
|
2160
2100
|
|
|
2161
2101
|
|
|
2162
2102
|
### Bug Fixes
|
|
2163
2103
|
|
|
2164
|
-
* remove roadShieldReferences guidance param — road shields are requested via sectionTypes, and are included by default
|
|
2104
|
+
* remove roadShieldReferences guidance param — road shields are requested via sectionTypes, and are included by default
|
|
2165
2105
|
|
|
2166
2106
|
## [0.45.6](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.5...v0.45.6) (2026-02-23)
|
|
2167
2107
|
|
|
2168
2108
|
|
|
2169
2109
|
### Features
|
|
2170
2110
|
|
|
2171
|
-
* opt-out visibility for route summary bubbles
|
|
2111
|
+
* opt-out visibility for route summary bubbles
|
|
2172
2112
|
|
|
2173
2113
|
|
|
2174
2114
|
### Bug Fixes
|
|
2175
2115
|
|
|
2176
|
-
* pois module feature mappings and type fixes
|
|
2116
|
+
* pois module feature mappings and type fixes
|
|
2177
2117
|
|
|
2178
2118
|
## [0.45.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.4...v0.45.5) (2026-02-20)
|
|
2179
2119
|
|
|
2180
2120
|
|
|
2181
2121
|
### Features
|
|
2182
2122
|
|
|
2183
|
-
* add new get section progress tool, and improve existing tools
|
|
2184
|
-
* core utilities related to routes and tool description improvements
|
|
2185
|
-
* new hover-move event type which keeps firing as you move the pointer over the relevant features
|
|
2186
|
-
* new utility to find route progress matching a nearby arbitrary location
|
|
2187
|
-
* refactor core utility guides and add new example for add stops to route
|
|
2123
|
+
* add new get section progress tool, and improve existing tools
|
|
2124
|
+
* core utilities related to routes and tool description improvements
|
|
2125
|
+
* new hover-move event type which keeps firing as you move the pointer over the relevant features
|
|
2126
|
+
* new utility to find route progress matching a nearby arbitrary location
|
|
2127
|
+
* refactor core utility guides and add new example for add stops to route
|
|
2188
2128
|
|
|
2189
2129
|
|
|
2190
2130
|
## [0.45.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.3...v0.45.4) (2026-02-17)
|
|
@@ -2195,48 +2135,48 @@
|
|
|
2195
2135
|
|
|
2196
2136
|
### Features
|
|
2197
2137
|
|
|
2198
|
-
* add shared CSS design system and reusable HTML templates for examples
|
|
2199
|
-
* add template CSS inlining and local SDK dependency resolution to Sandpack
|
|
2200
|
-
* migrate all examples to use the shared CSS design system
|
|
2201
|
-
* zod and lodash are now peer dependencies, not bundled in sdk anymore
|
|
2138
|
+
* add shared CSS design system and reusable HTML templates for examples
|
|
2139
|
+
* add template CSS inlining and local SDK dependency resolution to Sandpack
|
|
2140
|
+
* migrate all examples to use the shared CSS design system
|
|
2141
|
+
* zod and lodash are now peer dependencies, not bundled in sdk anymore
|
|
2202
2142
|
|
|
2203
2143
|
|
|
2204
2144
|
### Bug Fixes
|
|
2205
2145
|
|
|
2206
|
-
* update Playwright config for Chrome for Testing WebGL support and refresh snapshots
|
|
2146
|
+
* update Playwright config for Chrome for Testing WebGL support and refresh snapshots
|
|
2207
2147
|
|
|
2208
2148
|
## [0.42.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.42.1...v0.42.2) (2026-02-06)
|
|
2209
2149
|
|
|
2210
2150
|
|
|
2211
2151
|
### Bug Fixes
|
|
2212
2152
|
|
|
2213
|
-
* ensure map theme switching is smooth
|
|
2153
|
+
* ensure map theme switching is smooth
|
|
2214
2154
|
|
|
2215
2155
|
## [0.42.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.42.0...v0.42.1) (2026-02-03)
|
|
2216
2156
|
|
|
2217
2157
|
|
|
2218
2158
|
### Features
|
|
2219
2159
|
|
|
2220
|
-
* add traffic incident playground example
|
|
2160
|
+
* add traffic incident playground example
|
|
2221
2161
|
|
|
2222
2162
|
|
|
2223
2163
|
### Bug Fixes
|
|
2224
2164
|
|
|
2225
|
-
* enable documentation indexing
|
|
2226
|
-
* filter by incidents by magnitude_of_delay
|
|
2227
|
-
* omit bounding box and position from search options in viewport places plugin since they should be automatically set
|
|
2165
|
+
* enable documentation indexing
|
|
2166
|
+
* filter by incidents by magnitude_of_delay
|
|
2167
|
+
* omit bounding box and position from search options in viewport places plugin since they should be automatically set
|
|
2228
2168
|
|
|
2229
2169
|
## [0.42.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.8...v0.42.0) (2026-01-30)
|
|
2230
2170
|
|
|
2231
2171
|
|
|
2232
2172
|
### Features
|
|
2233
2173
|
|
|
2234
|
-
* **viewport-places:** improve types
|
|
2174
|
+
* **viewport-places:** improve types
|
|
2235
2175
|
|
|
2236
2176
|
|
|
2237
2177
|
### Bug Fixes
|
|
2238
2178
|
|
|
2239
|
-
* viewport places plugin example
|
|
2179
|
+
* viewport places plugin example
|
|
2240
2180
|
|
|
2241
2181
|
|
|
2242
2182
|
## [0.41.8](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.7...v0.41.8) (2026-01-30)
|
|
@@ -2244,71 +2184,71 @@
|
|
|
2244
2184
|
|
|
2245
2185
|
### Bug Fixes
|
|
2246
2186
|
|
|
2247
|
-
* viewport places plugin example
|
|
2187
|
+
* viewport places plugin example
|
|
2248
2188
|
|
|
2249
2189
|
## [0.41.7](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.6...v0.41.7) (2026-01-30)
|
|
2250
2190
|
|
|
2251
2191
|
|
|
2252
2192
|
### Bug Fixes
|
|
2253
2193
|
|
|
2254
|
-
* improve release workflow and update documentation
|
|
2194
|
+
* improve release workflow and update documentation
|
|
2255
2195
|
|
|
2256
2196
|
## [0.41.6](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.5...v0.41.6) (2026-01-30)
|
|
2257
2197
|
|
|
2258
2198
|
|
|
2259
2199
|
### Features
|
|
2260
2200
|
|
|
2261
|
-
* **viewport-places:** improve types
|
|
2201
|
+
* **viewport-places:** improve types
|
|
2262
2202
|
|
|
2263
2203
|
## [0.41.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.4...v0.41.5) (2026-01-30)
|
|
2264
2204
|
|
|
2265
2205
|
|
|
2266
2206
|
### Features
|
|
2267
2207
|
|
|
2268
|
-
* **viewport-places:** improve TSDocs
|
|
2208
|
+
* **viewport-places:** improve TSDocs
|
|
2269
2209
|
|
|
2270
2210
|
## [0.41.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.3...v0.41.4) (2026-01-30)
|
|
2271
2211
|
|
|
2272
2212
|
|
|
2273
2213
|
### Bug Fixes
|
|
2274
2214
|
|
|
2275
|
-
* missing [@ignore](https://github.com/ignore) for internal routing variable
|
|
2276
|
-
* missing tsdoc group for type
|
|
2215
|
+
* missing [@ignore](https://github.com/ignore) for internal routing variable
|
|
2216
|
+
* missing tsdoc group for type
|
|
2277
2217
|
|
|
2278
2218
|
## [0.41.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.2...v0.41.3) (2026-01-29)
|
|
2279
2219
|
|
|
2280
2220
|
|
|
2281
2221
|
### Features
|
|
2282
2222
|
|
|
2283
|
-
* simplify viewport places method name, and improve api reference docs
|
|
2284
|
-
* upgrade deps
|
|
2223
|
+
* simplify viewport places method name, and improve api reference docs
|
|
2224
|
+
* upgrade deps
|
|
2285
2225
|
|
|
2286
2226
|
## [0.41.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.1...v0.41.2) (2026-01-29)
|
|
2287
2227
|
|
|
2288
2228
|
|
|
2289
2229
|
### Features
|
|
2290
2230
|
|
|
2291
|
-
* add availability-aware custom EV icons to example
|
|
2292
|
-
* add EV availability icon selection with custom icon support
|
|
2293
|
-
* add EVAvailabilityConfig type with opt-in configuration
|
|
2294
|
-
* add plugins workspace with first plugin to easily display search-powered layers of places on the map
|
|
2295
|
-
* add theme awareness and availability-level icon image handling to PlacesModule
|
|
2296
|
-
* enhance EV custom display example with theme switching and improved controls
|
|
2297
|
-
* implement EV availability display in layer specs
|
|
2298
|
-
* rename ev playground to search
|
|
2231
|
+
* add availability-aware custom EV icons to example
|
|
2232
|
+
* add EV availability icon selection with custom icon support
|
|
2233
|
+
* add EVAvailabilityConfig type with opt-in configuration
|
|
2234
|
+
* add plugins workspace with first plugin to easily display search-powered layers of places on the map
|
|
2235
|
+
* add theme awareness and availability-level icon image handling to PlacesModule
|
|
2236
|
+
* enhance EV custom display example with theme switching and improved controls
|
|
2237
|
+
* implement EV availability display in layer specs
|
|
2238
|
+
* rename ev playground to search
|
|
2299
2239
|
|
|
2300
2240
|
|
|
2301
2241
|
### Bug Fixes
|
|
2302
2242
|
|
|
2303
|
-
* make StyleChangeHandler callbacks optional
|
|
2304
|
-
* try to fail gracefully when some layers cannot be added in map modules, likely due to misconfiguration
|
|
2243
|
+
* make StyleChangeHandler callbacks optional
|
|
2244
|
+
* try to fail gracefully when some layers cannot be added in map modules, likely due to misconfiguration
|
|
2305
2245
|
|
|
2306
2246
|
## [0.41.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.0...v0.41.1) (2026-01-16)
|
|
2307
2247
|
|
|
2308
2248
|
|
|
2309
2249
|
### Bug Fixes
|
|
2310
2250
|
|
|
2311
|
-
* **examples:** import in ev-charging-stations-playground
|
|
2251
|
+
* **examples:** import in ev-charging-stations-playground
|
|
2312
2252
|
|
|
2313
2253
|
## [0.41.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.40.1...v0.41.0) (2026-01-16)
|
|
2314
2254
|
|
|
@@ -2321,297 +2261,297 @@
|
|
|
2321
2261
|
|
|
2322
2262
|
### Bug Fixes
|
|
2323
2263
|
|
|
2324
|
-
* css responsiveness
|
|
2325
|
-
* **ev-search:** getPlacesWithEvAvailability return type
|
|
2264
|
+
* css responsiveness
|
|
2265
|
+
* **ev-search:** getPlacesWithEvAvailability return type
|
|
2326
2266
|
|
|
2327
2267
|
|
|
2328
2268
|
### Code Refactoring
|
|
2329
2269
|
|
|
2330
|
-
* **ev-search:** merge connectors and connectorCounts
|
|
2331
|
-
* merge mapParams and mapLibreOptions
|
|
2270
|
+
* **ev-search:** merge connectors and connectorCounts
|
|
2271
|
+
* merge mapParams and mapLibreOptions
|
|
2332
2272
|
|
|
2333
2273
|
## [0.40.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.40.0...v0.40.1) (2026-01-08)
|
|
2334
2274
|
|
|
2335
2275
|
|
|
2336
2276
|
### Bug Fixes
|
|
2337
2277
|
|
|
2338
|
-
* calculate padded bboxes correctly if any of the surrounding elements goes beyond the visible screen
|
|
2339
|
-
* ensure map style parts which were excluded are loaded more robustly
|
|
2278
|
+
* calculate padded bboxes correctly if any of the surrounding elements goes beyond the visible screen
|
|
2279
|
+
* ensure map style parts which were excluded are loaded more robustly
|
|
2340
2280
|
|
|
2341
2281
|
## [0.40.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.39.0...v0.40.0) (2026-01-07)
|
|
2342
2282
|
|
|
2343
2283
|
|
|
2344
2284
|
### Features
|
|
2345
2285
|
|
|
2346
|
-
* new padded bbox calculation utilities for map bundle
|
|
2347
|
-
* new polygonFromBBox core utility
|
|
2348
|
-
* sdk upgrade
|
|
2286
|
+
* new padded bbox calculation utilities for map bundle
|
|
2287
|
+
* new polygonFromBBox core utility
|
|
2288
|
+
* sdk upgrade
|
|
2349
2289
|
|
|
2350
2290
|
## [0.39.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.38.1...v0.39.0) (2026-01-06)
|
|
2351
2291
|
|
|
2352
2292
|
|
|
2353
2293
|
### Features
|
|
2354
2294
|
|
|
2355
|
-
* add live coding for few guides
|
|
2356
|
-
* new map style switcher example
|
|
2295
|
+
* add live coding for few guides
|
|
2296
|
+
* new map style switcher example
|
|
2357
2297
|
|
|
2358
2298
|
|
|
2359
2299
|
### Bug Fixes
|
|
2360
2300
|
|
|
2361
|
-
* simplify how sandpack examples are exposed
|
|
2301
|
+
* simplify how sandpack examples are exposed
|
|
2362
2302
|
|
|
2363
2303
|
## [0.38.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.38.0...v0.38.1) (2025-12-17)
|
|
2364
2304
|
|
|
2365
2305
|
|
|
2366
2306
|
### Bug Fixes
|
|
2367
2307
|
|
|
2368
|
-
* quickstart guide link text
|
|
2308
|
+
* quickstart guide link text
|
|
2369
2309
|
|
|
2370
2310
|
## [0.38.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.37.0...v0.38.0) (2025-12-17)
|
|
2371
2311
|
|
|
2372
2312
|
|
|
2373
2313
|
### Features
|
|
2374
2314
|
|
|
2375
|
-
* improve bbox types for places, routes and geometries
|
|
2315
|
+
* improve bbox types for places, routes and geometries
|
|
2376
2316
|
|
|
2377
2317
|
## [0.37.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.9...v0.37.0) (2025-12-16)
|
|
2378
2318
|
|
|
2379
2319
|
|
|
2380
2320
|
### Features
|
|
2381
2321
|
|
|
2382
|
-
* improve bbox types for places and routes so they reflect 4-dimensional types
|
|
2383
|
-
* optional events configuration for each map module
|
|
2322
|
+
* improve bbox types for places and routes so they reflect 4-dimensional types
|
|
2323
|
+
* optional events configuration for each map module
|
|
2384
2324
|
|
|
2385
2325
|
|
|
2386
2326
|
### Bug Fixes
|
|
2387
2327
|
|
|
2388
|
-
* add sandpack wrapper for each example
|
|
2389
|
-
* move sandpack local preview inside sandpack folder
|
|
2390
|
-
* use release please version in tests
|
|
2391
|
-
* use vite to resolve dependencies and examples map
|
|
2328
|
+
* add sandpack wrapper for each example
|
|
2329
|
+
* move sandpack local preview inside sandpack folder
|
|
2330
|
+
* use release please version in tests
|
|
2331
|
+
* use vite to resolve dependencies and examples map
|
|
2392
2332
|
|
|
2393
2333
|
## [0.36.9](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.8...v0.36.9) (2025-12-11)
|
|
2394
2334
|
|
|
2395
2335
|
|
|
2396
2336
|
### Bug Fixes
|
|
2397
2337
|
|
|
2398
|
-
* upgrade deps
|
|
2338
|
+
* upgrade deps
|
|
2399
2339
|
|
|
2400
2340
|
## [0.36.8](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.7...v0.36.8) (2025-12-11)
|
|
2401
2341
|
|
|
2402
2342
|
|
|
2403
2343
|
### Bug Fixes
|
|
2404
2344
|
|
|
2405
|
-
* upgrade deps
|
|
2345
|
+
* upgrade deps
|
|
2406
2346
|
|
|
2407
2347
|
## [0.36.7](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.6...v0.36.7) (2025-12-11)
|
|
2408
2348
|
|
|
2409
2349
|
|
|
2410
2350
|
### Bug Fixes
|
|
2411
2351
|
|
|
2412
|
-
* consistency with naming map module instance variables
|
|
2352
|
+
* consistency with naming map module instance variables
|
|
2413
2353
|
|
|
2414
2354
|
## [0.36.6](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.5...v0.36.6) (2025-12-10)
|
|
2415
2355
|
|
|
2416
2356
|
|
|
2417
2357
|
### Bug Fixes
|
|
2418
2358
|
|
|
2419
|
-
* remove leftover console logs
|
|
2359
|
+
* remove leftover console logs
|
|
2420
2360
|
|
|
2421
2361
|
## [0.36.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.4...v0.36.5) (2025-12-09)
|
|
2422
2362
|
|
|
2423
2363
|
|
|
2424
2364
|
### Bug Fixes
|
|
2425
2365
|
|
|
2426
|
-
* type exports
|
|
2366
|
+
* type exports
|
|
2427
2367
|
|
|
2428
2368
|
## [0.36.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.3...v0.36.4) (2025-12-08)
|
|
2429
2369
|
|
|
2430
2370
|
|
|
2431
2371
|
### Bug Fixes
|
|
2432
2372
|
|
|
2433
|
-
* regression fix for additional layers vs multiple routing modules support
|
|
2434
|
-
* regression fix regarding unnecessarily suffixing custom images in routing module instances
|
|
2373
|
+
* regression fix for additional layers vs multiple routing modules support
|
|
2374
|
+
* regression fix regarding unnecessarily suffixing custom images in routing module instances
|
|
2435
2375
|
|
|
2436
2376
|
## [0.36.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.2...v0.36.3) (2025-12-08)
|
|
2437
2377
|
|
|
2438
2378
|
|
|
2439
2379
|
### Bug Fixes
|
|
2440
2380
|
|
|
2441
|
-
* prevent querying features without passing any layers
|
|
2381
|
+
* prevent querying features without passing any layers
|
|
2442
2382
|
|
|
2443
2383
|
## [0.36.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.1...v0.36.2) (2025-12-08)
|
|
2444
2384
|
|
|
2445
2385
|
|
|
2446
2386
|
### Bug Fixes
|
|
2447
2387
|
|
|
2448
|
-
* example content hotfix
|
|
2449
|
-
* simplify and improve category mappings for places
|
|
2388
|
+
* example content hotfix
|
|
2389
|
+
* simplify and improve category mappings for places
|
|
2450
2390
|
|
|
2451
2391
|
## [0.36.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.0...v0.36.1) (2025-12-08)
|
|
2452
2392
|
|
|
2453
2393
|
|
|
2454
2394
|
### Bug Fixes
|
|
2455
2395
|
|
|
2456
|
-
* simplify and improve category mappings for places
|
|
2396
|
+
* simplify and improve category mappings for places
|
|
2457
2397
|
|
|
2458
2398
|
## [0.36.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.35.5...v0.36.0) (2025-12-05)
|
|
2459
2399
|
|
|
2460
2400
|
|
|
2461
2401
|
### Features
|
|
2462
2402
|
|
|
2463
|
-
* multiple routing module instances possible, including two new examples
|
|
2403
|
+
* multiple routing module instances possible, including two new examples
|
|
2464
2404
|
|
|
2465
2405
|
|
|
2466
2406
|
### Bug Fixes
|
|
2467
2407
|
|
|
2468
|
-
* ensure feature ids and feature properties ids are always set
|
|
2408
|
+
* ensure feature ids and feature properties ids are always set
|
|
2469
2409
|
|
|
2470
2410
|
## [0.35.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.35.4...v0.35.5) (2025-12-04)
|
|
2471
2411
|
|
|
2472
2412
|
|
|
2473
2413
|
### Bug Fixes
|
|
2474
2414
|
|
|
2475
|
-
* skip validating styles when changing them for performance
|
|
2476
|
-
* upgrade maplibre dependency and ensure place properties always have id
|
|
2415
|
+
* skip validating styles when changing them for performance
|
|
2416
|
+
* upgrade maplibre dependency and ensure place properties always have id
|
|
2477
2417
|
|
|
2478
2418
|
## [0.35.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.35.3...v0.35.4) (2025-12-03)
|
|
2479
2419
|
|
|
2480
2420
|
|
|
2481
2421
|
### Bug Fixes
|
|
2482
2422
|
|
|
2483
|
-
* use right icon for toll roads along routes
|
|
2423
|
+
* use right icon for toll roads along routes
|
|
2484
2424
|
|
|
2485
2425
|
## [0.35.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.35.2...v0.35.3) (2025-12-03)
|
|
2486
2426
|
|
|
2487
2427
|
|
|
2488
2428
|
### Bug Fixes
|
|
2489
2429
|
|
|
2490
|
-
* custom image loading reliability across different browsers
|
|
2430
|
+
* custom image loading reliability across different browsers
|
|
2491
2431
|
|
|
2492
2432
|
## [0.35.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.35.1...v0.35.2) (2025-12-03)
|
|
2493
2433
|
|
|
2494
2434
|
|
|
2495
2435
|
### Bug Fixes
|
|
2496
2436
|
|
|
2497
|
-
* rev geo playground init
|
|
2437
|
+
* rev geo playground init
|
|
2498
2438
|
|
|
2499
2439
|
## [0.35.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.35.0...v0.35.1) (2025-12-03)
|
|
2500
2440
|
|
|
2501
2441
|
|
|
2502
2442
|
### Bug Fixes
|
|
2503
2443
|
|
|
2504
|
-
* mitigation to try to be more reliable on detecting that maplibre css was already loaded
|
|
2505
|
-
* remove noisy console warnings when deserializing potential JSON from features
|
|
2444
|
+
* mitigation to try to be more reliable on detecting that maplibre css was already loaded
|
|
2445
|
+
* remove noisy console warnings when deserializing potential JSON from features
|
|
2506
2446
|
|
|
2507
2447
|
## [0.35.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.34.1...v0.35.0) (2025-12-02)
|
|
2508
2448
|
|
|
2509
2449
|
|
|
2510
2450
|
### Features
|
|
2511
2451
|
|
|
2512
|
-
* new searchOne convenience function for fast single result searches
|
|
2513
|
-
* showRoutes in RoutingModule also accepts a single Route now
|
|
2514
|
-
* switching to a simplified BBox type in SDK with only 4 coordinates since we don't use the other 2 and this way we are more compatible with Maplibre
|
|
2452
|
+
* new searchOne convenience function for fast single result searches
|
|
2453
|
+
* showRoutes in RoutingModule also accepts a single Route now
|
|
2454
|
+
* switching to a simplified BBox type in SDK with only 4 coordinates since we don't use the other 2 and this way we are more compatible with Maplibre
|
|
2515
2455
|
|
|
2516
2456
|
|
|
2517
2457
|
### Bug Fixes
|
|
2518
2458
|
|
|
2519
|
-
* base map module undefined config consistency
|
|
2459
|
+
* base map module undefined config consistency
|
|
2520
2460
|
|
|
2521
2461
|
## [0.34.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.34.0...v0.34.1) (2025-12-01)
|
|
2522
2462
|
|
|
2523
2463
|
|
|
2524
2464
|
### Bug Fixes
|
|
2525
2465
|
|
|
2526
|
-
* add config file to maintain example api key
|
|
2527
|
-
* move all files for examples under its src folder
|
|
2528
|
-
* nodejs examples based on es modules
|
|
2529
|
-
* use sandpack to preview map in guides
|
|
2466
|
+
* add config file to maintain example api key
|
|
2467
|
+
* move all files for examples under its src folder
|
|
2468
|
+
* nodejs examples based on es modules
|
|
2469
|
+
* use sandpack to preview map in guides
|
|
2530
2470
|
|
|
2531
2471
|
## [0.34.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.33.0...v0.34.0) (2025-11-26)
|
|
2532
2472
|
|
|
2533
2473
|
|
|
2534
2474
|
### Features
|
|
2535
2475
|
|
|
2536
|
-
* hide fuzzySearch call to avoid overlap with search
|
|
2537
|
-
* improve visibility state management in traffic and hillshade modules, fix e2e tests, misc improvements
|
|
2538
|
-
* improvements in PlacesModule and added examples
|
|
2539
|
-
* upgrade sdk dependency
|
|
2476
|
+
* hide fuzzySearch call to avoid overlap with search
|
|
2477
|
+
* improve visibility state management in traffic and hillshade modules, fix e2e tests, misc improvements
|
|
2478
|
+
* improvements in PlacesModule and added examples
|
|
2479
|
+
* upgrade sdk dependency
|
|
2540
2480
|
|
|
2541
2481
|
|
|
2542
2482
|
### Bug Fixes
|
|
2543
2483
|
|
|
2544
|
-
* types and test data migrated to ts
|
|
2484
|
+
* types and test data migrated to ts
|
|
2545
2485
|
|
|
2546
2486
|
## [0.33.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.32.3...v0.33.0) (2025-11-20)
|
|
2547
2487
|
|
|
2548
2488
|
|
|
2549
2489
|
### Bug Fixes
|
|
2550
2490
|
|
|
2551
|
-
* update diagram how-the-sdk-works
|
|
2491
|
+
* update diagram how-the-sdk-works
|
|
2552
2492
|
|
|
2553
2493
|
## [0.32.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.32.2...v0.32.3) (2025-11-20)
|
|
2554
2494
|
|
|
2555
2495
|
|
|
2556
2496
|
### Bug Fixes
|
|
2557
2497
|
|
|
2558
|
-
* route instruction arrows to be above incidents
|
|
2559
|
-
* update license
|
|
2498
|
+
* route instruction arrows to be above incidents
|
|
2499
|
+
* update license
|
|
2560
2500
|
|
|
2561
2501
|
## [0.32.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.32.1...v0.32.2) (2025-11-18)
|
|
2562
2502
|
|
|
2563
2503
|
|
|
2564
2504
|
### Bug Fixes
|
|
2565
2505
|
|
|
2566
|
-
* es exports to prevent having to mention dist in imports
|
|
2506
|
+
* es exports to prevent having to mention dist in imports
|
|
2567
2507
|
|
|
2568
2508
|
## [0.32.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.31.1...v0.32.0) (2025-11-13)
|
|
2569
2509
|
|
|
2570
2510
|
|
|
2571
2511
|
### Features
|
|
2572
2512
|
|
|
2573
|
-
* export sdk as es modules only
|
|
2574
|
-
* simplify map style initialization
|
|
2513
|
+
* export sdk as es modules only
|
|
2514
|
+
* simplify map style initialization
|
|
2575
2515
|
|
|
2576
2516
|
## [0.31.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.30.2...v0.31.0) (2025-11-11)
|
|
2577
2517
|
|
|
2578
2518
|
|
|
2579
2519
|
### Features
|
|
2580
2520
|
|
|
2581
|
-
* improve places module configuration and examples
|
|
2582
|
-
* sdk automatically loads MapLibre CSS if not done by the caller
|
|
2583
|
-
* upgrade to new map style with new traffic incident icons
|
|
2521
|
+
* improve places module configuration and examples
|
|
2522
|
+
* sdk automatically loads MapLibre CSS if not done by the caller
|
|
2523
|
+
* upgrade to new map style with new traffic incident icons
|
|
2584
2524
|
|
|
2585
2525
|
|
|
2586
2526
|
### Bug Fixes
|
|
2587
2527
|
|
|
2588
|
-
* search exports and using typeahead true for fuzzy search examples
|
|
2528
|
+
* search exports and using typeahead true for fuzzy search examples
|
|
2589
2529
|
|
|
2590
2530
|
## [0.30.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.30.1...v0.30.2) (2025-11-06)
|
|
2591
2531
|
|
|
2592
2532
|
|
|
2593
2533
|
### Bug Fixes
|
|
2594
2534
|
|
|
2595
|
-
* example having incorrect references
|
|
2535
|
+
* example having incorrect references
|
|
2596
2536
|
|
|
2597
2537
|
## [0.30.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.30.0...v0.30.1) (2025-11-05)
|
|
2598
2538
|
|
|
2599
2539
|
|
|
2600
2540
|
### Bug Fixes
|
|
2601
2541
|
|
|
2602
|
-
* pin category mapping
|
|
2542
|
+
* pin category mapping
|
|
2603
2543
|
|
|
2604
2544
|
## [0.30.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.29.2...v0.30.0) (2025-11-05)
|
|
2605
2545
|
|
|
2606
2546
|
|
|
2607
2547
|
### Features
|
|
2608
2548
|
|
|
2609
|
-
* enable tomtom user agent headers by default
|
|
2549
|
+
* enable tomtom user agent headers by default
|
|
2610
2550
|
|
|
2611
2551
|
|
|
2612
2552
|
### Bug Fixes
|
|
2613
2553
|
|
|
2614
|
-
* route example content
|
|
2554
|
+
* route example content
|
|
2615
2555
|
|
|
2616
2556
|
## [0.29.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.29.1...v0.29.2) (2025-11-04)
|
|
2617
2557
|
|