@tomtom-org/maps-sdk 1.0.0-rc.5 → 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 CHANGED
@@ -1,10 +1,101 @@
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
+
9
+ ## 1.0.0-rc.6
10
+
11
+ ### Minor Changes
12
+
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))
14
+
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
16
+ - The logos are black with a white outline on every style, light and dark
17
+ - A soft, blurred backdrop sits behind the logos so they stand out from map labels. It follows the style's theme across `setStyle`. `backdrop: false` removes it, and the logos stay
18
+ - Your own `credits` follow the logos
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`
20
+ - examples: `attribution-playground` places the logos in each corner, over every standard style, with or without their backdrop
21
+
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))
23
+ - core: `APIErrorDetails` declares `apiErrorCode` and `privatePreviewAccess` once, for one function to read a service call's error and the map's alike
24
+ - map: `TomTomMapError` implements it, as `SDKServiceError` does
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`
26
+ - map: the message of a failed style, tile, sprite or glyph request shows the API key in its URL as `key=…`, so the message is safe to log
27
+ - map: a plugin's data that fails to load, such as the Landmarks 3D tiles, reaches `addErrorHandler` as a `TomTomMapError` under the plugin's source, coded by status like the map's own tiles
28
+
29
+ ### Patch Changes
30
+
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))
32
+
33
+ - A building reacts while a `BaseMapModule` handler reaches the `buildings3D` group, and stays as drawn while you leave both colours unset
34
+ - A building the map data splits into parts lights up and takes its colour whole, by the id of any of its parts
35
+ - `getBuildingIdAt` names the building standing at a position, to highlight buildings you know by place
36
+ - Features of the base map, the POIs and the traffic tiles now carry their `eventState` as a feature state, for your own `styling.layers` paint to read
37
+ - The 3D buildings' `fill-extrusion-color` is now an expression around the style's colour on every map, so `getPaintProperty` and an exported style return that expression; the style's own colour is its output at intensity 0
38
+ - The four settings are knobs of `baseMapKnobCatalogue`, `buildings3D.{hover,click}.{color,intensity}`
39
+ - The new `base-map-buildings-interaction` example hovers, selects and paints buildings over Midtown Manhattan
40
+
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))
42
+
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
44
+
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))
46
+
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))
48
+
49
+ - core: `bboxFromGeoJSON` gives the narrowest box around shapes on both sides of the antimeridian, and `undefined` for a geometry missing its coordinates
50
+ - core: route positions, owned polygons and hexagon cells wrap past ±180° instead of jumping across the map
51
+ - core: departure, arrival, waypoint, border and tollgate instructions carry no lanes
52
+ - core: `findBestWaypointInsertionIndex` and `withInsertedWaypoints` slot a new stop on a round trip between the right passes of its origin and destination
53
+ - core: `calculateProgressAtRoutePoint`, `getRouteProgressBetween` and `getRouteProgressForSection` return `undefined` for a path index that is no whole number, where they returned `NaN` values
54
+ - core: `formatDuration` rounds a half minute up, and `formatDistance` and `formatDuration` keep the global units for an option left `undefined`
55
+ - core: bundlers drop `TomTomConfig` from an app that never reads it
56
+ - core: a junction's instruction keeps its lanes where a waypoint instruction shares its path point
57
+
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))
59
+
60
+ - map: a sourceless map error is `STYLE_LOAD_FAILED` only while a style loads, and `INTERNAL` otherwise
61
+ - map: colour knobs refuse colour forms MapLibre can't paint, instead of drawing nothing
62
+ - map: `CustomGeoJSONModule.applyConfig` replaces a layer whose type changes instead of throwing
63
+ - map: a failed or superseded style switch finishes cleanly, and a switch to the same style resets knobs and raw edits
64
+ - map: route summary bubbles stay above their route on a rotated map, hidden sections stay hidden, and section icons follow their size knob
65
+ - map: places keep another module's config properties, draw a mapped category icon, and rebuild once per knob batch
66
+ - map: traffic incident icons keep their visibility across config changes, opacities clamp to 0–1, and area analytics grids take regions across the antimeridian
67
+ - map: `setLanguage` relabels only the map style's own labels, so module and app layers keep the text they were given
68
+ - map: `calculateFittingBBox` expands latitudes in Web Mercator, as `fitBounds` frames them, so its south and north move
69
+ - map: a custom `icon.default` image repositions the place labels, a hovered `base-map` place draws once, and a clicked `pin-clustered` micro dot stays drawn
70
+ - map: `invertFeature` shades a polygon's holes, a MultiPolygon's title sits on its outer ring, and an expression `fill.color` falls through to `color`
71
+ - map: shown-features handlers keep firing after one of them unsubscribes
72
+ - map: custom images load from an SVG file's URL, from SVG markup with text past Latin-1 and from another origin that allows CORS
73
+ - map: each `where()` scope over one source keeps its own hover and cursor, `off` also removes the handlers on a source a config change dropped, and an unsubscribe removes only the registration it came from
74
+ - map: routes, places, area analytics and traffic filters reload only the sources a change reaches
75
+ - map: a clean switch to the style already loaded removes the traffic flow and incident filters, as it does the POI ones
76
+ - map: the map look reads a page background the browser reports in `oklch()` as painted
77
+ - map: POI and place category icon offsets apply where the style's own icon offset is a zoom ramp
78
+
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))
80
+
81
+ - services: search results map their fields, opening hours and polygon boxes as the service sends them, and keep area-scoped brands
82
+ - services: an XML error over HTTP/2 names its status, and an unread error body is freed
83
+ - services: a zero `Retry-After` still backs off before the next try
84
+ - services: suggestions pick their concept independently of `limit`
85
+ - services: traffic area analytics checks its date rules before the request, rejecting a call that breaks them as `INVALID_REQUEST`
86
+ - services: an along-route search whose filters hold only keys it doesn't declare fails validation, as one with no filter does
87
+ - services: a route leaves out `vehicleRestricted` when it has none, as it does every other section type, and `sectionTypes: ['lanes']` without `guidance` requests no sections
88
+ - services: `geometryData` sends a footprint that several places share once, and gives it the first place's properties, where the last place's won
89
+ - services: an `INVALID_REQUEST` message lists its issues without the `Issues:` JSON, which stays in the error's `issues`
90
+ - services: fuzzy search drops a query intent it doesn't know, and reverse geocoding an area type it doesn't know, rather than returning `undefined`
91
+ - services: `trafficIncidentDetails` sends a polygon cut at 180° as one box across the antimeridian, not one around the world
92
+ - services: a cached `getPOICategories` call rejects an insecure base URL, as an uncached one does
93
+
3
94
  ## 1.0.0-rc.5
4
95
 
5
96
  ### Minor Changes
6
97
 
7
- - [#2799](https://github.com/tomtom-internal/maps-sdk-js/pull/2799) [`0661ea4`](https://github.com/tomtom-internal/maps-sdk-js/commit/0661ea49050f1769653ea81f4da8d0b3a038c53d) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** core: `formatDuration` returns a `string` for any `number`, so you can pass its result where a `string` is required with no fallback
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))
8
99
 
9
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
10
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"`
@@ -12,18 +103,18 @@
12
103
 
13
104
  ### Patch Changes
14
105
 
15
- - [#2798](https://github.com/tomtom-internal/maps-sdk-js/pull/2798) [`f5e7999`](https://github.com/tomtom-internal/maps-sdk-js/commit/f5e79999c0499e9b20a95b9b6cc8c1bc9f3e6f9a) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
16
107
 
17
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
18
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
19
110
 
20
- - [#2803](https://github.com/tomtom-internal/maps-sdk-js/pull/2803) [`1a62c72`](https://github.com/tomtom-internal/maps-sdk-js/commit/1a62c72eb372d037397bb88485ea731763f3e554) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - The README links the repository's security policy page, which sends a vulnerability report to TomTom's HackerOne program
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))
21
112
 
22
- - [#2807](https://github.com/tomtom-internal/maps-sdk-js/pull/2807) [`8962157`](https://github.com/tomtom-internal/maps-sdk-js/commit/8962157661412b72bc3053e7bcde936063ed3f78) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: waypoint labels win over the route's section icons, and the section focus ring outlines the route instead of crossing it
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))
23
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.
24
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.
25
116
 
26
- - [#2797](https://github.com/tomtom-internal/maps-sdk-js/pull/2797) [`387694f`](https://github.com/tomtom-internal/maps-sdk-js/commit/387694ff1ba9d081c9f39d2c64ad4cb8f31abd06) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - services: `geocode` and `discoverPlaces` take a bare query string, the same as `{ query }`, as `geocodeOne` and `discoverOnePlace` already do
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))
27
118
 
28
119
  - services: `discoverPlaces('coffee')` runs a fuzzy search and is typed as one
29
120
 
@@ -31,7 +122,7 @@
31
122
 
32
123
  ### Major Changes
33
124
 
34
- - [#2748](https://github.com/tomtom-internal/maps-sdk-js/pull/2748) [`2597ffe`](https://github.com/tomtom-internal/maps-sdk-js/commit/2597ffeaff5f42079109938b277590c95726ca33) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
35
126
 
36
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'`
37
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
@@ -39,7 +130,7 @@
39
130
 
40
131
  ### Minor Changes
41
132
 
42
- - [#2724](https://github.com/tomtom-internal/maps-sdk-js/pull/2724) [`2cf2e55`](https://github.com/tomtom-internal/maps-sdk-js/commit/2cf2e554793280c067cef0f3864486eb617711ce) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
43
134
 
44
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]`
45
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]`
@@ -49,7 +140,7 @@
49
140
  - services: `geometrySearch` ranks a polygon across the antimeridian by its own width when it keeps the largest 50
50
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
51
142
 
52
- - [#2752](https://github.com/tomtom-internal/maps-sdk-js/pull/2752) [`52ac9b4`](https://github.com/tomtom-internal/maps-sdk-js/commit/52ac9b4b89fa5c8019b24725c8074d3ed3e24a20) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
53
144
 
54
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
55
146
  - map: the map labels in each of them, and the traffic incident descriptions in Catalan, Estonian, Hebrew, Japanese, Latvian and Romanian
@@ -58,13 +149,13 @@
58
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
59
150
  - examples: `map-language` offers Hebrew, Hindi, Japanese, Serbian and Ukrainian
60
151
 
61
- - [#2738](https://github.com/tomtom-internal/maps-sdk-js/pull/2738) [`6170ae7`](https://github.com/tomtom-internal/maps-sdk-js/commit/6170ae7d8e350c299e48d51d4a0a7824ec1bfb5a) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
62
153
 
63
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
64
155
  - **Breaking:** services: `calculateRoute` with `useEntryPoints: 'main-when-available'` sends such a stop at that entry point
65
156
  - **Breaking:** map: `RoutingModule` with `waypoints.entryPoints: 'main-when-available'` draws such a waypoint at that entry point
66
157
 
67
- - [#2729](https://github.com/tomtom-internal/maps-sdk-js/pull/2729) [`77ef508`](https://github.com/tomtom-internal/maps-sdk-js/commit/77ef5080de0f74301d781e84f65628e5673797e6) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
68
159
 
69
160
  - map: `LayerQuery` takes `ids`, the exact style layer ids to select
70
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
@@ -73,38 +164,38 @@
73
164
  - **Breaking:** map: `POIsModuleConfig`'s `filters.categories` is optional, so `filters` can hold `ids` alone. Code reading `config.filters.categories` must handle `undefined`
74
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
75
166
 
76
- - [#2757](https://github.com/tomtom-internal/maps-sdk-js/pull/2757) [`2478847`](https://github.com/tomtom-internal/maps-sdk-js/commit/2478847effe8a949fdce057874c236cf20e66dad) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
77
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
78
169
  - An id the map already has throws, until that layer's `remove()`
79
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
80
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
81
172
 
82
- - [#2766](https://github.com/tomtom-internal/maps-sdk-js/pull/2766) [`22215a6`](https://github.com/tomtom-internal/maps-sdk-js/commit/22215a65286f7a6bd274c2aa6bb75cf81e5fee1e) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
83
174
 
84
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`
85
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
86
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
87
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
88
179
 
89
- - [#2757](https://github.com/tomtom-internal/maps-sdk-js/pull/2757) [`2478847`](https://github.com/tomtom-internal/maps-sdk-js/commit/2478847effe8a949fdce057874c236cf20e66dad) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: line up a custom layer's three.js or WebGL scene with the map, in metres around a place, with `localFrameMatrix`
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))
90
181
  - It turns `defaultProjectionData.mainMatrix` into a `Float64Array`, composed in double precision, which a three.js camera or a WebGL uniform takes
91
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
92
183
 
93
- - [#2775](https://github.com/tomtom-internal/maps-sdk-js/pull/2775) [`21cda10`](https://github.com/tomtom-internal/maps-sdk-js/commit/21cda10b55fb241f20387a93fa1a7090a4f7c851) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
94
185
 
95
- - [#2756](https://github.com/tomtom-internal/maps-sdk-js/pull/2756) [`1da0aa4`](https://github.com/tomtom-internal/maps-sdk-js/commit/1da0aa4de06db25efe6a11c392cc73e10a77a229) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
96
187
 
97
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`
98
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; }`
99
190
  - examples: `map-request-transform` holds the map's tile requests behind a toggle and counts them
100
191
 
101
- - [#2726](https://github.com/tomtom-internal/maps-sdk-js/pull/2726) [`eae0ebd`](https://github.com/tomtom-internal/maps-sdk-js/commit/eae0ebd9ca51c18ad9b4d3edeb3cd8d062834189) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
102
193
 
103
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
104
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`
105
196
  - examples: `multiple-maps-landmarks` logs a map whose style fails to load instead of leaving an unhandled rejection
106
197
 
107
- - [#2660](https://github.com/tomtom-internal/maps-sdk-js/pull/2660) [`e6ab97c`](https://github.com/tomtom-internal/maps-sdk-js/commit/e6ab97cffc81eaa8fe417cde4a12e38829f70626) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
108
199
 
109
200
  - **Breaking:** core: `SectionType`, `sectionTypes`, `inputSectionTypes` and `inputSectionTypesWithGuidance` include `'curve'` and `'curvyStretch'`. A `Record<SectionType, …>` needs an entry for each
110
201
  - **Breaking:** services: `InputSectionType` includes them too
@@ -122,34 +213,34 @@
122
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
123
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
124
215
 
125
- - [#2722](https://github.com/tomtom-internal/maps-sdk-js/pull/2722) [`9eff3f9`](https://github.com/tomtom-internal/maps-sdk-js/commit/9eff3f9f11ae3c358e0df83e9241cfb4a00f7282) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: the `maplibre-gl` peer dependency moves up to `^6.15.0`
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))
126
217
  - **Breaking:** services: the `zod` peer dependency moves up to `^4.6.7`.
127
218
  - services: `geometryData` reports a `geometries` list over 20 as one issue on that field, not as a union mismatch.
128
219
 
129
- - [#2786](https://github.com/tomtom-internal/maps-sdk-js/pull/2786) [`aba3679`](https://github.com/tomtom-internal/maps-sdk-js/commit/aba36798344f38c50ef4b4e4ec94737e30d15785) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** services: along-route results from `discoverPlaces({ route })` carry their detour as typed `AlongRoutePlaceProps`, `detourTimeInSeconds` and `detourDistanceInMeters`, so you read them without a cast
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))
130
221
 
131
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
132
223
  - services: `detourOffsetInMeters` comes with results sorted by `'detourOffset'`
133
224
  - examples: `nodejs-along-route-search` prints each charger's detour
134
225
 
135
- - [#2751](https://github.com/tomtom-internal/maps-sdk-js/pull/2751) [`6d77703`](https://github.com/tomtom-internal/maps-sdk-js/commit/6d777037d17e27262728700e190cfce76a641142) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
136
227
 
137
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`.
138
229
 
139
- - [#2750](https://github.com/tomtom-internal/maps-sdk-js/pull/2750) [`94d3c8e`](https://github.com/tomtom-internal/maps-sdk-js/commit/94d3c8ea13a3b02631f152a03dd30af42ae5fd55) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
140
231
 
141
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
142
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"`
143
234
  - services: `calculateRoute` validates `useEntryPoints`, `extendedRouteRepresentations` and `guidance`
144
235
 
145
- - [#2777](https://github.com/tomtom-internal/maps-sdk-js/pull/2777) [`158afa7`](https://github.com/tomtom-internal/maps-sdk-js/commit/158afa707ae299e93d9e55044595b1f2ee3183ab) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
146
237
 
147
238
  - What the request builder threw is on `cause`, and the message is unchanged.
148
239
  - If the parameters passed validation and the request still can't be built, the code is `INTERNAL`.
149
240
 
150
- - [#2749](https://github.com/tomtom-internal/maps-sdk-js/pull/2749) [`669e18c`](https://github.com/tomtom-internal/maps-sdk-js/commit/669e18c9e98582fa66ec1193fbac6061a8090948) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
151
242
 
152
- - [#2744](https://github.com/tomtom-internal/maps-sdk-js/pull/2744) [`d899f3f`](https://github.com/tomtom-internal/maps-sdk-js/commit/d899f3ffc413ef6182564d46deb67ec026ec7fc0) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
153
244
 
154
245
  - With `arriveBy`, `calculateRoute` reads a `localDateTime` in the time zone of the route's final destination. `calculateReachableRange` takes it with `departAt`
155
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`
@@ -157,59 +248,59 @@
157
248
 
158
249
  ### Patch Changes
159
250
 
160
- - [#2697](https://github.com/tomtom-internal/maps-sdk-js/pull/2697) [`3d9c9a3`](https://github.com/tomtom-internal/maps-sdk-js/commit/3d9c9a34b897cf8eb791096620ed3e18dead1966) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
161
252
 
162
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
163
254
  - examples: `map-styling-playground` adds a 3D buildings section with the knob
164
255
 
165
- - [#2768](https://github.com/tomtom-internal/maps-sdk-js/pull/2768) [`377e6db`](https://github.com/tomtom-internal/maps-sdk-js/commit/377e6db35cf111ae7dee92f5773cea951e8f93ed) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
166
257
 
167
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
168
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
169
260
  - examples: `byod-geojson-cells-custom-module` colours Berlin by the median asking price per square metre in each hexagon or square
170
261
 
171
- - [#2746](https://github.com/tomtom-internal/maps-sdk-js/pull/2746) [`1d0f01d`](https://github.com/tomtom-internal/maps-sdk-js/commit/1d0f01d454e1906311653ba27e3cd28ead030a00) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
172
263
 
173
264
  - core: `GeopoliticalViewAPI` names the APIs it answers for: `'mapTiles'`, `'search'`, `'placeDetails'`, `'reverseGeocoding'` and `'geocoding'`
174
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
175
266
  - examples: `geopolitical-views-playground` labels each address with the view its reverse geocoding request carried
176
267
 
177
- - [#2709](https://github.com/tomtom-internal/maps-sdk-js/pull/2709) [`d7c6017`](https://github.com/tomtom-internal/maps-sdk-js/commit/d7c6017d33623dfdd8f7157e34c846beed0e3518) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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'`
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))
178
269
 
179
- - [#2747](https://github.com/tomtom-internal/maps-sdk-js/pull/2747) [`aa774bd`](https://github.com/tomtom-internal/maps-sdk-js/commit/aa774bd738ad7af7a8f9cd37b9036eb25ec3b158) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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.
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))
180
271
 
181
272
  - examples: `byod-geojson-heatmap-custom-module` credits its listed-buildings dataset in the map's attribution
182
273
 
183
- - [#2727](https://github.com/tomtom-internal/maps-sdk-js/pull/2727) [`38c246a`](https://github.com/tomtom-internal/maps-sdk-js/commit/38c246acc98f827acb8ad9c039330d381a933f43) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
184
275
 
185
276
  - map: with `park` left unset, the parks keep the style's own colour whatever `artificial` is set to
186
277
 
187
- - [#2754](https://github.com/tomtom-internal/maps-sdk-js/pull/2754) [`7521d57`](https://github.com/tomtom-internal/maps-sdk-js/commit/7521d571a8528cc02badcc74b271cb7428c77aab) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
188
279
 
189
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
190
281
  - examples: `traffic-incident-details` fades the other incidents when you click one
191
282
 
192
- - [#2716](https://github.com/tomtom-internal/maps-sdk-js/pull/2716) [`f58a405`](https://github.com/tomtom-internal/maps-sdk-js/commit/f58a4058a7564b1e5ccaf0467b91df306914bf54) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
193
284
 
194
285
  - examples: `map-language` offers Simplified and Traditional Chinese
195
286
 
196
- - [#2736](https://github.com/tomtom-internal/maps-sdk-js/pull/2736) [`a67b68d`](https://github.com/tomtom-internal/maps-sdk-js/commit/a67b68d05fc97280748c14ed433dbc55e437d6c5) Thanks [@AlvaroGraca-TomTom](https://github.com/AlvaroGraca-TomTom)! - 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
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))
197
288
 
198
- - [#2742](https://github.com/tomtom-internal/maps-sdk-js/pull/2742) [`2fcc1ab`](https://github.com/tomtom-internal/maps-sdk-js/commit/2fcc1abc07bcdf89aff3942ff1207637ed00f419) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
199
290
 
200
- - [#2714](https://github.com/tomtom-internal/maps-sdk-js/pull/2714) [`ae29916`](https://github.com/tomtom-internal/maps-sdk-js/commit/ae29916a1389e3d9ba9a5c378ea85c141d435389) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
201
292
 
202
- - [#2717](https://github.com/tomtom-internal/maps-sdk-js/pull/2717) [`d089a5c`](https://github.com/tomtom-internal/maps-sdk-js/commit/d089a5c3f7d1ce419a18a0dc8a26607b2f5263d3) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
203
294
 
204
- - [#2766](https://github.com/tomtom-internal/maps-sdk-js/pull/2766) [`22215a6`](https://github.com/tomtom-internal/maps-sdk-js/commit/22215a65286f7a6bd274c2aa6bb75cf81e5fee1e) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
205
296
 
206
- - [#2705](https://github.com/tomtom-internal/maps-sdk-js/pull/2705) [`4ff91a2`](https://github.com/tomtom-internal/maps-sdk-js/commit/4ff91a2a6c9e62e5c3ec8db8f15e12d692d86aa3) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - services: along-route `discoverPlaces` rejects a `maxDetourTimeSeconds` above `3600`, the service's maximum, in request validation rather than after a round trip
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))
207
298
 
208
299
  ## 1.0.0-rc.3
209
300
 
210
301
  ### Minor Changes
211
302
 
212
- - [#2674](https://github.com/tomtom-internal/maps-sdk-js/pull/2674) [`61026c0`](https://github.com/tomtom-internal/maps-sdk-js/commit/61026c0adaa35986bc0a9d11a3cdb4b342acb9d6) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
213
304
 
214
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
215
306
  - **Breaking:** core: a `Record<POICategory, …>` needs an entry for each of the ten codes
@@ -217,25 +308,25 @@
217
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`
218
309
  - map: a place with one of the new codes takes its parent's base-map icon, pin and `categoryIcons` entry
219
310
 
220
- - [#2659](https://github.com/tomtom-internal/maps-sdk-js/pull/2659) [`a580975`](https://github.com/tomtom-internal/maps-sdk-js/commit/a5809754b51feb9a1583cd23d149364e17727bb9) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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`
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))
221
312
 
222
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.
223
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.
224
315
  - Migration: drop `alignment` from `countryCrossings`. A bubble stays level with the screen.
225
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.
226
317
 
227
- - [#2659](https://github.com/tomtom-internal/maps-sdk-js/pull/2659) [`a580975`](https://github.com/tomtom-internal/maps-sdk-js/commit/a5809754b51feb9a1583cd23d149364e17727bb9) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
228
319
 
229
320
  - **Breaking:** a `lanes` section's `properties` read `IS_MANEUVER`, as documented, where they passed the API's `isManeuver` through. Match `'IS_MANEUVER'` instead.
230
321
 
231
- - [#2686](https://github.com/tomtom-internal/maps-sdk-js/pull/2686) [`5c52f46`](https://github.com/tomtom-internal/maps-sdk-js/commit/5c52f4619177d4776e32a167e871578ef4f4a2bf) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: the types of place events, traffic features and waypoint ids match what the map hands your code
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))
232
323
 
233
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
234
325
  - **Breaking:** map: `roadSubcategory` is optional on `TrafficIncidentsModuleFeature`, and absent off `street` and `service` roads, as on `TrafficFlowModuleFeature`
235
326
  - **Breaking:** map: a `TrafficFlowModuleFeature`'s geometry is a `LineString` or a `MultiLineString`, so check `geometry.type` before you read its coordinates
236
327
  - **Breaking:** map: a waypoint keeps the id you give it, a number included, so `WaypointDisplayProps.id` is `string | number`
237
328
 
238
- - [#2650](https://github.com/tomtom-internal/maps-sdk-js/pull/2650) [`3ce0603`](https://github.com/tomtom-internal/maps-sdk-js/commit/3ce0603daadfa044b4797a25db21278f1c267302) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
239
330
 
240
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
241
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
@@ -248,14 +339,14 @@
248
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
249
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
250
341
 
251
- - [#2675](https://github.com/tomtom-internal/maps-sdk-js/pull/2675) [`d1471c3`](https://github.com/tomtom-internal/maps-sdk-js/commit/d1471c3f69ed7a865e3e6b044632bd04c92271be) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
252
343
 
253
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
254
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
255
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
256
347
  - examples: `route-summary-bubbles-playground` selects only alternatives on click
257
348
 
258
- - [#2688](https://github.com/tomtom-internal/maps-sdk-js/pull/2688) [`af7a24e`](https://github.com/tomtom-internal/maps-sdk-js/commit/af7a24e336bcd2062fa102e78e3614787f5888d5) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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`
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))
259
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`
260
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`
261
352
  - services: a service call's `retry` overrides the global one field by field, and `retry: undefined` turns retrying off for that call
@@ -268,7 +359,7 @@
268
359
 
269
360
  ### Patch Changes
270
361
 
271
- - [#2680](https://github.com/tomtom-internal/maps-sdk-js/pull/2680) [`46ecb86`](https://github.com/tomtom-internal/maps-sdk-js/commit/46ecb861d06cbfbc9cc952f098ae31d68528c6c3) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - core: `languages` is a runtime export, and the distance formatter, bounding-box and route helpers handle their edge cases
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))
272
363
 
273
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`
274
365
  - core: `bboxCenter` centres a box that crosses the antimeridian, and `bboxFromGeoJSON` reads the 2D edges of a 3D `bbox`
@@ -278,17 +369,17 @@
278
369
  - core: `getRouteProgressForSection` and `getSectionBBox` take any `RouteSpan`, such as the one `getSectionOverlap` returns
279
370
  - core: `TomTomConfig.instance.reset()` restores the retry defaults, even after a caller edited `get().retry`
280
371
 
281
- - [#2659](https://github.com/tomtom-internal/maps-sdk-js/pull/2659) [`a580975`](https://github.com/tomtom-internal/maps-sdk-js/commit/a5809754b51feb9a1583cd23d149364e17727bb9) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
282
373
 
283
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.
284
375
 
285
- - [#2687](https://github.com/tomtom-internal/maps-sdk-js/pull/2687) [`7ff2c57`](https://github.com/tomtom-internal/maps-sdk-js/commit/7ff2c5703f66f90c521d192a65a622ad439562f2) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: images without a DOM, base-map places under offset POI icons and a module's `events.off()` handle their edge cases
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))
286
377
 
287
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`
288
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
289
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
290
381
 
291
- - [#2695](https://github.com/tomtom-internal/maps-sdk-js/pull/2695) [`7f4c439`](https://github.com/tomtom-internal/maps-sdk-js/commit/7f4c4393b880abcb828f719f9b099d87f40f24a0) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
292
383
 
293
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
294
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
@@ -297,7 +388,7 @@
297
388
  - map: `LinePattern` now types every line pattern; `SectionLinePattern` is deprecated in its favour
298
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
299
390
 
300
- - [#2698](https://github.com/tomtom-internal/maps-sdk-js/pull/2698) [`b7be724`](https://github.com/tomtom-internal/maps-sdk-js/commit/b7be7243dcf5df5897ea6ef3053eb382588a72e6) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: light the 3D buildings with the `view.light` knobs of `StylingFoundationsModule`, kept across style switches
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))
301
392
 
302
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
303
394
  - `stylingFoundationsKnobKinds` gains `number`, the kind of the direction, altitude and intensity
@@ -305,9 +396,9 @@
305
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
306
397
  - examples: `map-styling-playground` shows the light knobs in a View light section
307
398
 
308
- - [#2658](https://github.com/tomtom-internal/maps-sdk-js/pull/2658) [`80d6897`](https://github.com/tomtom-internal/maps-sdk-js/commit/80d68974f433320a332b59dea66c0904a0118349) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
309
400
 
310
- - [#2685](https://github.com/tomtom-internal/maps-sdk-js/pull/2685) [`9825c67`](https://github.com/tomtom-internal/maps-sdk-js/commit/9825c67233d1175c668fff544c92c916bf474297) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: modules keep their state across style switches, routes draw with a traffic halo, and events, images and knobs handle their edge cases
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))
311
402
 
312
403
  - map: `RoutingModule` draws its routes when `sections.traffic.style` is `'halo'`, at creation, after a style switch and when switched at runtime
313
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
@@ -355,11 +446,11 @@
355
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
356
447
  - map: area analytics hover and click highlights stay off the cells a layer filter hides
357
448
 
358
- - [#2692](https://github.com/tomtom-internal/maps-sdk-js/pull/2692) [`cbc4dc9`](https://github.com/tomtom-internal/maps-sdk-js/commit/cbc4dc9857d306db1eca93d1e9d5a23b1f901141) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - core, services, map: the package now installs on Node.js 22 with any package manager
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))
359
450
 
360
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
361
452
 
362
- - [#2676](https://github.com/tomtom-internal/maps-sdk-js/pull/2676) [`383a6c6`](https://github.com/tomtom-internal/maps-sdk-js/commit/383a6c6e62ce6a183bc1a062a7fa88be5fd7278f) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: Fade a route, the traffic overlays, the incidents you show and your place icons, each with one opacity setting
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))
363
454
 
364
455
  - `RoutingModule` `opacity` fades the route lines and their outlines, selected and deselected; sections keep `sections.<type>.opacity`
365
456
  - `TrafficFlowModule` and `TrafficIncidentsModule` `opacityFactor` multiply the style's own line opacity, its zoom ramp kept; the incident icons stay opaque
@@ -368,9 +459,9 @@
368
459
  - Each is a knob in its module's catalogue
369
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`
370
461
 
371
- - [#2681](https://github.com/tomtom-internal/maps-sdk-js/pull/2681) [`97c0508`](https://github.com/tomtom-internal/maps-sdk-js/commit/97c050866cb312ca1c4e3cfa22c8cbc4d116fd46) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - services: `calculateReachableRange` rejects an arrival time with a message that shows the `when` shape to use instead, `when: { option: 'departAt', date }`
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))
372
463
 
373
- - [#2642](https://github.com/tomtom-internal/maps-sdk-js/pull/2642) [`1d75842`](https://github.com/tomtom-internal/maps-sdk-js/commit/1d75842ba862bf87648eb33beef02d64df7db366) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
374
465
 
375
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
376
467
  - `summaryBubbles.minZoom`, `maxZoom`, `color` and `label` (`color`, `size`, `opacity`, `typeface`, `customTypeface`) are knobs in `routingKnobCatalogue`, all but `customTypeface`
@@ -378,14 +469,14 @@
378
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
379
470
  - New `route-summary-bubbles-playground` example, its panel built from the catalogue
380
471
 
381
- - [#2643](https://github.com/tomtom-internal/maps-sdk-js/pull/2643) [`507e4e5`](https://github.com/tomtom-internal/maps-sdk-js/commit/507e4e52902adbd216ecc9cd8d45c60e7b7b02fd) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: Summary bubbles keep clear of each other, show on the routes you choose and give each alternative's time against the selected route
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))
382
473
 
383
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
384
475
  - `summaryBubbles.routes` shows the bubbles on `all` routes, the `selected` one alone or its `alternatives`
385
476
  - The `durationDifference` field writes each other route's time against the selected one, such as `+6 min`, and `selectRoute` re-times the bubbles
386
477
  - The `route-summary-bubbles-playground` example opens with bubbles timed against the selected route
387
478
 
388
- - [#2684](https://github.com/tomtom-internal/maps-sdk-js/pull/2684) [`eb4da3f`](https://github.com/tomtom-internal/maps-sdk-js/commit/eb4da3f3cad8af1ddc9c4e9d926736fd4a104ab1) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
389
480
 
390
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`
391
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`
@@ -407,14 +498,14 @@
407
498
  - services: `VehicleModel` and `VehicleDimensions` are exported
408
499
  - core: `TomTomConfig.instance.put` drops `undefined` retry fields rather than storing them over the defaults
409
500
 
410
- - [#2690](https://github.com/tomtom-internal/maps-sdk-js/pull/2690) [`e56d293`](https://github.com/tomtom-internal/maps-sdk-js/commit/e56d293fdc713cd7301713ac16bdc1ff581910d4) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - core, services, map: an app now bundles only the SDK code its imports use, so most single imports come out far smaller
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))
411
502
 
412
503
  - core: importing one helper, such as `generateId`, bundles under 1 KB minified instead of about 30 KB with lodash
413
504
  - services: `geocode` bundles about 14 KB minified instead of 68 KB, and `calculateRoute` 32 KB instead of 86 KB, with lodash
414
505
  - map: `TomTomMap` bundles about 44 KB minified on top of MapLibre instead of 123 KB, with lodash
415
506
  - core, services, map: the package declares `sideEffects: false`, so bundlers drop the modules an app doesn't import
416
507
 
417
- - [#2700](https://github.com/tomtom-internal/maps-sdk-js/pull/2700) [`f0d3922`](https://github.com/tomtom-internal/maps-sdk-js/commit/f0d392242f16d86eaf4aa0fd7f1b44888295e8ee) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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`
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))
418
509
 
419
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
420
511
 
@@ -422,7 +513,7 @@
422
513
 
423
514
  ### Minor Changes
424
515
 
425
- - [#2548](https://github.com/tomtom-internal/maps-sdk-js/pull/2548) [`89660b0`](https://github.com/tomtom-internal/maps-sdk-js/commit/89660b065154b0211cb7234fa5d2da6f74ba9086) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
426
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
427
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
428
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
@@ -433,19 +524,19 @@
433
524
 
434
525
  ### Patch Changes
435
526
 
436
- - [#2601](https://github.com/tomtom-internal/maps-sdk-js/pull/2601) [`cd9d3d2`](https://github.com/tomtom-internal/maps-sdk-js/commit/cd9d3d27e910f434ef9df78c3b5f8cdde567fb07) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: `TrafficAreaAnalyticsModule` metric filters no longer make MapLibre validate the whole style on each change
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))
437
528
 
438
- - [#2603](https://github.com/tomtom-internal/maps-sdk-js/pull/2603) [`fadf352`](https://github.com/tomtom-internal/maps-sdk-js/commit/fadf35214f0667c6bd229ca3f49223a136d66d56) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: a traffic flow section at a standstill reports `absoluteSpeed: 0` from `TrafficFlowModule.getRenderedFeatures()` and its events, instead of leaving it `undefined`
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))
439
530
 
440
- - [#2590](https://github.com/tomtom-internal/maps-sdk-js/pull/2590) [`75fb3ea`](https://github.com/tomtom-internal/maps-sdk-js/commit/75fb3eab4d38b2aad8f4f671c3fd84f78ffc19f3) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - license: the privacy clause of `LICENSE.txt` now links the TomTom Privacy Policy, https://www.tomtom.com/privacy/
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))
441
532
 
442
- - [#2547](https://github.com/tomtom-internal/maps-sdk-js/pull/2547) [`447d663`](https://github.com/tomtom-internal/maps-sdk-js/commit/447d6634aecd22002e0c3f206c80917fe53cf047) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: The map fills its container from the first frame on pages whose scrollbars take up layout space, as on Windows
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))
443
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
444
535
 
445
- - [#2535](https://github.com/tomtom-internal/maps-sdk-js/pull/2535) [`51a1d85`](https://github.com/tomtom-internal/maps-sdk-js/commit/51a1d85d07a7578031e8fb95c3d627d0205e120a) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
446
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
447
538
 
448
- - [#2630](https://github.com/tomtom-internal/maps-sdk-js/pull/2630) [`5f5c5dd`](https://github.com/tomtom-internal/maps-sdk-js/commit/5f5c5dd44f4cd8076d1cda3960198d41732707fa) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
449
540
 
450
541
  - The `labels.typeface` knob of `StylingFoundationsModule` takes `sans`, `sans-italic`, `serif` or `serif-italic` (`mapTypefaces`), each label keeping its weight
451
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
@@ -457,12 +548,12 @@
457
548
  - `map-styling-playground` shows the typefaces in its Labels section, beside a route, museums and a district, and its sections now collapse
458
549
  - `themed-map` sets its labels in Fraunces from the first frame
459
550
 
460
- - [#2325](https://github.com/tomtom-internal/maps-sdk-js/pull/2325) [`31a9dd7`](https://github.com/tomtom-internal/maps-sdk-js/commit/31a9dd7cd78edd0100a58ef736196054199880d5) Thanks [@carlosprietofernandez-tomtom](https://github.com/carlosprietofernandez-tomtom)! - map: `RoutingModule`, `PlacesModule`, `CustomGeoJSONModule` and `TrafficIncidentDetailsModule` keep their events and `sourceAndLayerIDs` in step with the layers a later config change adds or removes
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))
461
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`
462
553
 
463
- - [#2600](https://github.com/tomtom-internal/maps-sdk-js/pull/2600) [`fb14661`](https://github.com/tomtom-internal/maps-sdk-js/commit/fb146619ed8a8e7449dc74fff0d6e40f33c2839a) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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()`
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))
464
555
 
465
- - [#2635](https://github.com/tomtom-internal/maps-sdk-js/pull/2635) [`cf929d0`](https://github.com/tomtom-internal/maps-sdk-js/commit/cf929d0020f0a595105b809a8af64c702f3e6f57) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: `RoutingModule.setSectionFocus` rings any section or leg of the shown routes, so your UI can point at the stretch it describes
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))
466
557
 
467
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
468
559
  - `highlight.section.outline.color` and `highlight.section.outline.widthFactor` restyle it, as config or as routing knobs
@@ -470,46 +561,46 @@
470
561
  - examples: `route-leg-options-playground` rings the leg you point at or focus in its panel
471
562
  - examples: `route-styling-playground` rings the route's toll roads, with a colour and a width control for the ring
472
563
 
473
- - [#2627](https://github.com/tomtom-internal/maps-sdk-js/pull/2627) [`e09550e`](https://github.com/tomtom-internal/maps-sdk-js/commit/e09550ebbd9a46d464bb186fb4ec220cafc55170) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: the `maplibre-gl` peer dependency moves up to `^6.13.0`
564
+ - map: the `maplibre-gl` peer dependency moves up to `^6.13.0` ([#2627](https://github.com/tomtom-internal/maps-sdk-js/pull/2627))
474
565
 
475
- - [#2625](https://github.com/tomtom-internal/maps-sdk-js/pull/2625) [`a1fe38b`](https://github.com/tomtom-internal/maps-sdk-js/commit/a1fe38b520341e70efc22900aa17ce5edeb7f9cb) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
476
567
 
477
- - [#2528](https://github.com/tomtom-internal/maps-sdk-js/pull/2528) [`fe64ed1`](https://github.com/tomtom-internal/maps-sdk-js/commit/fe64ed17caba48f9e95316981e89865c51d021c0) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: a `TerrainModule` change that leaves the 3D surface as it was, such as a hillshade knob, no longer makes MapLibre rebuild the terrain
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))
478
569
 
479
- - [#2614](https://github.com/tomtom-internal/maps-sdk-js/pull/2614) [`fe596fc`](https://github.com/tomtom-internal/maps-sdk-js/commit/fe596fcb2d1c5a05dddb77547f48debc1b856a12) Thanks [@JulianChinAFoeng-TomTom](https://github.com/JulianChinAFoeng-TomTom)! - tests: each package's unit test run now fails when its coverage drops below the goals in `TESTING.md`
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))
480
571
 
481
572
  ## 1.0.0-rc.1
482
573
 
483
574
  ### Patch Changes
484
575
 
485
- - [#2517](https://github.com/tomtom-internal/maps-sdk-js/pull/2517) [`49611d0`](https://github.com/tomtom-internal/maps-sdk-js/commit/49611d0ac91dc0b584e3d059d1f654208bdead6c) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - `npm install @tomtom-org/maps-sdk` installs the 1.0.0 release candidate, with no `@rc` needed, and the npm page shows its README
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))
486
577
 
487
578
  ## 1.0.0-rc.0
488
579
 
489
580
  ### Major Changes
490
581
 
491
- - [#2482](https://github.com/tomtom-internal/maps-sdk-js/pull/2482) [`e6590f2`](https://github.com/tomtom-internal/maps-sdk-js/commit/e6590f20417dea946a55d3201d50d29ce32a9697) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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.
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))
492
583
 
493
584
  ### Minor Changes
494
585
 
495
- - [#2490](https://github.com/tomtom-internal/maps-sdk-js/pull/2490) [`62c5726`](https://github.com/tomtom-internal/maps-sdk-js/commit/62c572635b97c084af81b08b2b6b84f338c193ca) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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`
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))
496
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
497
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
498
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
499
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 }`
500
591
  - map: a style, tile, sprite or glyph answered `403` reaches the error handlers as `INSUFFICIENT_PERMISSIONS`
501
592
 
502
- - [#2512](https://github.com/tomtom-internal/maps-sdk-js/pull/2512) [`f8e49db`](https://github.com/tomtom-internal/maps-sdk-js/commit/f8e49dbf1876097b2a0c62cf5e6c1e1feb494178) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
503
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
504
595
  - map: `TrafficIncidentsModule` `filters: { delays: { mustHaveDelay, minDelayMinutes } }` is `filters: { delays: { required, minMinutes } }`, and the knob ids follow
505
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
506
597
  - agent-toolkit: `setMapStyling`'s globe example sets `view.sky.visible`
507
598
 
508
- - [#2485](https://github.com/tomtom-internal/maps-sdk-js/pull/2485) [`ac09c1e`](https://github.com/tomtom-internal/maps-sdk-js/commit/ac09c1e37d192837467d6575ce8bc99464e11455) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
509
600
  - `PlacesKnob` no longer includes `text`
510
601
  - `TrafficFlowKnob`, `TrafficIncidentsKnob`, `TrafficIncidentDetailsKnob` and `TrafficAreaAnalyticsKnob` no longer include `image`
511
602
 
512
- - [#2505](https://github.com/tomtom-internal/maps-sdk-js/pull/2505) [`308c3af`](https://github.com/tomtom-internal/maps-sdk-js/commit/308c3af3a5375b12293b2018413f4f78286739d6) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
513
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
514
605
  - map: `RoutingModule` `width`, `sections.<type>.width` and `waypoints.size` are `widthPreset`, `sections.<type>.widthPreset` and `waypoints.sizePreset`
515
606
  - map: `PlacesModule` `cluster.source` takes `radius`, `maxZoom`, `minPoints` and `properties` instead of MapLibre's `clusterRadius`, `clusterMaxZoom`, `clusterMinPoints` and `clusterProperties`, typed by `PlacesClusterSourceConfig`
@@ -518,12 +609,12 @@
518
609
  - map: each renamed property's knob id follows it
519
610
  - agent-toolkit: the tools keep their parameters, and the plugin needs SDK 1.0.0-rc.0
520
611
 
521
- - [#2489](https://github.com/tomtom-internal/maps-sdk-js/pull/2489) [`640b53b`](https://github.com/tomtom-internal/maps-sdk-js/commit/640b53bf1c0ea20ce996053ee2f1a664310a381d) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: the map loads TomTom standard styles only, so a custom style URL or style JSON no longer loads
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))
522
613
  - `StyleInput` no longer takes `{ type: 'custom', url }` or `{ type: 'custom', json }`, and `CustomStyle` and `CustomStyleSource` are no longer exported
523
614
  - `lightDarkTheme` is gone with them: `map.styleLightDarkTheme` follows from the standard style ID
524
615
  - Restyle a standard style at runtime with `StylingFoundationsModule` and `setMapColors` instead
525
616
 
526
- - [#2495](https://github.com/tomtom-internal/maps-sdk-js/pull/2495) [`530b895`](https://github.com/tomtom-internal/maps-sdk-js/commit/530b8955ebe0d6724b9dc14d5a0d08a37e4b4df8) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
527
618
  - services: `evChargingStationsAvailability`, `getPlacesWithEVAvailability`, `getPlaceWithEVAvailability` and `hasChargingAvailability` are removed
528
619
  - services: long-distance EV routing is removed: `vehicle.preferences`, `chargingStopsStrategy` and `chargingStopsStrategies`
529
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
@@ -534,23 +625,23 @@
534
625
 
535
626
  The *Upgrading to 1.0 from a 0.x release* guide lists every removed name.
536
627
 
537
- - [#2507](https://github.com/tomtom-internal/maps-sdk-js/pull/2507) [`9ab7e7c`](https://github.com/tomtom-internal/maps-sdk-js/commit/9ab7e7c4e5e97950f9c6ba06ff228ac99393a3d4) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: each standard style ID is the Orbis style it loads, in camelCase
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))
538
629
  - map: `standardLight`, `standardDark`, `drivingLight`, `drivingDark` and `satellite` are `streetLight`, `streetDark`, `streetLightDriving`, `streetDarkDriving` and `streetSatellite`; `monoLight` and `monoDark` stay
539
630
  - agent-toolkit: `setMapStandardStyle` takes the new IDs, `resetState` reverts to `streetLight`, and the plugin needs SDK 1.0.0-rc.0
540
631
  - map-theme, landmarks-3d: their docs name the new IDs
541
632
 
542
633
  ### Patch Changes
543
634
 
544
- - [#2500](https://github.com/tomtom-internal/maps-sdk-js/pull/2500) [`d19d11d`](https://github.com/tomtom-internal/maps-sdk-js/commit/d19d11d41546bac2dd870560b9508bb0b3a2ce2a) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: the `maplibre-gl` peer dependency moves up to `^6.12.0`
635
+ - map: the `maplibre-gl` peer dependency moves up to `^6.12.0` ([#2500](https://github.com/tomtom-internal/maps-sdk-js/pull/2500))
545
636
 
546
- - [#2506](https://github.com/tomtom-internal/maps-sdk-js/pull/2506) [`12099bd`](https://github.com/tomtom-internal/maps-sdk-js/commit/12099bdc040f3ce2d3990266bfb42024cda7956c) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
547
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
548
639
 
549
- - [#2505](https://github.com/tomtom-internal/maps-sdk-js/pull/2505) [`308c3af`](https://github.com/tomtom-internal/maps-sdk-js/commit/308c3af3a5375b12293b2018413f4f78286739d6) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
550
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
551
642
  - map: with `method: 'multidirectional'`, `hillshade.light.direction` is the centre of four lights spread over 135°
552
643
 
553
- - [#2503](https://github.com/tomtom-internal/maps-sdk-js/pull/2503) [`a472dd0`](https://github.com/tomtom-internal/maps-sdk-js/commit/a472dd0183bbb6fb9c0da96ee18363e17b903b1f) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: `TrafficIncidentsModule` can show planned incidents, and its incident descriptions follow the map language
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))
554
645
 
555
646
  - `timeValidity: ['present', 'future']` brings scheduled roadworks and closures in next to the incidents under way, also as the `timeValidity` knob
556
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
@@ -560,49 +651,49 @@
560
651
 
561
652
  ### Minor Changes
562
653
 
563
- - [#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477) [`5b00d34`](https://github.com/tomtom-internal/maps-sdk-js/commit/5b00d34ea25ef436fe6ae53fa46b986837e4fcf7) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
564
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
565
656
  - map: `beforeLayerConfig` on the module places every layer that sets none, `'top'` by default
566
657
  - agent-toolkit: `setByodLayers` keeps its `beforeID` parameter and needs SDK 0.64.0
567
658
 
568
- - [#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477) [`5b00d34`](https://github.com/tomtom-internal/maps-sdk-js/commit/5b00d34ea25ef436fe6ae53fa46b986837e4fcf7) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: the event-state methods are `setEventState`, `clearEventState` and `clearEventStates`, and the style-owned modules' `getShown()` is `getRenderedFeatures()`
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))
569
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`
570
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
571
662
 
572
- - [#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477) [`5b00d34`](https://github.com/tomtom-internal/maps-sdk-js/commit/5b00d34ea25ef436fe6ae53fa46b986837e4fcf7) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
573
664
  - RoutingModule: `highlight: { outlineWidthFactor }` is `highlight: { outline: { widthFactor } }`, knob id `highlight.outline.widthFactor`
574
665
  - GeometriesModule and ReachableRangesModule: `highlight: { fillOpacityFactor, lineWidthFactor }` is `highlight: { fill: { opacityFactor }, line: { widthFactor } }`, knob ids `highlight.fill.opacityFactor` and `highlight.line.widthFactor`
575
666
  - TrafficIncidentDetailsModule: `highlight: { outlineColor, widthFactor }` is `highlight: { outline: { color }, line: { widthFactor } }`, knob ids `highlight.outline.color` and `highlight.line.widthFactor`
576
667
 
577
- - [#2480](https://github.com/tomtom-internal/maps-sdk-js/pull/2480) [`060ab3d`](https://github.com/tomtom-internal/maps-sdk-js/commit/060ab3dd3a9e01bbaa8f870fdad1703e674bd110) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
578
669
  - services: such a call rejects with an `SDKError` coded `INSECURE_BASE_URL` before any request, even with `validateRequest: false`
579
670
  - map: the `TomTomMap` constructor throws a `TomTomMapError` coded `INSECURE_BASE_URL`
580
671
  - a relative base URL, such as `/api`, still follows the page
581
672
 
582
- - [#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477) [`5b00d34`](https://github.com/tomtom-internal/maps-sdk-js/commit/5b00d34ea25ef436fe6ae53fa46b986837e4fcf7) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map, services: internals that were exported without documentation are no longer exported
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))
583
674
  - map: `EventsProxy`, `sharedInstance`, `TomTomMapSource`, `InternalTomTomMapParams`, `poiLayerIDs`, `buildRoutingLayers` and `ROUTE_LINE_OUTLINE_COLOR`, whose value the upgrade guide gives
584
675
  - services: the geometry data wire-format types `GeometryDataResponseAPI` and `AdditionalDataAPI`
585
676
  - flyover: the arrow marker keeps its default fill, now defined in the plugin rather than imported from the SDK
586
677
 
587
- - [#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477) [`5b00d34`](https://github.com/tomtom-internal/maps-sdk-js/commit/5b00d34ea25ef436fe6ae53fa46b986837e4fcf7) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: a shape's edge is its outline and a label's is its halo, in every module
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))
588
679
  - map: the map colour `labelOutline` is `labelHalo`, knob id `colors.labelHalo`
589
680
  - map: PlacesModule `cluster.badge.strokeColor` and `strokeWidth` are `outlineColor` and `outlineWidth`, knob ids `cluster.badge.outlineColor` and `cluster.badge.outlineWidth`
590
681
  - map-theme: `deriveMapColors`, `deriveMapColorsFromCss` and `deriveMapColorsFromImage` return `labelHalo` in place of `labelOutline`, and need SDK 0.64.0
591
682
 
592
- - [#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477) [`5b00d34`](https://github.com/tomtom-internal/maps-sdk-js/commit/5b00d34ea25ef436fe6ae53fa46b986837e4fcf7) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: ReachableRangesModule's border labels are `lineLabel`, as GeometriesModule names the labels along a line
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))
593
684
  - `label` is `lineLabel`, its knob ids `lineLabel.*`, and `ReachableRangeLabelConfig` is `ReachableRangeLineLabelConfig`
594
685
 
595
- - [#2477](https://github.com/tomtom-internal/maps-sdk-js/pull/2477) [`5b00d34`](https://github.com/tomtom-internal/maps-sdk-js/commit/5b00d34ea25ef436fe6ae53fa46b986837e4fcf7) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** services: `getSearchSuggestions` takes `limit` and `geoBias: { position }`, as the other searches name them
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))
596
687
  - `getSearchSuggestions({ maxResults: 8, origin: [4.9, 52.37] })` is `getSearchSuggestions({ limit: 8, geoBias: { position: [4.9, 52.37] } })`; defaults and behaviour are unchanged
597
688
 
598
- - [#2480](https://github.com/tomtom-internal/maps-sdk-js/pull/2480) [`060ab3d`](https://github.com/tomtom-internal/maps-sdk-js/commit/060ab3dd3a9e01bbaa8f870fdad1703e674bd110) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** services, map: every SDK error names what went wrong in a `code`, one of `SDKErrorCode`, and carries the `sdkVersion` that raised it
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))
599
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`
600
691
  - services: a request that gets no response rejects with `NETWORK_ERROR`, keeping what `fetch` threw as its `cause`
601
692
  - **Breaking:** services: `SDKError`'s third constructor argument is an options object, `{ code, issues?, cause? }`, instead of the Zod issues
602
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
603
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
604
695
 
605
- - [#2480](https://github.com/tomtom-internal/maps-sdk-js/pull/2480) [`060ab3d`](https://github.com/tomtom-internal/maps-sdk-js/commit/060ab3dd3a9e01bbaa8f870fdad1703e674bd110) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** core, services, map: 37 internal helpers and types are no longer exported, or no longer in the published types
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))
606
697
  - **Breaking:** core: `bboxExpandedWithPosition`, `bboxExpandedWithBBox`, `bboxExpandedWithGeoJSON`, `toPointFeature`
607
698
  - **Breaking:** services: `ServiceTemplate`, `ParseResponseError`, `ParsedFetchResponse`, `RequestOptions`, `parseDefaultResponseError`, `buildResponseError`, `buildValidationError`
608
699
  - **Breaking:** map: `renderedRefId`, `findFeatureByRefId`, `filterLayersBySources`, `withEventState`, `combineEventScopes`, `scopedLayerSpecs`, `reservedScopeNames`, `assertNoReservedScopeNames`, `getIconIDForPlace`, `getPOIGroupForPlace`, `getPOILayerCategoryForPlace`, `STOP_DISPLAY_LABEL`, `getStyleCategories`
@@ -610,19 +701,19 @@
610
701
 
611
702
  ### Patch Changes
612
703
 
613
- - [#2479](https://github.com/tomtom-internal/maps-sdk-js/pull/2479) [`b6ec343`](https://github.com/tomtom-internal/maps-sdk-js/commit/b6ec3438fb953ba344dbdc5a9c3cf5c0c4190e03) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: `MapLibreOptions` no longer accepts `transformRequest`, which the SDK sets itself, so a value that never took effect is now a type error
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))
614
705
  - route TomTom requests through a proxy of your own with `commonBaseURL` instead
615
706
 
616
- - [#2475](https://github.com/tomtom-internal/maps-sdk-js/pull/2475) [`564bee4`](https://github.com/tomtom-internal/maps-sdk-js/commit/564bee4d44d79a2a6a66290115f3214afadfa090) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
617
708
  - `registerMapLibreWorker: false` keeps MapLibre's own worker lookup
618
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
619
710
 
620
- - [#2479](https://github.com/tomtom-internal/maps-sdk-js/pull/2479) [`b6ec343`](https://github.com/tomtom-internal/maps-sdk-js/commit/b6ec3438fb953ba344dbdc5a9c3cf5c0c4190e03) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - core: a partial `retry` passed to `TomTomConfig.instance.put` takes its missing fields from the default retry config
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))
621
712
  - `put({ retry: { timeoutMs: 10000 } })` no longer leaves `initialWaitMs` and `backoffFactor` undefined, which made `429` retries wait `NaN` milliseconds
622
713
 
623
- - [#2480](https://github.com/tomtom-internal/maps-sdk-js/pull/2480) [`060ab3d`](https://github.com/tomtom-internal/maps-sdk-js/commit/060ab3dd3a9e01bbaa8f870fdad1703e674bd110) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
624
715
 
625
- - [#2479](https://github.com/tomtom-internal/maps-sdk-js/pull/2479) [`b6ec343`](https://github.com/tomtom-internal/maps-sdk-js/commit/b6ec3438fb953ba344dbdc5a9c3cf5c0c4190e03) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - services, map: import as values the catalogues that only exported their types
716
+ - services, map: import as values the catalogues that only exported their types ([#2479](https://github.com/tomtom-internal/maps-sdk-js/pull/2479))
626
717
  - services: `arrivalSides`, `chargingStopsStrategies` and `functionalRoadClasses` from `@tomtom-org/maps-sdk/services`, as `routeTypes` already is
627
718
  - map: `AREA_ANALYTICS_DEFAULTS` from `@tomtom-org/maps-sdk/map`
628
719
 
@@ -630,40 +721,40 @@
630
721
 
631
722
  ### Minor Changes
632
723
 
633
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: TrafficAreaAnalyticsModule names its settings as the other modules do, so its config and knob ids change
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))
634
725
  - `metricConfig` is `metrics`, and its knob ids `metrics.<metric>.*`
635
726
  - a colour stops' `valueType` is `scaleMode`, taking the height's values: `'predefinedRange'`, `'currentRange'` and `'raw'`; `AreaAnalyticsValueType` is `AreaAnalyticsScaleMode`
636
727
  - `regionPolygon` takes `fill: { opacity }`, `line: { opacity, width }` and `fillStyle: 'filled' | 'inverted'` in place of `fillOpacity`, `outlineOpacity`, `outlineWidth` and `inverted`
637
728
 
638
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
639
730
  - map: show or hide a group with `baseMap.setVisible(visible, { layerGroups: { show: 'only', values: ['buildings3D'] } })`, or `setKnob(baseMap, baseMapKnobCatalogue, 'groups.buildings3D.visible', true)`
640
731
  - map: the `data-viz`, `night-driving` and `minimal` presets no longer show or hide the building groups and the road shields
641
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
642
733
 
643
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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 }`.
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))
644
735
 
645
- - [#2465](https://github.com/tomtom-internal/maps-sdk-js/pull/2465) [`9d7d46c`](https://github.com/tomtom-internal/maps-sdk-js/commit/9d7d46c719b29f67fda64069a819129291063e34) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: **Breaking:** `GeometriesModule` takes MapLibre border overrides only through `layers.line`
736
+ - map: **Breaking:** `GeometriesModule` takes MapLibre border overrides only through `layers.line` ([#2465](https://github.com/tomtom-internal/maps-sdk-js/pull/2465))
646
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
647
738
 
648
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
649
740
  - map: `IncidentFocusStyle` is `IncidentHighlightConfig`, the knob ids `focus.outlineColor` and `focus.widthFactor` are `highlight.outlineColor` and `highlight.widthFactor`
650
741
  - map: the `layers.focusHalo` override is `layers.highlightHalo`, and the layer id suffix `-focus-halo` is `-highlight-halo`
651
742
 
652
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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`
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))
653
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()`
654
745
  - `getKnob(module, catalogue, id)` returns the value in force, or the catalogue default where the configuration sets none
655
746
  - `resetKnob(module, catalogue, id)` drops the knob from the configuration, so a `setKnob` then a `resetKnob` leaves `getConfig()` as it was
656
747
  - `KnobTarget` types what the three functions take, for a control panel written once for any module
657
748
 
658
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
659
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`
660
751
  - `INCIDENT_FOCUS_WIDTH_FACTOR_RANGE` is `knobEntryOf(trafficIncidentDetailsKnobCatalogue, 'highlight.widthFactor').range`
661
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
662
753
  - `knobEntryOf` throws an `Error` naming an id its catalogue lacks
663
754
 
664
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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.
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))
665
756
 
666
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
667
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`
668
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`
669
760
  - map: the hillshade knobs are `TerrainModule`'s, under the same `hillshade.*` ids in `terrainKnobCatalogue` and `TerrainModuleConfig`
@@ -671,54 +762,54 @@
671
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
672
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`
673
764
 
674
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: the undocumented internals `mapDisplayPoiCategoryMappings`, `toBaseMapPOICategory`, `toBaseMapPOIGroup`, `baseMapPOICategoryValues`, `sharedInstanceIfCreated` and `SymbolLayerSpecWithoutSource` are no longer exported; `MapStylePOICategory` stays
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))
675
766
 
676
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
677
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
678
769
  - map: `applyMapPreset` creates the modules the map lacks, takes `{ merge: true }` as before, and throws an `Error` for an unknown id
679
770
 
680
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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`
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))
681
772
 
682
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: `StylingModule` is `StylingFoundationsModule`, the name of what it holds now that every other module styles its own layers
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))
683
774
  - map: its types and catalogue follow: `StylingFoundationsModuleConfig`, `StylingFoundationsEvents`, `StylingFoundationsKnob`, `StylingFoundationsKnobId`, `StylingFoundationsKnobKind`, `StylingFoundationsKnobRange`, `StylingFoundationsKnobValue`, `StylingFoundationsKnobValueOf`, `StylingFoundationsKnobAppliesTo`, `stylingFoundationsKnobCatalogue`, `stylingFoundationsKnobIds`, `stylingFoundationsKnobKinds` and `stylingFoundationsKnobAppliesTo`
684
775
  - agent-toolkit: the base-map state's `getStylingModule()` is `getStylingFoundationsModule()`
685
776
 
686
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: `StylingSettings` is `StylingFoundationsModuleConfig`, the name every other module gives its configuration
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))
687
778
 
688
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: every show-or-hide setting is a `visible` flag, so TerrainModule nests its settings and Places' EV availability drops `enabled`
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))
689
780
  - `TerrainModule` takes `{ hillshade: { visible }, elevation: { visible, exaggeration } }`; its knob ids are `hillshade.visible`, `elevation.visible` and `elevation.exaggeration`
690
781
  - `terrain.setElevationEnabled` and `isElevationEnabled` are `setElevationVisible` and `isElevationVisible`
691
782
  - `PlacesModule`'s `evAvailability.enabled` is `evAvailability.visible`, in the config and as a knob id
692
783
 
693
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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.
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))
694
785
 
695
786
  ### Patch Changes
696
787
 
697
- - [#2461](https://github.com/tomtom-internal/maps-sdk-js/pull/2461) [`cc853be`](https://github.com/tomtom-internal/maps-sdk-js/commit/cc853bec8b80ea9a49ea729e05b0897e14ff4e0a) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: `TrafficAreaAnalyticsModule` colour stops given out of order or sharing a value still paint the cells
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))
698
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
699
790
  - Stops are sorted, and of stops sharing a value the last given wins
700
791
 
701
- - [#2472](https://github.com/tomtom-internal/maps-sdk-js/pull/2472) [`40f759a`](https://github.com/tomtom-internal/maps-sdk-js/commit/40f759a77fecb015c15dcab06925c334170fda7d) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - Built on the refreshed toolchain (`vite` 8.3.2, `rolldown` 1.2.12, Biome 2.5.15); the runtime and peer dependencies are unchanged
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))
702
793
 
703
- - [#2471](https://github.com/tomtom-internal/maps-sdk-js/pull/2471) [`c91f4bb`](https://github.com/tomtom-internal/maps-sdk-js/commit/c91f4bb2f60fb2830dfe7933b748ebcc1f969367) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
704
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
705
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
706
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
707
798
 
708
- - [#2466](https://github.com/tomtom-internal/maps-sdk-js/pull/2466) [`9959fff`](https://github.com/tomtom-internal/maps-sdk-js/commit/9959fffc945a70012a8f8c6b2cbd69ce46cbf274) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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`
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))
709
800
 
710
- - [#2461](https://github.com/tomtom-internal/maps-sdk-js/pull/2461) [`cc853be`](https://github.com/tomtom-internal/maps-sdk-js/commit/cc853bec8b80ea9a49ea729e05b0897e14ff4e0a) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
711
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
712
803
 
713
804
  ## 0.62.3
714
805
 
715
806
  ### Patch Changes
716
807
 
717
- - [#2454](https://github.com/tomtom-internal/maps-sdk-js/pull/2454) [`a674139`](https://github.com/tomtom-internal/maps-sdk-js/commit/a674139c3ac9c91d2fb78fd60179b74165391122) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
718
809
  - Traffic Area Analytics cells with such a `beforeLayerConfig`
719
810
  - Custom GeoJSON layers with such a `beforeID`
720
811
 
721
- - [#2454](https://github.com/tomtom-internal/maps-sdk-js/pull/2454) [`a674139`](https://github.com/tomtom-internal/maps-sdk-js/commit/a674139c3ac9c91d2fb78fd60179b74165391122) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
722
813
  - Their layers are kept through the switch and take on the new style's look in place
723
814
  - A clean switch (`resetState: true`) still removes them along with the old style
724
815
 
@@ -726,26 +817,26 @@
726
817
 
727
818
  ### Patch Changes
728
819
 
729
- - [#2440](https://github.com/tomtom-internal/maps-sdk-js/pull/2440) [`7083b86`](https://github.com/tomtom-internal/maps-sdk-js/commit/7083b86c934a505f4b33f0780a52c4fbab605e9b) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: `getShown()` on `TrafficIncidentsModule`, `TrafficFlowModule` and `POIsModule` leaves out what `setVisible(false)` just hid
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))
730
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
731
822
 
732
- - [#2451](https://github.com/tomtom-internal/maps-sdk-js/pull/2451) [`50b6a70`](https://github.com/tomtom-internal/maps-sdk-js/commit/50b6a70142b5db6c098d879c1c6e97ea448d2818) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
733
824
  - `styling.layers.query` takes the layers of the other style-owned modules as a `group`: `pois`, `trafficFlow`, `trafficIncidents` and `hillshade` (`styleModuleLayerGroupNames`)
734
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
735
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
736
827
  - `TrafficAreaAnalyticsModule` keeps the cells within both a metric filter's `min` and its `max`, where it kept the cells within either
737
828
 
738
- - [#2442](https://github.com/tomtom-internal/maps-sdk-js/pull/2442) [`97f56ac`](https://github.com/tomtom-internal/maps-sdk-js/commit/97f56ac4fedabb6cde3a35ad55ae1fd9010c0c84) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: draw the map's own POIs of a category with an icon of your own, through `POIsModule`'s `icon.categoryIcons`
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))
739
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
740
831
 
741
- - [#2449](https://github.com/tomtom-internal/maps-sdk-js/pull/2449) [`26f00de`](https://github.com/tomtom-internal/maps-sdk-js/commit/26f00de125d79ff163bfe15022b27d78f3f9f070) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
742
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
743
834
  - Covers `getCoordinateAtRouteProgress`, `calculateProgressAtRoutePoint`, `getRouteProgressBetween`, `getRouteProgressForSection` and `getProgressAtNearestRoutePoint`; on a winding route, values between entries can move by a couple of kilometres or minutes
744
835
 
745
- - [#2453](https://github.com/tomtom-internal/maps-sdk-js/pull/2453) [`7fcf4b5`](https://github.com/tomtom-internal/maps-sdk-js/commit/7fcf4b5b154baac6d8f530a68f29d8b03b3c5828) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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)
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))
746
837
  - Knobs set once the style has drawn keep the style's transition
747
838
 
748
- - [#2440](https://github.com/tomtom-internal/maps-sdk-js/pull/2440) [`7083b86`](https://github.com/tomtom-internal/maps-sdk-js/commit/7083b86c934a505f4b33f0780a52c4fbab605e9b) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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.
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))
749
840
 
750
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`.
751
842
  - `routingKnobCatalogue` lists the new plain settings; `buildWaypointTitle` is exported, and handlers on `events.waypoints` receive the stop's mark as `stopDisplayLabel`.
@@ -759,7 +850,7 @@
759
850
 
760
851
  ### Patch Changes
761
852
 
762
- - [#2439](https://github.com/tomtom-internal/maps-sdk-js/pull/2439) [`c9211a6`](https://github.com/tomtom-internal/maps-sdk-js/commit/c9211a6d13c2eb76ac9fcc562779aa7a60e1032d) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
763
854
  - Covers the speed limit, tunnel and closed-to-vehicles signs, and the ferry, toll-road and traffic icons.
764
855
  - The room follows the waypoint icon's `icon-anchor`, so a `layers.waypoints.routeWaypointSymbol` override is honoured.
765
856
 
@@ -767,7 +858,7 @@
767
858
 
768
859
  ### Minor Changes
769
860
 
770
- - [#2425](https://github.com/tomtom-internal/maps-sdk-js/pull/2425) [`d4bae68`](https://github.com/tomtom-internal/maps-sdk-js/commit/d4bae6859816468374f9747f6e46a14fe8b931b2) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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`
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))
771
862
 
772
863
  - map: **Breaking:** `AreaAnalyticsColorTheme` is `AreaAnalyticsPalette`, and `areaAnalyticsPalettes` lists its names. Rename the type
773
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 }`
@@ -777,20 +868,20 @@
777
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 })`
778
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
779
870
 
780
- - [#2422](https://github.com/tomtom-internal/maps-sdk-js/pull/2422) [`8946cdd`](https://github.com/tomtom-internal/maps-sdk-js/commit/8946cdd59fd4369e04efe3c798e28176446f8d32) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: `TrafficIncidentsModule.isIconsVisible()` returns the incident icons setting, replacing `anyIconLayersVisible()`.
871
+ - **Breaking:** map: `TrafficIncidentsModule.isIconsVisible()` returns the incident icons setting, replacing `anyIconLayersVisible()`. ([#2422](https://github.com/tomtom-internal/maps-sdk-js/pull/2422))
781
872
 
782
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')`
783
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 } }`
784
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
785
876
 
786
- - [#2436](https://github.com/tomtom-internal/maps-sdk-js/pull/2436) [`a4e54b1`](https://github.com/tomtom-internal/maps-sdk-js/commit/a4e54b1ae883341adfd6eeb3511a0f9f1b3fd9c1) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
787
878
 
788
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`
789
880
  - `PlacesModule` connections take `connections.color`, `connections.textColor` and `connections.haloColor`, all three in `placesKnobCatalogue`
790
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
791
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
792
883
 
793
- - [#2431](https://github.com/tomtom-internal/maps-sdk-js/pull/2431) [`4bbf37d`](https://github.com/tomtom-internal/maps-sdk-js/commit/4bbf37d567b98811dc2175e9c3f8c571d65867bf) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - Breaking changes:
884
+ - Breaking changes ([#2431](https://github.com/tomtom-internal/maps-sdk-js/pull/2431)):
794
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`
795
886
  - map: `trafficIncidentOverlayKnobCatalogue`, `trafficIncidentOverlayKnobIds`, `TrafficIncidentOverlayKnob`, `TrafficIncidentOverlayKnobId` and `TrafficIncidentOverlayKnobValueOf` follow the module: `trafficIncidentDetailsKnobCatalogue`, `trafficIncidentDetailsKnobIds`, `TrafficIncidentDetailsKnob`, `TrafficIncidentDetailsKnobId`, `TrafficIncidentDetailsKnobValueOf`
796
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[]`
@@ -798,7 +889,7 @@
798
889
  - map: `TomTomMap.getStyle()` is `getStyleInput()`, as it returns the `StyleInput` the map was given and not the style specification MapLibre's `getStyle()` returns
799
890
  - map: `POIsModule.getShown()` returns `{ pois }`, no longer `{ poi }`, and the module's source key is `pois` too
800
891
 
801
- - [#2429](https://github.com/tomtom-internal/maps-sdk-js/pull/2429) [`092c6cd`](https://github.com/tomtom-internal/maps-sdk-js/commit/092c6cdd0d1e8d4b3f2aa1c22886ca655980fc8b) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: every module setting changes through `applyConfig`, `updateConfig` or `setKnob`; the setters that changed one setting are removed.
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))
802
893
 
803
894
  - **Breaking:** map: `places.applyMarkerType(type)`, `applyIconConfig(icon)`, `applyLabelConfig(label)`, `applyExtraFeatureProps(props)` are removed: use `places.updateConfig({ markerType, icon, label, extraFeatureProps })`
804
895
  - **Breaking:** map: `geometries.applyLabelConfig(label)` is removed: use `geometries.updateConfig({ label })`
@@ -811,7 +902,7 @@
811
902
  - map: `PlacesModule.applyConfig` and `updateConfig` take the place shape, so `label.title`, `extraFeatureProps` and the icon mapping read your own place properties typed
812
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
813
904
 
814
- - [#2436](https://github.com/tomtom-internal/maps-sdk-js/pull/2436) [`a4e54b1`](https://github.com/tomtom-internal/maps-sdk-js/commit/a4e54b1ae883341adfd6eeb3511a0f9f1b3fd9c1) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
815
906
 
816
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
817
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
@@ -827,7 +918,7 @@
827
918
 
828
919
  ### Patch Changes
829
920
 
830
- - [#2388](https://github.com/tomtom-internal/maps-sdk-js/pull/2388) [`efce482`](https://github.com/tomtom-internal/maps-sdk-js/commit/efce4825b868ca7fa21ad7f30d6c35b55692618c) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: hover and click states survive a style change on every data-owned module, and a user event moves a state your code put.
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))
831
922
 
832
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
833
924
  - map: a `TrafficAreaAnalyticsModule` style change no longer emits `shown-features`, as on the other modules
@@ -835,39 +926,39 @@
835
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
836
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
837
928
 
838
- - [#2388](https://github.com/tomtom-internal/maps-sdk-js/pull/2388) [`efce482`](https://github.com/tomtom-internal/maps-sdk-js/commit/efce4825b868ca7fa21ad7f30d6c35b55692618c) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: every data-owned module reads and writes the event states of the features it shows — `putEventState`, `cleanEventState`, `cleanEventStates` and `getEventStates`.
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))
839
930
 
840
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
841
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
842
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`
843
934
 
844
- - [#2388](https://github.com/tomtom-internal/maps-sdk-js/pull/2388) [`efce482`](https://github.com/tomtom-internal/maps-sdk-js/commit/efce4825b868ca7fa21ad7f30d6c35b55692618c) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: hovered and clicked routes, geometries and traffic incidents stand out by default; routes and geometries take how much from `highlight` factors, also knobs.
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))
845
936
 
846
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
847
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
848
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
849
940
 
850
- - [#2430](https://github.com/tomtom-internal/maps-sdk-js/pull/2430) [`beab2dc`](https://github.com/tomtom-internal/maps-sdk-js/commit/beab2dc8fbba7c008d599dad3b4b826f6f0dc3bd) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: `PlacesModule` takes a `beforeLayerConfig` (`PlacesBeforeLayerConfig`), placing its layers in the map's layer stack as one or per part
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))
851
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
852
943
  - `applyConfig` and `updateConfig` restack the layers, a style change keeps them there and `resetConfig` puts them back. Unconfigured, the layer order is unchanged
853
944
 
854
- - [#2428](https://github.com/tomtom-internal/maps-sdk-js/pull/2428) [`028cb20`](https://github.com/tomtom-internal/maps-sdk-js/commit/028cb208e1fdf17fe5a94e563965912a4f6375cc) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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`).
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))
855
946
 
856
- - [#2426](https://github.com/tomtom-internal/maps-sdk-js/pull/2426) [`08bd572`](https://github.com/tomtom-internal/maps-sdk-js/commit/08bd572eac716a2bc79dea7df3374ee2e983637a) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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.
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))
857
948
 
858
949
  ## 0.61.0
859
950
 
860
951
  ### Minor Changes
861
952
 
862
- - [#2397](https://github.com/tomtom-internal/maps-sdk-js/pull/2397) [`8a5a28f`](https://github.com/tomtom-internal/maps-sdk-js/commit/8a5a28fb69c567dc3ebc9c6603bb30ee406c1d36) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** services: `discoverPlaces` replaces `alongRouteSearch`, and the search response and wire-format types are not exported.
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))
863
954
 
864
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`
865
956
  - **Breaking:** services: the response types of the three searches `discoverPlaces` runs are not exported: `AlongRouteSearchResponse`, `FuzzySearchResponse` and `GeometrySearchResponse` → `DiscoverPlacesResponse`, `GeometrySearchFeatureCollectionProps` → `SearchSummary`
866
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`
867
958
 
868
- - [#2396](https://github.com/tomtom-internal/maps-sdk-js/pull/2396) [`ef74201`](https://github.com/tomtom-internal/maps-sdk-js/commit/ef7420146f5ac8c8ae5978b40b6a9e71aa3d36e0) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
869
960
 
870
- - [#2378](https://github.com/tomtom-internal/maps-sdk-js/pull/2378) [`a245526`](https://github.com/tomtom-internal/maps-sdk-js/commit/a245526b2cebc9ebdc4f5bd57dd8ebc8ecf58ac1) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: `GeometriesModule` text config is label config, and the geometry config helpers take one options object.
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))
871
962
 
872
963
  - **Breaking:** map: `GeometriesModule.applyTextConfig()` is `applyLabelConfig()`, after the `label` it sets: `geometries.applyTextConfig({ text })` → `geometries.applyLabelConfig({ text })`
873
964
  - **Breaking:** map: `GeometryLabel` is `GeometryLabelConfig` and `GeometryLineLabel` is `GeometryLineLabelConfig`, like `GeometryFillConfig` and `GeometryLineConfig`
@@ -878,12 +969,12 @@
878
969
  - map: `GeometryLabelConfig.text` is optional, so `label: { size: 18 }` restyles the center labels without restating their text
879
970
  - map: `FillStyledGeometryConfigOptions`, `ReachableRangeGeometryConfigOptions` and `ReachableRangesDisplayOptions` name the options objects
880
971
 
881
- - [#2314](https://github.com/tomtom-internal/maps-sdk-js/pull/2314) [`0b69fd6`](https://github.com/tomtom-internal/maps-sdk-js/commit/0b69fd66030cb3e02e5d19f881239451e9975bca) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: a `GeometriesModule` palette name moves from `fill.color` to the new `fill.palette`.
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))
882
973
 
883
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' }`
884
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
885
976
 
886
- - [#2393](https://github.com/tomtom-internal/maps-sdk-js/pull/2393) [`45c3ddf`](https://github.com/tomtom-internal/maps-sdk-js/commit/45c3ddfb641b10cf10635aa0a71ff741f2a02828) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** core: the geopolitical view is set once in `TomTomConfig`, and `View` / `view` are renamed `GeopoliticalView` / `geopoliticalView`.
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))
887
978
 
888
979
  - **Breaking:** core: `View` is renamed `GeopoliticalView`, and `views` is renamed `geopoliticalViews`
889
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
@@ -893,7 +984,7 @@
893
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
894
985
  - services: `getSearchSuggestions` uses the global geopolitical view when the call sets none
895
986
 
896
- - [#2401](https://github.com/tomtom-internal/maps-sdk-js/pull/2401) [`07d7e52`](https://github.com/tomtom-internal/maps-sdk-js/commit/07d7e52a1de9d5422899175414331dc3b75e72fd) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: the knob catalogues gain `enums`, `offset` and `text` knobs, and hold the POI, traffic and routing filters and unit labels.
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))
897
988
 
898
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
899
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
@@ -905,7 +996,7 @@
905
996
  - map: `routingKnobCatalogue` holds the unit labels, `displayUnits.distance.*` and `displayUnits.time.*`, as `text` knobs
906
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
907
998
 
908
- - [#2416](https://github.com/tomtom-internal/maps-sdk-js/pull/2416) [`4d2acd0`](https://github.com/tomtom-internal/maps-sdk-js/commit/4d2acd0eba34f2c8386a85b771261f4d1b9b9a10) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: `validateKnobValue` and `setKnob` check and set knob values, and `KnobRange` requires `bounds`.
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))
909
1000
 
910
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
911
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
@@ -913,7 +1004,7 @@
913
1004
  - map: `StylingModule.set` and `setMapColors` check values with `validateKnobValue`, so their messages match every other module's
914
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
915
1006
 
916
- - [#2411](https://github.com/tomtom-internal/maps-sdk-js/pull/2411) [`37c3a8d`](https://github.com/tomtom-internal/maps-sdk-js/commit/37c3a8d769a0ed0ab5adf1add6f3eb83d7ccb5d0) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: each module's `isVisible()` returns its `visible` setting, and `RoutingModule` gains `setVisible` and `isVisible`.
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))
917
1008
 
918
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')`
919
1010
  - **Breaking:** map: `TrafficIncidentsModule.isVisible()` is `false` when the incidents are set hidden with `icons: { visible: true }`. Read `anyIconLayersVisible()` for the icons
@@ -923,14 +1014,14 @@
923
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
924
1015
  - map: `CustomGeoJSONModule.isVisible()` reads its `visible` setting
925
1016
 
926
- - [#2394](https://github.com/tomtom-internal/maps-sdk-js/pull/2394) [`b5c66cc`](https://github.com/tomtom-internal/maps-sdk-js/commit/b5c66cc1a28f9ab897590d37a7d98fe83837d826) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: `PlacesModule` and the routing charging stops take `label` instead of `text`, as `GeometriesModule` does.
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))
927
1018
 
928
1019
  - **Breaking:** map: `PlacesModuleConfig.text` is `label`, like `GeometriesModuleConfig.label`: `{ text: { title, color } }` → `{ label: { title, color } }`
929
1020
  - **Breaking:** map: `PlaceTextConfig` is `PlaceLabelConfig`
930
1021
  - **Breaking:** map: `PlacesModule.applyTextConfig()` is `applyLabelConfig()`, as on `GeometriesModule`: `places.applyTextConfig({ color })` → `places.applyLabelConfig({ color })`
931
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`
932
1023
 
933
- - [#2338](https://github.com/tomtom-internal/maps-sdk-js/pull/2338) [`9095b5d`](https://github.com/tomtom-internal/maps-sdk-js/commit/9095b5d952788eed8f0c2610a300fafc90b12bba) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: a `PlacesModule` theme is a marker type (`markerType`, `applyMarkerType`), and `PlacesModuleConfig.color` sets the place colours at once.
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))
934
1025
 
935
1026
  - **Breaking:** map: `PlacesModuleConfig.theme` is `markerType`, with the same values: `{ theme: 'base-map' }` → `{ markerType: 'base-map' }`
936
1027
  - **Breaking:** map: `PlacesModule.applyTheme()` is `applyMarkerType()`: `places.applyTheme('pin')` → `places.applyMarkerType('pin')`
@@ -940,18 +1031,18 @@
940
1031
  - map: a `label.size` or `label.haloWidth` of `0` on `PlacesModule` reaches its labels instead of being ignored
941
1032
  - map: a `PlacesModule` `layers.*.layout` override of `text-size`, `text-font` or `text-field` wins over `label`, as its paint overrides already did
942
1033
 
943
- - [#2248](https://github.com/tomtom-internal/maps-sdk-js/pull/2248) [`266202b`](https://github.com/tomtom-internal/maps-sdk-js/commit/266202bba8b3bf2db74b7c17e53d50654284e475) Thanks [@carlosprietofernandez-tomtom](https://github.com/carlosprietofernandez-tomtom)! - **Breaking:** services: `getPOICategories` ranks `filters` matches and keeps each filter's best ones, so `'bar'` returns Bar.
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))
944
1035
 
945
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
946
1037
  - services: `getPOICategories` merges several `filters` round-robin, so each filter's best match comes first
947
1038
  - services: `getPOICategories` `filters` fold accents, so `'cafe'` finds Café, and a blank filter matches nothing instead of every category
948
1039
 
949
- - [#2415](https://github.com/tomtom-internal/maps-sdk-js/pull/2415) [`fe74bd7`](https://github.com/tomtom-internal/maps-sdk-js/commit/fe74bd759a234894cb9c5c1fafb291a6b6777085) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: `RoutingModule.getConfig()` returns the configuration as given, and a module without `displayUnits` follows the global units.
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))
950
1041
 
951
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
952
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
953
1044
 
954
- - [#2366](https://github.com/tomtom-internal/maps-sdk-js/pull/2366) [`babe49f`](https://github.com/tomtom-internal/maps-sdk-js/commit/babe49f43aef09d682e078f8cfa1219617e1b8df) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **Breaking:** map: `routingKnobCatalogue` lists the `RoutingModule` display settings, and `StylingKnob` types each knob kind strictly.
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))
955
1046
 
956
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
957
1048
  - **Breaking:** map: `KnobKind` gains `image`, a sprite image id, so an exhaustive `switch` over `KnobKind` needs a case for it
@@ -959,403 +1050,337 @@
959
1050
  - map: `KnobEntry` is the entry shape every catalogue shares, one member per kind, and `KnobValueOf` the value a knob of each kind holds
960
1051
  - map: `SectionIconPlacement` names the placements `SectionIconConfig.placement` takes
961
1052
 
962
- - [#2356](https://github.com/tomtom-internal/maps-sdk-js/pull/2356) [`784ac2a`](https://github.com/tomtom-internal/maps-sdk-js/commit/784ac2a4c084ef7e24a85c7118bf4a905dfe201f) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
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))
963
1054
 
964
1055
  ### Patch Changes
965
1056
 
966
- - [#2375](https://github.com/tomtom-internal/maps-sdk-js/pull/2375) [`40b9332`](https://github.com/tomtom-internal/maps-sdk-js/commit/40b93323148c11a07ec9880f7ca657c2b53f02ae) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: `baseMapKnobCatalogue` and `poisKnobCatalogue` list the base map and POI settings a knob holds.
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))
967
1058
 
968
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
969
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
970
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
971
1062
 
972
- - [#2330](https://github.com/tomtom-internal/maps-sdk-js/pull/2330) [`2c1178c`](https://github.com/tomtom-internal/maps-sdk-js/commit/2c1178ca3d23f74eab3431b4a722e7312a94ef52) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: places, routes and the traffic incident overlay follow the styling knob colours live.
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))
973
1064
 
974
1065
  - map: `TrafficIncidentOverlayModule` follows the `traffic.incidents.*Color` styling knobs live, set before or after it was created and across `setStyle`
975
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
976
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
977
1068
  - map: `TrafficIncidentOverlayModule` draws minor jams in the style's own colour instead of the light styles' on every style, the dark ones included
978
1069
 
979
- - [#2399](https://github.com/tomtom-internal/maps-sdk-js/pull/2399) [`2044b41`](https://github.com/tomtom-internal/maps-sdk-js/commit/2044b41e6e0b0b2c0a6e6bf75c39cae496696b1a) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
980
1071
 
981
- - [#2253](https://github.com/tomtom-internal/maps-sdk-js/pull/2253) [`52325b7`](https://github.com/tomtom-internal/maps-sdk-js/commit/52325b755317a25d0d1edf6fb1d3a751fc59fcdc) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: `TomTomMap` loads nothing from unpkg.com: neither the MapLibre stylesheet nor the RTL text plugin.
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))
982
1073
 
983
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
984
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
985
1076
 
986
- - [#2379](https://github.com/tomtom-internal/maps-sdk-js/pull/2379) [`85e9d1d`](https://github.com/tomtom-internal/maps-sdk-js/commit/85e9d1dfff95207fe42303d931a61941c45ba0b5) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: `GeometriesModule` config changes restyle the geometries already shown.
1077
+ - map: `GeometriesModule` config changes restyle the geometries already shown. ([#2379](https://github.com/tomtom-internal/maps-sdk-js/pull/2379))
987
1078
 
988
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
989
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
990
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
991
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
992
1083
 
993
- - [#2391](https://github.com/tomtom-internal/maps-sdk-js/pull/2391) [`2293010`](https://github.com/tomtom-internal/maps-sdk-js/commit/2293010f3e0dce4ad1b3fbe960368214a3ca64b3) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
994
1085
 
995
- - [#2402](https://github.com/tomtom-internal/maps-sdk-js/pull/2402) [`3944ea8`](https://github.com/tomtom-internal/maps-sdk-js/commit/3944ea8d4c46d69facaa59837cb9ce99460a9b67) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - core: `TimeDisplayUnits.hours` documents its real default, `hr`, which `formatDuration` uses when none is set
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))
996
1087
 
997
- - [#2412](https://github.com/tomtom-internal/maps-sdk-js/pull/2412) [`473c613`](https://github.com/tomtom-internal/maps-sdk-js/commit/473c613346c6014f1be6499893472d97ec38c976) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
998
1089
 
999
- - [#2389](https://github.com/tomtom-internal/maps-sdk-js/pull/2389) [`04ee5de`](https://github.com/tomtom-internal/maps-sdk-js/commit/04ee5de36942abebd8d59f111925dc83d3056340) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - services: `discoverPlaces` and the new `resolvePOICategories` take POI categories in words.
1090
+ - services: `discoverPlaces` and the new `resolvePOICategories` take POI categories in words. ([#2389](https://github.com/tomtom-internal/maps-sdk-js/pull/2389))
1000
1091
 
1001
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`
1002
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
1003
1094
 
1004
- - [#2384](https://github.com/tomtom-internal/maps-sdk-js/pull/2384) [`bfe160b`](https://github.com/tomtom-internal/maps-sdk-js/commit/bfe160b1767f892ad2a82fe218a0e9599964eb84) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1005
1096
 
1006
- - [#2376](https://github.com/tomtom-internal/maps-sdk-js/pull/2376) [`6fcdacc`](https://github.com/tomtom-internal/maps-sdk-js/commit/6fcdacc97e87aede4f227f052d139f93a9fed026) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - services: `getPlacesWithEVAvailability` takes `maxConcurrentRequests`, and its result type allows places without availability.
1097
+ - services: `getPlacesWithEVAvailability` takes `maxConcurrentRequests`, and its result type allows places without availability. ([#2376](https://github.com/tomtom-internal/maps-sdk-js/pull/2376))
1007
1098
 
1008
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
1009
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
1010
1101
  - services: the `discoverPlaces` docs name all three searches it runs, along-route search when `route` is given included
1011
1102
 
1012
- - [#2380](https://github.com/tomtom-internal/maps-sdk-js/pull/2380) [`cd981a0`](https://github.com/tomtom-internal/maps-sdk-js/commit/cd981a0b508b712b95a068b0959d3904c0c80503) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1013
1104
 
1014
- - [#2390](https://github.com/tomtom-internal/maps-sdk-js/pull/2390) [`712dbb0`](https://github.com/tomtom-internal/maps-sdk-js/commit/712dbb0bae2c7e2f57aa18e403bdd7b50820b67c) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1015
1106
 
1016
- - [#2387](https://github.com/tomtom-internal/maps-sdk-js/pull/2387) [`2d22b56`](https://github.com/tomtom-internal/maps-sdk-js/commit/2d22b56c143d991be6d7cdfa12102a959fcdd92a) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1017
1108
 
1018
- - [#2410](https://github.com/tomtom-internal/maps-sdk-js/pull/2410) [`8ee1161`](https://github.com/tomtom-internal/maps-sdk-js/commit/8ee11613905ff75aafbb0a204cd7ec58c4ecec8f) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1019
1110
 
1020
- - [#2350](https://github.com/tomtom-internal/maps-sdk-js/pull/2350) [`d987e8f`](https://github.com/tomtom-internal/maps-sdk-js/commit/d987e8fc4bfab020ae1019b987e55db368a480e9) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1021
1112
 
1022
- - [#2352](https://github.com/tomtom-internal/maps-sdk-js/pull/2352) [`1882c43`](https://github.com/tomtom-internal/maps-sdk-js/commit/1882c433fee8d2756013291a7e3e35f05424adf3) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1023
1114
 
1024
- - [#2372](https://github.com/tomtom-internal/maps-sdk-js/pull/2372) [`3288c6c`](https://github.com/tomtom-internal/maps-sdk-js/commit/3288c6c43d74d5a3cb6f686a1f6f0b9c0c076eb1) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - `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.
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))
1025
1116
 
1026
- - [#2357](https://github.com/tomtom-internal/maps-sdk-js/pull/2357) [`184d4f4`](https://github.com/tomtom-internal/maps-sdk-js/commit/184d4f4f9c5dd5c31c3ad155223495a19d2e38c0) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1027
1118
 
1028
- - [#2358](https://github.com/tomtom-internal/maps-sdk-js/pull/2358) [`6836e99`](https://github.com/tomtom-internal/maps-sdk-js/commit/6836e9910edacc4a7b9d57cb40477f6803793dcd) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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×
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))
1029
1120
 
1030
- - [#2382](https://github.com/tomtom-internal/maps-sdk-js/pull/2382) [`5e5708b`](https://github.com/tomtom-internal/maps-sdk-js/commit/5e5708bf7160077cbea1b4e36aa49a1bdfb4d024) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1031
1122
 
1032
- - [#2399](https://github.com/tomtom-internal/maps-sdk-js/pull/2399) [`2044b41`](https://github.com/tomtom-internal/maps-sdk-js/commit/2044b41e6e0b0b2c0a6e6bf75c39cae496696b1a) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1033
1124
 
1034
- - [#2383](https://github.com/tomtom-internal/maps-sdk-js/pull/2383) [`43b1a71`](https://github.com/tomtom-internal/maps-sdk-js/commit/43b1a717a07857925d37239d886a5fa01b961a0c) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1035
1126
 
1036
- - [#2414](https://github.com/tomtom-internal/maps-sdk-js/pull/2414) [`7cfe598`](https://github.com/tomtom-internal/maps-sdk-js/commit/7cfe598e8b7e1096a13399d1a086b11f06116b72) Thanks [@JulianChinAFoeng-TomTom](https://github.com/JulianChinAFoeng-TomTom)! - 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
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))
1037
1128
 
1038
1129
  ## 0.60.0
1039
1130
 
1040
1131
  ### Minor Changes
1041
1132
 
1042
- - [#2337](https://github.com/tomtom-internal/maps-sdk-js/pull/2337) [`5c97b52`](https://github.com/tomtom-internal/maps-sdk-js/commit/5c97b529ba05bb8b42dc5ca66da56a1b239107ec) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1043
-
1044
- - **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
1045
- - **Breaking:** map: `GeometryBeforeLayerTargets` is removed; the record form of `GeometryBeforeLayerConfig` is `PartsBeforeLayerConfig<'fill' | 'line'>`'s
1046
- - **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
1047
- - **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
1048
- - **Breaking:** map: `RoutingModule.getLayerToRenderLinesUnder()` returns `string | undefined`, following `beforeLayerConfig` and undefined when the route lines are on top; unconfigured, it still returns `mapStyleLayerIDs.lowestLabel`
1049
- - 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
1050
- - 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
1051
- - 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))
1052
1141
 
1053
- - [#2336](https://github.com/tomtom-internal/maps-sdk-js/pull/2336) [`a117660`](https://github.com/tomtom-internal/maps-sdk-js/commit/a11766044b72a7a8128e882fc58b55f151e7db7c) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1054
-
1055
- - **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' }`
1056
- - **Breaking:** map: `SectionIconConfig.size` → `sizeFactor`, now clamped to `SECTION_ICON_SIZE_FACTOR_RANGE` (0.25–2)
1057
- - 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))
1058
1145
 
1059
1146
  ### Patch Changes
1060
1147
 
1061
- - [#2354](https://github.com/tomtom-internal/maps-sdk-js/pull/2354) [`d2e714a`](https://github.com/tomtom-internal/maps-sdk-js/commit/d2e714ac51e1977be7c2fbe10cbcad6559db38e0) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - services: the `ChargingModel.batteryCurve` reference says a route with charging stops needs it; the service rejects such a request without one
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))
1062
1149
 
1063
1150
  ## 0.59.0
1064
1151
 
1065
1152
  ### Minor Changes
1066
1153
 
1067
- - [#2312](https://github.com/tomtom-internal/maps-sdk-js/pull/2312) [`4279e2a`](https://github.com/tomtom-internal/maps-sdk-js/commit/4279e2a7b5d6a9a1971dc46f9ece23eda52793ba) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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'])`)
1068
-
1069
- - [#2335](https://github.com/tomtom-internal/maps-sdk-js/pull/2335) [`d2c304e`](https://github.com/tomtom-internal/maps-sdk-js/commit/d2c304e124ba0607c4387f85bb5fdc4b1ffa65c4) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1070
-
1071
- - **Breaking:** map: `BaseMapModuleConfig.layerGroupsVisibility` and the `BaseMapLayerGroupsVisibility` type are removed; use `groups`, which keeps a visibility per layer group:
1072
- - `layerGroupsVisibility: { mode: 'include', names: ['water', 'ferries'], visible: false }` becomes `groups: { water: { visible: false }, ferries: { visible: false } }`
1073
- - `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
1074
- - **Breaking:** map: `BaseMapModule.getConfig()` and its `config-change` event carry `groups`, one entry per group `setVisible` has set
1075
- - **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`
1076
- - **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
1077
- - **Breaking:** map: the `basemap.roadShields` styling knob is removed; use `roads.shields`, which now toggles the whole `roadShields` group
1078
- - 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
1079
- - map: a style change restores every `BaseMapModule.setVisible` group call, not only the last one
1080
- - 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
1081
- - 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
1082
-
1083
- - [#2317](https://github.com/tomtom-internal/maps-sdk-js/pull/2317) [`220d76c`](https://github.com/tomtom-internal/maps-sdk-js/commit/220d76c56634fdfd1f42803fa0f67b7d36da3664) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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 }`
1084
-
1085
- - [#2313](https://github.com/tomtom-internal/maps-sdk-js/pull/2313) [`3c4cd39`](https://github.com/tomtom-internal/maps-sdk-js/commit/3c4cd395ace39d4730a1af0b047c2d4af0c79933) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1086
-
1087
- - **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`
1088
- - 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
1089
-
1090
- - [#2316](https://github.com/tomtom-internal/maps-sdk-js/pull/2316) [`70fc511`](https://github.com/tomtom-internal/maps-sdk-js/commit/70fc511e288c47c09d509c497f5116e6d2f75744) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1091
-
1092
- - **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()`
1093
- - map: `TrafficIncidentOverlayModule.show()` keeps the incidents hidden while the module is set to `visible: false`
1094
- - map: a style change restores a hidden `TrafficAreaAnalyticsModule` without emitting `config-change`
1095
-
1096
- - [#2345](https://github.com/tomtom-internal/maps-sdk-js/pull/2345) [`c5660b8`](https://github.com/tomtom-internal/maps-sdk-js/commit/c5660b8679ad652fc068277bc977cfda59226e76) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1097
-
1098
- - **Breaking:** services: `CommonServiceParams.customServiceBaseURL` is removed; every service builds its endpoint URL from the global `commonBaseURL`
1099
- - **Breaking:** services: an `apiVersion` passed at runtime, per call or through `TomTomConfig.put`, is ignored; each service calls the API version it pins
1100
- - **Breaking:** map: `StandardStyle.version` is removed; standard styles always load the Orbis style version the SDK is verified against
1101
- - **Breaking:** map: the undocumented `DEFAULT_STYLE_VERSION` export is removed
1102
-
1103
- - [#2333](https://github.com/tomtom-internal/maps-sdk-js/pull/2333) [`a52f5f0`](https://github.com/tomtom-internal/maps-sdk-js/commit/a52f5f02acfecdfcc1b05800652f6e16037b0a7a) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1104
-
1105
- - **Breaking:** map: `GeometriesModuleConfig.theme` is `fillStyle`, `GeometryTheme` is `GeometryFillStyle` and `geometryThemes` is `geometryFillStyles`; the values are unchanged
1106
- - **Breaking:** map: a feature sets its own fill style with `properties.fillStyle` instead of `properties.theme`
1107
- - **Breaking:** map: `themedGeometryConfig` is `fillStyledGeometryConfig`
1108
- - **Breaking:** map: `GeometriesModuleConfig.textConfig: { textField }` is `label: { text }`, `GeometryTextConfig` is `GeometryLabel`, and `GeometriesModule.applyTextConfig` takes `{ text }`
1109
- - **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`
1110
- - **Breaking:** map: `GeometryFillConfig.color` takes a colour, a palette name or a MapLibre expression; legacy MapLibre function objects (`{ stops }`) are no longer accepted
1111
- - 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
1112
- - map: `LabelConfig` is the label styling every module shares — `size`, `color`, `haloColor`, `haloWidth`, `opacity` and `font`
1113
- - map: `label` styles the geometry titles with `LabelConfig`, and `lineLabel` gains `font`
1114
- - 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`
1115
-
1116
- - [#2226](https://github.com/tomtom-internal/maps-sdk-js/pull/2226) [`543319b`](https://github.com/tomtom-internal/maps-sdk-js/commit/543319b321489e3ce6e5ea280e736b253464bd1d) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1117
-
1118
- - **Breaking:** core: `ChargingPoint.evseId` is optional — some operators publish none, in search results and in `evChargingStationsAvailability()` alike
1119
- - 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
1120
- - services: route charging stops carry `dataSources.chargingAvailability.id`, so `getPlaceWithEVAvailability()` adds their availability as it does for search results
1121
- - core: `ChargingStation` takes its charging point type as a parameter, and `StaticChargingPoint` describes a charging point without real-time status
1122
- - services: `connectorAvailabilities[].connector.chargingSpeed` is set, and a charging point without `capabilities` or `restrictions` gets empty lists
1123
- - services: `getPlaceWithEVAvailability()` counts `chargingPark.connectors` from the availability when the place has none of its own
1124
-
1125
- - [#2193](https://github.com/tomtom-internal/maps-sdk-js/pull/2193) [`c324ff0`](https://github.com/tomtom-internal/maps-sdk-js/commit/c324ff04afb892a600eda5ca9e6576d380ccc9c7) Thanks [@JulianChinAFoeng-TomTom](https://github.com/JulianChinAFoeng-TomTom)!
1126
-
1127
- - **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
1128
- - **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
1129
- - services: geocoding responses carry the search summary as `properties`, `nextCursor` included
1130
-
1131
- - [#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
1132
-
1133
- - [#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
1134
-
1135
- - [#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)!
1136
-
1137
- - **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
1138
- - map: `setMapColors` and the `colors.accent` knob set `accent`, and `map.mapColors` publishes the map colours in effect
1139
- - 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
1140
- - map: `RoutingModule.getConfig()` returns the configuration as given, without the layers the module built from it
1141
- - map: a `PlacesModule` default pin `style` repaints the pin when it changes, and an `icon.default.image` is never replaced by it
1142
- - 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"
1143
-
1144
- - [#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))
1145
1216
 
1146
1217
  ### Patch Changes
1147
1218
 
1148
- - [#2327](https://github.com/tomtom-internal/maps-sdk-js/pull/2327) [`b5a7c5f`](https://github.com/tomtom-internal/maps-sdk-js/commit/b5a7c5fb5503401cd4ae77b7e788b872661cac01) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - services: the `evChargingStationsAvailability()`, `getPlaceWithEVAvailability()` and `getPlacesWithEVAvailability()` examples compile, and `ChargingParkWithAvailability.availability` names the functions that fetch it
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))
1149
1220
 
1150
- - [#2317](https://github.com/tomtom-internal/maps-sdk-js/pull/2317) [`220d76c`](https://github.com/tomtom-internal/maps-sdk-js/commit/220d76c56634fdfd1f42803fa0f67b7d36da3664) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1151
1222
 
1152
- - [#2203](https://github.com/tomtom-internal/maps-sdk-js/pull/2203) [`bc35c5f`](https://github.com/tomtom-internal/maps-sdk-js/commit/bc35c5f288e1bc900cca64469d2960e762e15b81) Thanks [@JulianChinAFoeng-TomTom](https://github.com/JulianChinAFoeng-TomTom)!
1153
-
1154
- - 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`
1155
- - 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))
1156
1225
 
1157
- - [#2315](https://github.com/tomtom-internal/maps-sdk-js/pull/2315) [`daf1d0b`](https://github.com/tomtom-internal/maps-sdk-js/commit/daf1d0bb69f6ea6ecd5c23b4bcb5e536e6d76080) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1158
-
1159
- - 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
1160
- - map: `PlacesModule` connection layers and the `GeometriesModule` border keep a `layout.visibility: 'none'` override when data is shown
1161
- - 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))
1162
1229
 
1163
- - [#2308](https://github.com/tomtom-internal/maps-sdk-js/pull/2308) [`371985f`](https://github.com/tomtom-internal/maps-sdk-js/commit/371985f1576d92f3d4566eec863d5b27c36d0eb5) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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`
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))
1164
1231
 
1165
- - [#2181](https://github.com/tomtom-internal/maps-sdk-js/pull/2181) [`da4a60d`](https://github.com/tomtom-internal/maps-sdk-js/commit/da4a60d64e59beae7d4b55531f0fa6235b70275f) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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/issues/2181))
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))
1166
1233
 
1167
- - [#2272](https://github.com/tomtom-internal/maps-sdk-js/pull/2272) [`8d7d938`](https://github.com/tomtom-internal/maps-sdk-js/commit/8d7d9385d0695547511ef94e02eef59c1840d19f) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1168
-
1169
- - 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
1170
- - 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))
1171
1236
 
1172
- - [#2279](https://github.com/tomtom-internal/maps-sdk-js/pull/2279) [`0574709`](https://github.com/tomtom-internal/maps-sdk-js/commit/0574709de2be181fe2ed64c6b16e1ec69bec269b) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1173
1238
 
1174
- - [#2307](https://github.com/tomtom-internal/maps-sdk-js/pull/2307) [`6d5ac9d`](https://github.com/tomtom-internal/maps-sdk-js/commit/6d5ac9deac6c3d276a787b2654c2dc48088b9ff5) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1175
1240
 
1176
1241
  ## 0.58.1
1177
1242
 
1178
1243
  ### Patch Changes
1179
1244
 
1180
- - [#2099](https://github.com/tomtom-internal/maps-sdk-js/pull/2099) [`3e22da7`](https://github.com/tomtom-internal/maps-sdk-js/commit/3e22da7ae15c064c19a1e32a360d40c1688d8cc5) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1181
-
1182
- - 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
1183
- - 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))
1184
1247
 
1185
- - [#1939](https://github.com/tomtom-internal/maps-sdk-js/pull/1939) [`4a3fd42`](https://github.com/tomtom-internal/maps-sdk-js/commit/4a3fd42681a45609a31cd90ad0600a40aac3e097) Thanks [@SuleymanAli-TomTom](https://github.com/SuleymanAli-TomTom)!
1186
-
1187
- - 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
1188
- - 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))
1189
1250
 
1190
1251
  ## 0.58.0
1191
1252
 
1192
1253
  ### Minor Changes
1193
1254
 
1194
- - [#2227](https://github.com/tomtom-internal/maps-sdk-js/pull/2227) [`29a6a55`](https://github.com/tomtom-internal/maps-sdk-js/commit/29a6a55ca894dfedc1cdd2788b17a836f57c74ef) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1195
-
1196
- - **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`
1197
- - 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
1198
-
1199
- - [#2213](https://github.com/tomtom-internal/maps-sdk-js/pull/2213) [`115f8a4`](https://github.com/tomtom-internal/maps-sdk-js/commit/115f8a48dbea201145da4bec3bb8e50d90ddc0ab) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1200
-
1201
- - **Breaking:** services: `GuidanceParams.phonetics` and the `Phonetics` type are removed; `guidance` takes `{ type: 'coded' }` only
1202
- - **Breaking:** core: `TextWithPhonetics` is renamed `InstructionText` and drops `phonetic` and `phoneticLanguageCode`; instruction name fields carry `text` only
1203
-
1204
- - [#2137](https://github.com/tomtom-internal/maps-sdk-js/pull/2137) [`93b72d7`](https://github.com/tomtom-internal/maps-sdk-js/commit/93b72d70cc0bf7b112f091a839b5d1a9984f5587) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1205
-
1206
- - **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
1207
- - **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
1208
- - 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
1209
-
1210
- - [#2216](https://github.com/tomtom-internal/maps-sdk-js/pull/2216) [`5bfbe75`](https://github.com/tomtom-internal/maps-sdk-js/commit/5bfbe75ec9517789c8624fd2ede1034590e51d48) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1211
-
1212
- - **Breaking:** services: the reachable-range budget type `remainingChargeCPT` is `remainingChargePCT`, matching `spentChargePCT`
1213
- - **Breaking:** services: `reverseGeocode` takes `geographyTypes`, as the other places services do; it was a singular name holding an array
1214
- - **Breaking:** services: `metricKeyToApiDataType` is no longer exported
1215
- - **Breaking:** services: generic and combustion vehicles take no `preferences`, and the `VehiclePreferences` type is removed; an electric vehicle's `preferences` is `ElectricVehiclePreferences`
1216
- - **Breaking:** map: the module config types follow `<Module>Config` — `TrafficFlowModuleConfig`, `TrafficIncidentsModuleConfig`, `TrafficIncidentOverlayModuleConfig`, `TrafficAreaAnalyticsModuleConfig` replace `FlowConfig`, `IncidentsConfig`, `TrafficIncidentOverlayConfig`, `TrafficAreaAnalyticsConfig`
1217
- - **Breaking:** map: the `FilterShowMode` value `'all_except'` is `'all-except'`, in the POI, traffic flow and traffic incident filters
1218
- - map: `filterShowModes` lists the `FilterShowMode` values at runtime
1219
- - services: `discoverOnePlace` and `geocodeOne` also take a params object (everything but `limit`), so a single-result lookup can carry `geoBias` or a `signal`
1220
-
1221
- - [#2197](https://github.com/tomtom-internal/maps-sdk-js/pull/2197) [`0678a81`](https://github.com/tomtom-internal/maps-sdk-js/commit/0678a81f5dff0f840c6735e8a68182c7c998eb60) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1222
-
1223
- - **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`
1224
- - 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
1225
- - 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
1226
-
1227
- - [#2189](https://github.com/tomtom-internal/maps-sdk-js/pull/2189) [`834257b`](https://github.com/tomtom-internal/maps-sdk-js/commit/834257b27bee5c60e1cc1782a466d7f6a6f5f8d8) Thanks [@JulianChinAFoeng-TomTom](https://github.com/JulianChinAFoeng-TomTom)!
1228
-
1229
- - **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`
1230
- - **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`
1231
- - **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
1232
- - **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`
1233
- - **Breaking:** services: the types follow — `SearchResponse` → `DiscoverPlacesResponse`, `PlaceByIdParams` / `PlaceByIdResponse` → `PlaceDetailsParams` / `PlaceDetailsResponse`; a place-details error reports its service as `PlaceDetails`
1234
- - **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`
1235
- - 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
1236
- - 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
1237
- - 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
1238
-
1239
- - [#2212](https://github.com/tomtom-internal/maps-sdk-js/pull/2212) [`78c9a7e`](https://github.com/tomtom-internal/maps-sdk-js/commit/78c9a7e74fff1cdb9bc4735d7c01011485d59031) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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
1240
-
1241
- - [#2223](https://github.com/tomtom-internal/maps-sdk-js/pull/2223) [`e0417a9`](https://github.com/tomtom-internal/maps-sdk-js/commit/e0417a900d9954567180fe96325160f484563c7e) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - **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.
1242
-
1243
- - [#2231](https://github.com/tomtom-internal/maps-sdk-js/pull/2231) [`7a26791`](https://github.com/tomtom-internal/maps-sdk-js/commit/7a267912057c1026021c769b036e395b1fc29405) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1244
-
1245
- - **Breaking:** core: `GlobalConfig.trackingId` is removed, together with the `Tracking-ID` request header it set
1246
- - **Breaking:** core, services: `apiVersion` is removed from `GlobalConfig` and `CommonRoutingParams`; each service picks the API version it calls
1247
-
1248
- - [#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)!
1249
-
1250
- - **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
1251
- - **Breaking:** core: `AreaAnalyticsFeatureProperties.timezone` is optional: the API echoes it only from a request that names one, and the SDK's names none
1252
- - 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
1253
- - 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
1254
- - 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
1255
- - services: `trafficAreaAnalytics` documents that its `hours` filter and every `timedData` time identifier are in UTC, since the request names no region timezone
1256
-
1257
- - [#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)!
1258
-
1259
- - **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
1260
- - **Breaking:** services: remove the `trafficModelId` parameter from `trafficIncidentDetails`; v2 always serves the latest traffic state
1261
- - **Breaking:** core: remove `TrafficIncidentTMC`, `TrafficIncidentTMCPoint` and `properties.tmc` from `TrafficIncidentProperties`; v2 carries no TMC data
1262
- - 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
1263
- - 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))
1264
1307
 
1265
1308
  ### Patch Changes
1266
1309
 
1267
- - [#2098](https://github.com/tomtom-internal/maps-sdk-js/pull/2098) [`d70cae2`](https://github.com/tomtom-internal/maps-sdk-js/commit/d70cae24af5aae9fcdc48159ebb6d7a167bea69b) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: the API reference of `BaseMapModule`, `POIsModule`, `TerrainModule`, `TrafficFlowModule` and `TrafficIncidentsModule` states what each module owns and which `StylingModule` knobs own the look
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))
1268
1311
 
1269
- - [#2232](https://github.com/tomtom-internal/maps-sdk-js/pull/2232) [`f7e1c3e`](https://github.com/tomtom-internal/maps-sdk-js/commit/f7e1c3e534cabefd56d09a03ae68bf8b5c90ed06) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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/issues/2232))
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))
1270
1313
 
1271
- - [#2217](https://github.com/tomtom-internal/maps-sdk-js/pull/2217) [`8eff899`](https://github.com/tomtom-internal/maps-sdk-js/commit/8eff899c713586296529fb22a4c84f3663fa0859) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - The `maplibre-gl` peer dependency requires `^6.11.2`, and the `zod` peer dependency `^4.6.5`
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))
1272
1315
 
1273
- - [#2222](https://github.com/tomtom-internal/maps-sdk-js/pull/2222) [`bb9161c`](https://github.com/tomtom-internal/maps-sdk-js/commit/bb9161c2dd3bd0e210c36ff94c4f4d4d6f950c3c) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1274
-
1275
- - 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
1276
- - 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
1277
- - 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))
1278
1319
 
1279
- - [#2230](https://github.com/tomtom-internal/maps-sdk-js/pull/2230) [`58761e4`](https://github.com/tomtom-internal/maps-sdk-js/commit/58761e446cf917b8e07d3388c0347e1fab1f10e4) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1280
1321
 
1281
- - [#2242](https://github.com/tomtom-internal/maps-sdk-js/pull/2242) [`8d48ac8`](https://github.com/tomtom-internal/maps-sdk-js/commit/8d48ac87c76270554b67340495318b0f8bb167b2) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1282
1323
 
1283
- - [#2254](https://github.com/tomtom-internal/maps-sdk-js/pull/2254) [`dec7dac`](https://github.com/tomtom-internal/maps-sdk-js/commit/dec7dacd9a6a00177ce6541bf592d1992988de72) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1284
1325
 
1285
- - [#2237](https://github.com/tomtom-internal/maps-sdk-js/pull/2237) [`a0f6956`](https://github.com/tomtom-internal/maps-sdk-js/commit/a0f6956bedd3a8f511d062ef37179329392e58de) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1286
-
1287
- - 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
1288
- - 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
1289
- - map: a pure grey map colour or colour knob derives grey shades, instead of shades tinted towards red
1290
- - map: `setMapColors` recolours railway outlines with `artificial` along with their dashes, instead of leaving them at the style's grey
1291
- - 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
1292
- - map: `setMapColors` keeps the opacity of translucent label halos, instead of painting them opaque
1293
- - map: `setMapColors` recolours motorway, trunk and primary link roads with `roadMajor`, instead of with `road`
1294
- - map: `styling.get('colors.<name>')` reports a colour without the opacity of the layer it was read from, so setting it back changes nothing
1295
- - 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))
1296
1335
 
1297
- - [#2224](https://github.com/tomtom-internal/maps-sdk-js/pull/2224) [`3133622`](https://github.com/tomtom-internal/maps-sdk-js/commit/3133622d8f7a9c56bd2126326e026f85f470fc2f) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - 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
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))
1298
1337
 
1299
- - [#2094](https://github.com/tomtom-internal/maps-sdk-js/pull/2094) [`ddd6a97`](https://github.com/tomtom-internal/maps-sdk-js/commit/ddd6a9749bc140ba90fbc6abf8e6bf648b64db9a) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)! - map: `toHsl`, `formatStyleHsl` and `HslColor` are exported, the colour rules the map-theme plugin shares with the recolour
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))
1300
1339
 
1301
- - [#2247](https://github.com/tomtom-internal/maps-sdk-js/pull/2247) [`a3318ef`](https://github.com/tomtom-internal/maps-sdk-js/commit/a3318efefbefa313fe082440d9f5c5f24aff17eb) Thanks [@carlosprietofernandez-tomtom](https://github.com/carlosprietofernandez-tomtom)!
1302
-
1303
- - 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
1304
- - 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
1305
- - 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))
1306
1343
 
1307
1344
  ## 0.57.0
1308
1345
 
1309
1346
  ### Minor Changes
1310
1347
 
1311
- - [#2185](https://github.com/tomtom-internal/maps-sdk-js/pull/2185) [`669dc17`](https://github.com/tomtom-internal/maps-sdk-js/commit/669dc17c7be960bafbce86c4acabeafa44350f37) Thanks [@JulianChinAFoeng-TomTom](https://github.com/JulianChinAFoeng-TomTom)!
1312
-
1313
- - **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
1314
- - **Breaking:** services: `SearchSummary.totalResults` and `SearchSummary.fuzzyLevel` are optional — guard them rather than assuming a number
1315
- - 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))
1316
1351
 
1317
- - [#2056](https://github.com/tomtom-internal/maps-sdk-js/pull/2056) [`892139d`](https://github.com/tomtom-internal/maps-sdk-js/commit/892139d642f4e78cfe061ea246452effab171ea0) Thanks [@AlvaroGraca-TomTom](https://github.com/AlvaroGraca-TomTom)!
1318
-
1319
- - **Breaking:** map: `TerrainModule` replaces `HillshadeModule` — `TerrainModule.get(map, { hillshade: true })` for what `HillshadeModule.get(map, { visible: true })` did, `setHillshadeVisible` for `setVisible`
1320
- - **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
1321
- - 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))
1322
1355
 
1323
1356
  ### Patch Changes
1324
1357
 
1325
- - [#2092](https://github.com/tomtom-internal/maps-sdk-js/pull/2092) [`a8d3fde`](https://github.com/tomtom-internal/maps-sdk-js/commit/a8d3fdef60c84278dc9f1c326d390aaed2af7154) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1326
-
1327
- - map: `basemap.<group>` styling knobs toggle every base-map layer group `BaseMapModule` knows, bar the two building groups the `buildings.*` knobs already cover
1328
- - map: `hillshade.*` styling knobs set the shading's method, light direction, strength, maximum zoom and colours
1329
- - 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))
1330
1361
 
1331
- - [#2100](https://github.com/tomtom-internal/maps-sdk-js/pull/2100) [`2f9aa90`](https://github.com/tomtom-internal/maps-sdk-js/commit/2f9aa90eae8bed1d90fd16388664f577b65b0c1c) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1332
-
1333
- - 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
1334
- - map: `BaseMapModule.resetConfig()` empties the configuration instead of keeping the previous one
1335
- - map: `TrafficAreaAnalyticsModule.resetConfig()` returns the display mode, metric, colours, filters, region and layer positions to their defaults, instead of only clearing `getConfig()`
1336
- - map: `TrafficAreaAnalyticsModule.applyConfig` with a new `activeMetric` filters and scales the layers by that metric rather than the previous one
1337
- - 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))
1338
1367
 
1339
1368
  ## 0.56.0
1340
1369
 
1341
1370
  ### Minor Changes
1342
1371
 
1343
- - [#2188](https://github.com/tomtom-internal/maps-sdk-js/pull/2188) [`9e1d080`](https://github.com/tomtom-internal/maps-sdk-js/commit/9e1d080397ee2d16b6185873661890e5a81f7b65) Thanks [@AlvaroGraca-TomTom](https://github.com/AlvaroGraca-TomTom)!
1344
-
1345
- - **Breaking:** map: precise types for custom styles, places props and traffic data
1346
- - **Breaking:** services: deduplicate vehicle energy encoding, tighten EV types
1347
- - map: label a route's border crossings with the countries they join
1348
- - map: post speed limit signs where the limit changes
1349
- - map: styling GA phase 2 - view knobs, presets, map-effects plugin
1350
- - map: styling GA phase 3 - setMapColors map colours and exportStyle
1351
- - routing: phase 6 - show what the SDK adds over calling the API directly
1352
- - services: places GA phase 1 - remove the experimentalSearch export
1353
- - 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))
1354
1381
 
1355
- - [#2175](https://github.com/tomtom-internal/maps-sdk-js/pull/2175) [`1bea71f`](https://github.com/tomtom-internal/maps-sdk-js/commit/1bea71fe79f2875ff3c78cfef136eeb492e8acc0) Thanks [@DanielForniessoria-TomTom](https://github.com/DanielForniessoria-TomTom)!
1356
-
1357
- - **Breaking:** map: `StylingKnobValueOf` narrows to each knob's kind, so `StylingModule.set` rejects a value of the wrong kind at compile time
1358
- - 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))
1359
1384
 
1360
1385
  ## [0.55.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.54.0...v0.55.1) (2026-09-21)
1361
1386
 
@@ -1370,20 +1395,20 @@
1370
1395
 
1371
1396
  ### Features
1372
1397
 
1373
- * **core:** fold reverse geocoding's access points into entryPoints ([#2151](https://github.com/tomtom-internal/maps-sdk-js/issues/2151)) ([6ff017f](https://github.com/tomtom-internal/maps-sdk-js/commit/6ff017f3293f1d35f1432627a06c50efa4fe60de))
1374
- * **examples:** gdpr demo compliance ([#2154](https://github.com/tomtom-internal/maps-sdk-js/issues/2154)) ([03e4dd0](https://github.com/tomtom-internal/maps-sdk-js/commit/03e4dd0ee0cf4dbade3cd12cf0dc05ef745446f3))
1375
- * **examples:** put every reverseGeocode option on the rev-geo playground ([#2149](https://github.com/tomtom-internal/maps-sdk-js/issues/2149)) ([313134c](https://github.com/tomtom-internal/maps-sdk-js/commit/313134c5c54bc03c91cf317093836b3a6a7ec6e3))
1376
- * **examples:** redesign the claim-validation demo UX per Figma ([#2145](https://github.com/tomtom-internal/maps-sdk-js/issues/2145)) ([81fdb82](https://github.com/tomtom-internal/maps-sdk-js/commit/81fdb8234329e425fd600cc150b0a944ecbcfec0))
1377
- * **examples:** serve the brand faces the typography tokens name ([#2155](https://github.com/tomtom-internal/maps-sdk-js/issues/2155)) ([1e630ce](https://github.com/tomtom-internal/maps-sdk-js/commit/1e630ce3e5ce9ff1a5a3cad04f7d65f2ddf045b5))
1378
- * **map:** one config tier for every drawn route section type ([#2078](https://github.com/tomtom-internal/maps-sdk-js/issues/2078)) ([dcaec54](https://github.com/tomtom-internal/maps-sdk-js/commit/dcaec543c11e1cf9514d430ef97d6befff8a9f19))
1379
- * **map:** post speed limits as road signs rather than a band ([#2141](https://github.com/tomtom-internal/maps-sdk-js/issues/2141)) ([ee2d6c0](https://github.com/tomtom-internal/maps-sdk-js/commit/ee2d6c09c023804d4966f36440a74db699738d19))
1380
- * **map:** styling GA phase 1 — StylingModule and the describe() catalogue ([#2089](https://github.com/tomtom-internal/maps-sdk-js/issues/2089)) ([4379765](https://github.com/tomtom-internal/maps-sdk-js/commit/437976535b976b33573002ade2d3611a3013ac28))
1381
- * **services:** replace flat geo-bias fields with a single geoBias option ([#2158](https://github.com/tomtom-internal/maps-sdk-js/issues/2158)) ([14fdb49](https://github.com/tomtom-internal/maps-sdk-js/commit/14fdb491b1a481ea49e050bee399be570a5120e0))
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))
1382
1407
 
1383
1408
 
1384
1409
  ### Miscellaneous Chores
1385
1410
 
1386
- * **release:** align package versions with the last shipped release ([#2167](https://github.com/tomtom-internal/maps-sdk-js/issues/2167)) ([2c91530](https://github.com/tomtom-internal/maps-sdk-js/commit/2c91530d663e022a7329010007f2d0d83bc361c3))
1411
+ * **release:** align package versions with the last shipped release ([#2167](https://github.com/tomtom-internal/maps-sdk-js/issues/2167))
1387
1412
 
1388
1413
  ## [0.54.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.53.0...v0.54.0) (2026-09-17)
1389
1414
 
@@ -1394,16 +1419,16 @@
1394
1419
 
1395
1420
  ### Features
1396
1421
 
1397
- * **examples:** withdraw claim-validation-service from search ([#2147](https://github.com/tomtom-internal/maps-sdk-js/issues/2147)) ([806f174](https://github.com/tomtom-internal/maps-sdk-js/commit/806f1749871af48aac2b7efb1d1cfcbd6ba0f05a))
1398
- * **map:** let custom place icons offset from their coordinate ([#2123](https://github.com/tomtom-internal/maps-sdk-js/issues/2123)) ([0771ef9](https://github.com/tomtom-internal/maps-sdk-js/commit/0771ef9004ea82db3c8168944498fba2038fa27b))
1399
- * **routing:** phase 3 — land the response data v3 already returns ([#2077](https://github.com/tomtom-internal/maps-sdk-js/issues/2077)) ([d071f02](https://github.com/tomtom-internal/maps-sdk-js/commit/d071f02a30cbe6abf14423dc0309c782480f8a06))
1400
- * **service:** support request cancellation via AbortSignal ([#2136](https://github.com/tomtom-internal/maps-sdk-js/issues/2136)) ([f2df5e4](https://github.com/tomtom-internal/maps-sdk-js/commit/f2df5e42547e0d4fab79e078f375d419a82dd2a1))
1401
- * **skills:** add an opt-in skill that reports SDK friction to GitHub ([#2124](https://github.com/tomtom-internal/maps-sdk-js/issues/2124)) ([03bd482](https://github.com/tomtom-internal/maps-sdk-js/commit/03bd4823711d8fa4a882b1135dce100badfdbf2a))
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))
1402
1427
 
1403
1428
 
1404
1429
  ### Bug Fixes
1405
1430
 
1406
- * place-customization crash when using custom icons ([#2134](https://github.com/tomtom-internal/maps-sdk-js/issues/2134)) ([4a67239](https://github.com/tomtom-internal/maps-sdk-js/commit/4a67239adcf446bdac3ec392b1aeee9cd88eabbd))
1431
+ * place-customization crash when using custom icons ([#2134](https://github.com/tomtom-internal/maps-sdk-js/issues/2134))
1407
1432
 
1408
1433
  ## [0.53.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.52.0...v0.53.0) (2026-09-14)
1409
1434
 
@@ -1415,16 +1440,16 @@
1415
1440
 
1416
1441
  ### Features
1417
1442
 
1418
- * **map:** add more dark theme styling ([#2108](https://github.com/tomtom-internal/maps-sdk-js/issues/2108)) ([b53d60a](https://github.com/tomtom-internal/maps-sdk-js/commit/b53d60ae9a75c394605de947b8c84d441f8d6660))
1419
- * **map:** styling GA phase 0 - resetState, awaited lifecycle, custom themes ([#2088](https://github.com/tomtom-internal/maps-sdk-js/issues/2088)) ([657e9f7](https://github.com/tomtom-internal/maps-sdk-js/commit/657e9f7b5177404dbe163111b805def0910b07d0))
1420
- * **services:** add routing request parameters the API accepts ([#2066](https://github.com/tomtom-internal/maps-sdk-js/issues/2066)) ([1dab989](https://github.com/tomtom-internal/maps-sdk-js/commit/1dab989d2854b8e477817f3e58aabc8849045e37))
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))
1421
1446
 
1422
1447
 
1423
1448
  ### Bug Fixes
1424
1449
 
1425
- * **examples:** pin the demos-proxy LLM base URL to the /v1 surface ([#2127](https://github.com/tomtom-internal/maps-sdk-js/issues/2127)) ([bdc0ac4](https://github.com/tomtom-internal/maps-sdk-js/commit/bdc0ac44917e90aef9c163fe45ce2ee40b0b3644))
1426
- * **map:** keep the map language across a clean style switch ([#2121](https://github.com/tomtom-internal/maps-sdk-js/issues/2121)) ([f88b3b4](https://github.com/tomtom-internal/maps-sdk-js/commit/f88b3b448495529457094018b07343d6d5510895))
1427
- * **skills:** correct four wrong APIs in the consumer skill docs ([#2116](https://github.com/tomtom-internal/maps-sdk-js/issues/2116)) ([319cf5f](https://github.com/tomtom-internal/maps-sdk-js/commit/319cf5f06b1af1613b57eb8c81414072694c6d43))
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))
1428
1453
 
1429
1454
  ## [0.52.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.51.5...v0.52.0) (2026-09-09)
1430
1455
 
@@ -1439,64 +1464,64 @@
1439
1464
 
1440
1465
  ### Features
1441
1466
 
1442
- * **examples:** claim validation intake example ([#2110](https://github.com/tomtom-internal/maps-sdk-js/issues/2110)) ([6f20f43](https://github.com/tomtom-internal/maps-sdk-js/commit/6f20f434549e357c7bdac98bbc86e0892f296024))
1443
- * **map:** replace get() with create() on data-owned map modules ([#2058](https://github.com/tomtom-internal/maps-sdk-js/issues/2058)) ([9d3d81e](https://github.com/tomtom-internal/maps-sdk-js/commit/9d3d81e349d21ce00368c12462c5919f6d8da491))
1444
- * **map:** scoped module events and per-map shared style modules (lsi-159) ([#2062](https://github.com/tomtom-internal/maps-sdk-js/issues/2062)) ([d91519e](https://github.com/tomtom-internal/maps-sdk-js/commit/d91519e870f2796a9874aa0b10651b7bc350b81e))
1445
- * migrate rev-geocoding to Orbis v2 ([#2063](https://github.com/tomtom-internal/maps-sdk-js/issues/2063)) ([d939fc8](https://github.com/tomtom-internal/maps-sdk-js/commit/d939fc8eced2c016efac51723a3d18fecd78c180))
1446
- * **routing:** drop the circle waypoint the API never had ([#2109](https://github.com/tomtom-internal/maps-sdk-js/issues/2109)) ([a25365b](https://github.com/tomtom-internal/maps-sdk-js/commit/a25365b8f491cc0b85001386601f2265c4ca05e2))
1447
- * **services:** remove routing parameters the API does not support ([#2064](https://github.com/tomtom-internal/maps-sdk-js/issues/2064)) ([943be5d](https://github.com/tomtom-internal/maps-sdk-js/commit/943be5d0fefde37f284b1d44a7d0bca2582a0d30))
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))
1448
1473
 
1449
1474
 
1450
1475
  ### Bug Fixes
1451
1476
 
1452
- * **examples:** stack the searched EV pins above the viewport stations ([#2068](https://github.com/tomtom-internal/maps-sdk-js/issues/2068)) ([7017081](https://github.com/tomtom-internal/maps-sdk-js/commit/7017081ae467d6d762eba3d8f48cd86a7203ccce))
1453
- * stop partial route updates clobbering config, give BYOD reset a contract ([#2097](https://github.com/tomtom-internal/maps-sdk-js/issues/2097)) ([e69e37e](https://github.com/tomtom-internal/maps-sdk-js/commit/e69e37ec833f665ec00b1b32835296e4918f9ad9))
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))
1454
1479
 
1455
1480
  ## [0.51.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.51.4...v0.51.5) (2026-08-25)
1456
1481
 
1457
1482
 
1458
1483
  ### Bug Fixes
1459
1484
 
1460
- * **docs:** correct stale APIs, dead links and drifted contributor docs ([#2053](https://github.com/tomtom-internal/maps-sdk-js/issues/2053)) ([fa3dc7b](https://github.com/tomtom-internal/maps-sdk-js/commit/fa3dc7bab594c685a1235376abb2ac9c386ebb81))
1485
+ * **docs:** correct stale APIs, dead links and drifted contributor docs ([#2053](https://github.com/tomtom-internal/maps-sdk-js/issues/2053))
1461
1486
 
1462
1487
  ## [0.51.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.51.3...v0.51.4) (2026-08-24)
1463
1488
 
1464
1489
 
1465
1490
  ### Bug Fixes
1466
1491
 
1467
- * **agent-toolkit:** range-check model coordinates and report plugin coverage ([#2048](https://github.com/tomtom-internal/maps-sdk-js/issues/2048)) ([8a4bcde](https://github.com/tomtom-internal/maps-sdk-js/commit/8a4bcde241e0d6339c84d037a547e79ed5be9adc))
1468
- * **agent-toolkit:** range-check the sandbox fitOnMap bbox ([6d1c02e](https://github.com/tomtom-internal/maps-sdk-js/commit/6d1c02e5e8d15bcc50c385479e72bddc662dc61c))
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
1469
1494
 
1470
1495
  ## [0.51.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.51.2...v0.51.3) (2026-08-18)
1471
1496
 
1472
1497
 
1473
1498
  ### Features
1474
1499
 
1475
- * add BaseMapModule appearance API and upgrade maplibre-gl to v6 ([#2035](https://github.com/tomtom-internal/maps-sdk-js/issues/2035)) ([f6b5296](https://github.com/tomtom-internal/maps-sdk-js/commit/f6b52966d456f1f73a9ce9dbe3a7b19eac164bc3))
1476
- * attribute map traffic to the product embedding the SDK ([#2028](https://github.com/tomtom-internal/maps-sdk-js/issues/2028)) ([644089f](https://github.com/tomtom-internal/maps-sdk-js/commit/644089f7921e12caf9405bea715a62e3c7c8aa97))
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))
1477
1502
 
1478
1503
  ## [0.51.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.51.1...v0.51.2) (2026-08-05)
1479
1504
 
1480
1505
 
1481
1506
  ### Bug Fixes
1482
1507
 
1483
- * include dist files from examples ([#2031](https://github.com/tomtom-internal/maps-sdk-js/issues/2031)) ([ded965a](https://github.com/tomtom-internal/maps-sdk-js/commit/ded965a8fba7e9bb45c9010210b017c6c58ee565))
1508
+ * include dist files from examples ([#2031](https://github.com/tomtom-internal/maps-sdk-js/issues/2031))
1484
1509
 
1485
1510
  ## [0.51.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.51.0...v0.51.1) (2026-08-04)
1486
1511
 
1487
1512
 
1488
1513
  ### Features
1489
1514
 
1490
- * **examples:** move the traffic and site-selection agents to Las Vegas ([#2016](https://github.com/tomtom-internal/maps-sdk-js/issues/2016)) ([4b19cb9](https://github.com/tomtom-internal/maps-sdk-js/commit/4b19cb994fee43e28bead4b6595526679d63e569))
1491
- * **examples:** record query and response text on AgentSuccess telemetry ([#2017](https://github.com/tomtom-internal/maps-sdk-js/issues/2017)) ([ded1d51](https://github.com/tomtom-internal/maps-sdk-js/commit/ded1d513c319fc91cc4f3d316f7b005c1c77817e))
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))
1492
1517
 
1493
1518
 
1494
1519
  ### Bug Fixes
1495
1520
 
1496
- * **deps:** pin a pnpm release that can still be installed ([#2030](https://github.com/tomtom-internal/maps-sdk-js/issues/2030)) ([c4d0882](https://github.com/tomtom-internal/maps-sdk-js/commit/c4d0882b39b8805efb670a3ce80189904f9bc1ea))
1497
- * **deps:** upgrade react and react-dom to 19.2.8 ([#2021](https://github.com/tomtom-internal/maps-sdk-js/issues/2021)) ([e6208dc](https://github.com/tomtom-internal/maps-sdk-js/commit/e6208dcf5a10e59d38897e5033c5649b03f8d405))
1498
- * geometry search playground empty query and unneeded promise.all ([#2029](https://github.com/tomtom-internal/maps-sdk-js/issues/2029)) ([eaae67e](https://github.com/tomtom-internal/maps-sdk-js/commit/eaae67e5ac01df9c64f715baef4d12aad31dbdf5))
1499
- * location resolver selecting subdivision over parent city ([#2024](https://github.com/tomtom-internal/maps-sdk-js/issues/2024)) ([11b44ef](https://github.com/tomtom-internal/maps-sdk-js/commit/11b44ef67f2811b67011a3cdc228e0d105d10736))
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))
1500
1525
 
1501
1526
  ## [0.51.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.50.4...v0.51.0) (2026-07-24)
1502
1527
 
@@ -1507,60 +1532,60 @@
1507
1532
 
1508
1533
  ### Features
1509
1534
 
1510
- * **map:** improve base map layer groups ([#1966](https://github.com/tomtom-internal/maps-sdk-js/issues/1966)) ([4bf43b8](https://github.com/tomtom-internal/maps-sdk-js/commit/4bf43b88910378e129ff2ec8d486eaf67a6210b6))
1535
+ * **map:** improve base map layer groups ([#1966](https://github.com/tomtom-internal/maps-sdk-js/issues/1966))
1511
1536
 
1512
1537
 
1513
1538
  ### Bug Fixes
1514
1539
 
1515
- * **agent-toolkit:** surface reverse-geocode no-match as an error ([#1995](https://github.com/tomtom-internal/maps-sdk-js/issues/1995)) ([8582a44](https://github.com/tomtom-internal/maps-sdk-js/commit/8582a4407776e44e7fd5cd28d12411748bc7ed79))
1516
- * chat UX polish, whitespace hex rendering, entry-id collision in toolkit ([#1999](https://github.com/tomtom-internal/maps-sdk-js/issues/1999)) ([c1b97db](https://github.com/tomtom-internal/maps-sdk-js/commit/c1b97dbe0e577918f0c391704632ee76378c23a3))
1517
- * **landmarks-3d:** render POIs on top of 3D landmark meshes ([#2011](https://github.com/tomtom-internal/maps-sdk-js/issues/2011)) ([79b0922](https://github.com/tomtom-internal/maps-sdk-js/commit/79b092201562e4452ac31f2890ac8046fdf3b27e))
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))
1518
1543
 
1519
1544
  ## [0.50.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.50.3...v0.50.4) (2026-07-09)
1520
1545
 
1521
1546
 
1522
1547
  ### Bug Fixes
1523
1548
 
1524
- * **map:** guard SourceWithLayers against a removed map ([#1985](https://github.com/tomtom-internal/maps-sdk-js/issues/1985)) ([8895e1a](https://github.com/tomtom-internal/maps-sdk-js/commit/8895e1a36da01d30c8ae967b4fe65aa628c4a159))
1549
+ * **map:** guard SourceWithLayers against a removed map ([#1985](https://github.com/tomtom-internal/maps-sdk-js/issues/1985))
1525
1550
 
1526
1551
  ## [0.50.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.50.2...v0.50.3) (2026-07-08)
1527
1552
 
1528
1553
 
1529
1554
  ### Bug Fixes
1530
1555
 
1531
- * **examples:** lazy-load App Insights in traffic agent to fix sandpack ([#1982](https://github.com/tomtom-internal/maps-sdk-js/issues/1982)) ([2b7a8f2](https://github.com/tomtom-internal/maps-sdk-js/commit/2b7a8f203019ca7d44cac8b443f18bbd2562aaff))
1556
+ * **examples:** lazy-load App Insights in traffic agent to fix sandpack ([#1982](https://github.com/tomtom-internal/maps-sdk-js/issues/1982))
1532
1557
 
1533
1558
  ## [0.50.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.50.1...v0.50.2) (2026-07-07)
1534
1559
 
1535
1560
 
1536
1561
  ### Features
1537
1562
 
1538
- * **examples:** add byod district prompts and per-district traffic monitoring ([#1978](https://github.com/tomtom-internal/maps-sdk-js/issues/1978)) ([60fe0e8](https://github.com/tomtom-internal/maps-sdk-js/commit/60fe0e8619a1efa7b40c0061aa40293fb89179f1))
1539
- * **examples:** gate site-selection household behind the experimental flag ([#1979](https://github.com/tomtom-internal/maps-sdk-js/issues/1979)) ([5366d98](https://github.com/tomtom-internal/maps-sdk-js/commit/5366d98485238921d23672737583f5fa2cdbf219))
1540
- * **examples:** prioritize agent-setup files in map agent Sandpack tabs ([#1961](https://github.com/tomtom-internal/maps-sdk-js/issues/1961)) ([13b2fd2](https://github.com/tomtom-internal/maps-sdk-js/commit/13b2fd258b2aa8960fd35427214fa89fceeec91d))
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))
1541
1566
 
1542
1567
 
1543
1568
  ### Bug Fixes
1544
1569
 
1545
- * **agent-toolkit:** resolve routing waypoints by place id or entry id ([#1974](https://github.com/tomtom-internal/maps-sdk-js/issues/1974)) ([e73a15f](https://github.com/tomtom-internal/maps-sdk-js/commit/e73a15f8f6d0a7b796b36b5d6a58ee04437e1f70))
1546
- * **agent-toolkit:** ungate scope and cross kind schemas ([#1977](https://github.com/tomtom-internal/maps-sdk-js/issues/1977)) ([6a4cb2e](https://github.com/tomtom-internal/maps-sdk-js/commit/6a4cb2e8925072d301a615bc285b1394af4eb28b))
1547
- * allow for an array of inputs with tools that use the progress bar ([#1975](https://github.com/tomtom-internal/maps-sdk-js/issues/1975)) ([1373650](https://github.com/tomtom-internal/maps-sdk-js/commit/137365019d6e17fd8e78548157d966b24361260c))
1548
- * **examples:** example titles + jam detail panel design fixes ([#1980](https://github.com/tomtom-internal/maps-sdk-js/issues/1980)) ([c150c0f](https://github.com/tomtom-internal/maps-sdk-js/commit/c150c0fe1eb5cb7edd87eca6db3951f051da66fe))
1549
- * **examples:** polish clarify wizard survey UX and hover states ([#1971](https://github.com/tomtom-internal/maps-sdk-js/issues/1971)) ([f992706](https://github.com/tomtom-internal/maps-sdk-js/commit/f992706ca02a23d1542fb0ed4df44199245e4789))
1550
- * **examples:** scroll chat when hovering the resize handle ([#1972](https://github.com/tomtom-internal/maps-sdk-js/issues/1972)) ([7d42a04](https://github.com/tomtom-internal/maps-sdk-js/commit/7d42a04bc9dd5141814d945ccd85a091541065f0))
1551
- * **site-selection:** panel polish + BYOD titles, colour & containment ([#1973](https://github.com/tomtom-internal/maps-sdk-js/issues/1973)) ([137b472](https://github.com/tomtom-internal/maps-sdk-js/commit/137b47233b9dd0d556fab141abfa0d71fe690c0c))
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))
1552
1577
 
1553
1578
 
1554
1579
  ### Performance Improvements
1555
1580
 
1556
- * move scenario-tests to main pushes ([#1968](https://github.com/tomtom-internal/maps-sdk-js/issues/1968)) ([a78a729](https://github.com/tomtom-internal/maps-sdk-js/commit/a78a729a7ccf0c76c881cbdcbfccacc5f11cd827))
1581
+ * move scenario-tests to main pushes ([#1968](https://github.com/tomtom-internal/maps-sdk-js/issues/1968))
1557
1582
 
1558
1583
  ## [0.50.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.50.0...v0.50.1) (2026-07-03)
1559
1584
 
1560
1585
 
1561
1586
  ### Bug Fixes
1562
1587
 
1563
- * **agent-toolkit:** unblock npm publishing of the plugin ([#1962](https://github.com/tomtom-internal/maps-sdk-js/issues/1962)) ([b0ae964](https://github.com/tomtom-internal/maps-sdk-js/commit/b0ae9647970ab03e3ed6906b529bdb6c7aba6b3a))
1588
+ * **agent-toolkit:** unblock npm publishing of the plugin ([#1962](https://github.com/tomtom-internal/maps-sdk-js/issues/1962))
1564
1589
 
1565
1590
  ## [0.50.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.49.1...v0.50.0) (2026-07-03)
1566
1591
 
@@ -1571,51 +1596,51 @@
1571
1596
 
1572
1597
  ### Features
1573
1598
 
1574
- * agent eval integration ([#1873](https://github.com/tomtom-internal/maps-sdk-js/issues/1873)) ([926270a](https://github.com/tomtom-internal/maps-sdk-js/commit/926270a79613525e365a04855f386aa5d4f229cc))
1575
- * **agent-eval:** llm judge with grounding veto and per-agent token monitoring ([#1912](https://github.com/tomtom-internal/maps-sdk-js/issues/1912)) ([a75c74d](https://github.com/tomtom-internal/maps-sdk-js/commit/a75c74d2a2c8ab4910b71581e51d5a61880db990))
1576
- * **examples:** agent telemetry and Azure Monitor observability dashboard ([#1936](https://github.com/tomtom-internal/maps-sdk-js/issues/1936)) ([92893fe](https://github.com/tomtom-internal/maps-sdk-js/commit/92893febbdcb6e1c1617867d1de3f0115c95815b))
1577
- * **examples:** berlin-based starter prompts ([#1946](https://github.com/tomtom-internal/maps-sdk-js/issues/1946)) ([bee84e3](https://github.com/tomtom-internal/maps-sdk-js/commit/bee84e39b75be6e44768e1fdd0c4f85b0a65b62f))
1578
- * **examples:** make site-selection agent state-driven + BYOD-capable ([#1932](https://github.com/tomtom-internal/maps-sdk-js/issues/1932)) ([667ae8e](https://github.com/tomtom-internal/maps-sdk-js/commit/667ae8e389e853ceb4d4ef4bf89ca2ecf0d563b0))
1579
- * **map:** expand geometry line config ([#1916](https://github.com/tomtom-internal/maps-sdk-js/issues/1916)) ([fcceefb](https://github.com/tomtom-internal/maps-sdk-js/commit/fcceefb63cd4371aef275bf29a41cc5cc751bcd2))
1580
- * **map:** granular fill/line beforeLayerConfig + geometry-config-playground ([#1952](https://github.com/tomtom-internal/maps-sdk-js/issues/1952)) ([44db14c](https://github.com/tomtom-internal/maps-sdk-js/commit/44db14ca630a36c1286afa332732194c3b1f2df8))
1581
- * **site-selection:** align with latest ux designs ([#1950](https://github.com/tomtom-internal/maps-sdk-js/issues/1950)) ([f31c6eb](https://github.com/tomtom-internal/maps-sdk-js/commit/f31c6eb3f12452f7f9bbb95ef2199eb734f55fe1))
1582
- * **site-selection:** let the LLM name the BYOD label field from the schema ([#1958](https://github.com/tomtom-internal/maps-sdk-js/issues/1958)) ([d97b632](https://github.com/tomtom-internal/maps-sdk-js/commit/d97b63201b3a5afef592bc99265abd7e995f9d7e))
1583
- * **site-selection:** polish widget + map visuals to latest ux designs ([#1959](https://github.com/tomtom-internal/maps-sdk-js/issues/1959)) ([bdd4931](https://github.com/tomtom-internal/maps-sdk-js/commit/bdd4931c50e5ce0bfc865a4dee2aeff4a86de3dd))
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))
1584
1609
 
1585
1610
 
1586
1611
  ### Bug Fixes
1587
1612
 
1588
- * **agent-toolkit:** accept places entry ids in where.placeIds ([#1935](https://github.com/tomtom-internal/maps-sdk-js/issues/1935)) ([5cf934d](https://github.com/tomtom-internal/maps-sdk-js/commit/5cf934ddcabdc9c48ead7c1e6cb530e7fa57a2e2))
1589
- * **agent-toolkit:** guard setMapStandardStyle against accidental style changes ([#1951](https://github.com/tomtom-internal/maps-sdk-js/issues/1951)) ([eed6211](https://github.com/tomtom-internal/maps-sdk-js/commit/eed62110b17efb7fb8b894f3433c97760a68ee5f))
1590
- * **agent-toolkit:** prefer dedicated tools over the MapLibre escape hatch ([#1954](https://github.com/tomtom-internal/maps-sdk-js/issues/1954)) ([a67a548](https://github.com/tomtom-internal/maps-sdk-js/commit/a67a54850c8ac25ed2624e3478137bc16a1d63c5))
1591
- * **agent-toolkit:** validate processData places and trace derived ids ([#1949](https://github.com/tomtom-internal/maps-sdk-js/issues/1949)) ([f820d53](https://github.com/tomtom-internal/maps-sdk-js/commit/f820d535f3b75f2467bed380b78407c87f243cad))
1592
- * **examples:** align agent chat UI across example apps ([#1930](https://github.com/tomtom-internal/maps-sdk-js/issues/1930)) ([321c585](https://github.com/tomtom-internal/maps-sdk-js/commit/321c585349b06ba4aff8911e448d4d39b0fbebad))
1593
- * **examples:** make agent telemetry optional in local dev ([#1960](https://github.com/tomtom-internal/maps-sdk-js/issues/1960)) ([8f4c4ef](https://github.com/tomtom-internal/maps-sdk-js/commit/8f4c4ef5b1ff047b6586149091579e99a3ffe406))
1594
- * **examples:** toolCall Figma polish + route corridor colors ([#1947](https://github.com/tomtom-internal/maps-sdk-js/issues/1947)) ([ee87045](https://github.com/tomtom-internal/maps-sdk-js/commit/ee8704565ae1bc08be506ea279d7b18830ac95c3))
1595
- * **landmarks-3d:** send session credentials so tiles load behind a proxy ([#1943](https://github.com/tomtom-internal/maps-sdk-js/issues/1943)) ([dc7b78c](https://github.com/tomtom-internal/maps-sdk-js/commit/dc7b78c0d614571b63f0d4f27620bbe1155e971a))
1596
- * **site-selection:** render all parking points, add discoverPlaces ([#1948](https://github.com/tomtom-internal/maps-sdk-js/issues/1948)) ([1a7362d](https://github.com/tomtom-internal/maps-sdk-js/commit/1a7362dd200fc8bd534ac53ee779729fb2236236))
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))
1597
1622
 
1598
1623
  ## [0.49.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.49.0...v0.49.1) (2026-06-30)
1599
1624
 
1600
1625
 
1601
1626
  ### Features
1602
1627
 
1603
- * **agent-toolkit:** expose sandbox data-tool inputs as per-entry records only ([#1890](https://github.com/tomtom-internal/maps-sdk-js/issues/1890)) ([ae53be5](https://github.com/tomtom-internal/maps-sdk-js/commit/ae53be54707aaa063d4a948d42226ae35761a2da))
1604
- * **examples:** align chat agent UI with the traffic agent Figma design ([#1911](https://github.com/tomtom-internal/maps-sdk-js/issues/1911)) ([0374887](https://github.com/tomtom-internal/maps-sdk-js/commit/0374887ee722ebe07ae82e62a5c21dfcc34e8b0a))
1605
- * **examples:** align traffic agent UI with Figma + playbook tokens ([#1902](https://github.com/tomtom-internal/maps-sdk-js/issues/1902)) ([7f76ed4](https://github.com/tomtom-internal/maps-sdk-js/commit/7f76ed4cecfea723d085e98fc9713bf17b2a9d8f))
1606
- * **examples:** group tool calls under a 'Used N tools' pill ([#1918](https://github.com/tomtom-internal/maps-sdk-js/issues/1918)) ([a901942](https://github.com/tomtom-internal/maps-sdk-js/commit/a901942fe57f9f1e2aceee8c48a7a7a1639316c7))
1607
- * **examples:** polish traffic-agent prose and fix null-driven map errors ([#1927](https://github.com/tomtom-internal/maps-sdk-js/issues/1927)) ([f80041f](https://github.com/tomtom-internal/maps-sdk-js/commit/f80041f51f3963ed71237549cf0f691806a27874))
1608
- * **examples:** render clarifyIntent as an interactive survey form ([#1919](https://github.com/tomtom-internal/maps-sdk-js/issues/1919)) ([5626cb1](https://github.com/tomtom-internal/maps-sdk-js/commit/5626cb117e44eaea50781ffde139f1af195a6495))
1609
- * **examples:** site selection implementation ([#1878](https://github.com/tomtom-internal/maps-sdk-js/issues/1878)) ([e540a72](https://github.com/tomtom-internal/maps-sdk-js/commit/e540a72b8e6a68d199a73895007fa52f9ece7e43))
1610
- * **examples:** unify the agent example UI + clarifyIntent survey wizard ([#1923](https://github.com/tomtom-internal/maps-sdk-js/issues/1923)) ([d1b3e05](https://github.com/tomtom-internal/maps-sdk-js/commit/d1b3e0561134df7e3330ff04f360c1419a59d5ab))
1611
- * **plugins:** add landmarks-3d plugin for Orbis 3D Landmarks ([#1772](https://github.com/tomtom-internal/maps-sdk-js/issues/1772)) ([ef5ed89](https://github.com/tomtom-internal/maps-sdk-js/commit/ef5ed899e9a396701668bd324799f6ddad96291c))
1612
- * **toolkit:** add clarifyIntent tool and add alwaysActive flag to tools ([#1883](https://github.com/tomtom-internal/maps-sdk-js/issues/1883)) ([112a58a](https://github.com/tomtom-internal/maps-sdk-js/commit/112a58abf731faed3df14618f41f0a63ddf57ed1))
1613
- * **traffic-agent:** watched-area highlight, grouped Event tracker, summary follows focus ([#1914](https://github.com/tomtom-internal/maps-sdk-js/issues/1914)) ([54476ec](https://github.com/tomtom-internal/maps-sdk-js/commit/54476ec3415956a960f6013243cf1640f5480c9b))
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))
1614
1639
 
1615
1640
 
1616
1641
  ### Bug Fixes
1617
1642
 
1618
- * **agent-toolkit:** register an empty entry for zero-incident results ([#1924](https://github.com/tomtom-internal/maps-sdk-js/issues/1924)) ([aed58c2](https://github.com/tomtom-internal/maps-sdk-js/commit/aed58c2be416ddfe3369fc6ac8f9991dcbb982a4))
1643
+ * **agent-toolkit:** register an empty entry for zero-incident results ([#1924](https://github.com/tomtom-internal/maps-sdk-js/issues/1924))
1619
1644
 
1620
1645
  ## [0.49.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.48.3...v0.49.0) (2026-06-24)
1621
1646
 
@@ -1628,66 +1653,66 @@
1628
1653
 
1629
1654
  ### Features
1630
1655
 
1631
- * agent-eval framework Initial MVP baseline ([#1842](https://github.com/tomtom-internal/maps-sdk-js/issues/1842)) ([223e15f](https://github.com/tomtom-internal/maps-sdk-js/commit/223e15f0d3bc0ed607e678cef819ee1843c69a4b))
1632
- * **agent-toolkit:** `resolvedAreas` — surface where every query resolved ([#1863](https://github.com/tomtom-internal/maps-sdk-js/issues/1863)) ([f89f5cd](https://github.com/tomtom-internal/maps-sdk-js/commit/f89f5cdb1e09362d4d3cef0c33e118a3fe29af42))
1633
- * **agent-toolkit:** analysis and incidents clustering improvements ([#1851](https://github.com/tomtom-internal/maps-sdk-js/issues/1851)) ([c9aa482](https://github.com/tomtom-internal/maps-sdk-js/commit/c9aa4829056ae6779cd88415ff20b30be6f5e26a))
1634
- * **agent-toolkit:** app-supplied URL-validator hook for addByodSource ([#1855](https://github.com/tomtom-internal/maps-sdk-js/issues/1855)) ([b9a38a8](https://github.com/tomtom-internal/maps-sdk-js/commit/b9a38a8263f6d54f8094c507ffa9d36f447686d5))
1635
- * **agent-toolkit:** fold incident monitoring into getTrafficIncidents ([#1847](https://github.com/tomtom-internal/maps-sdk-js/issues/1847)) ([6e63e92](https://github.com/tomtom-internal/maps-sdk-js/commit/6e63e92571f4617f0502b18344a5252c6ee9902c))
1636
- * **agent-toolkit:** generic trackers on the analyses registry ([#1876](https://github.com/tomtom-internal/maps-sdk-js/issues/1876)) ([8d05187](https://github.com/tomtom-internal/maps-sdk-js/commit/8d051871979e9f6ce2b281ae63b06286a56e62ea))
1637
- * **agent-toolkit:** keep untrusted BYOD free-text out of model context ([#1854](https://github.com/tomtom-internal/maps-sdk-js/issues/1854)) ([935c6eb](https://github.com/tomtom-internal/maps-sdk-js/commit/935c6eb12899abe25fe5d5c1dfe42fb474ee5fa0))
1638
- * **agent-toolkit:** monitor routes — periodic live-traffic recalculation ([#1869](https://github.com/tomtom-internal/maps-sdk-js/issues/1869)) ([ca20d3c](https://github.com/tomtom-internal/maps-sdk-js/commit/ca20d3cec0e20dcf247109ff0643b7104ba3ac9c))
1639
- * **agent-toolkit:** sandbox data-tool execution in a browser iframe-worker ([#1857](https://github.com/tomtom-internal/maps-sdk-js/issues/1857)) ([1103cf2](https://github.com/tomtom-internal/maps-sdk-js/commit/1103cf2599379e57b19b7400da053fb7a5d96f73))
1640
- * **agent-toolkit:** split and compact the base system prompt ([#1884](https://github.com/tomtom-internal/maps-sdk-js/issues/1884)) ([bc9ff9e](https://github.com/tomtom-internal/maps-sdk-js/commit/bc9ff9e5146dc92c610be8edaf463e1e3ac28bce))
1641
- * **agent-toolkit:** unify where-resolution ([#1834](https://github.com/tomtom-internal/maps-sdk-js/issues/1834)) ([6720e02](https://github.com/tomtom-internal/maps-sdk-js/commit/6720e026b22b25b0cfe180fa7b811b4fa1daa18c))
1642
- * **proxy:** bundle proxy config into static-html examples ([#1867](https://github.com/tomtom-internal/maps-sdk-js/issues/1867)) ([97095ff](https://github.com/tomtom-internal/maps-sdk-js/commit/97095ffa716cea2d751f8b1d6880e52303da9f33))
1643
- * **services:** forward common service params ev availability util service ([#1888](https://github.com/tomtom-internal/maps-sdk-js/issues/1888)) ([fb1783f](https://github.com/tomtom-internal/maps-sdk-js/commit/fb1783f28184c31b01f17c5818b3b08eacd94771))
1644
- * **traffic, map-display:** migrate to Orbis v2 GA ([#1829](https://github.com/tomtom-internal/maps-sdk-js/issues/1829)) ([6ccd244](https://github.com/tomtom-internal/maps-sdk-js/commit/6ccd2445de3ef4e209b30cdd13009e2408328d80))
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))
1645
1670
 
1646
1671
 
1647
1672
  ### Bug Fixes
1648
1673
 
1649
- * **examples:** inject multi-chunk plugin builds correctly for Sandpack ([#1871](https://github.com/tomtom-internal/maps-sdk-js/issues/1871)) ([0cf0752](https://github.com/tomtom-internal/maps-sdk-js/commit/0cf07523fd176452fe7ce89c0284495e2af18baf))
1650
- * **examples:** keep illegal-request rejection rule in traffic agent prompt ([#1891](https://github.com/tomtom-internal/maps-sdk-js/issues/1891)) ([2ff7a3c](https://github.com/tomtom-internal/maps-sdk-js/commit/2ff7a3c2da22b4f31d789d4bced1543200be6f86))
1651
- * **examples:** re-enable demo-BFF proxy bootstrap ([#1835](https://github.com/tomtom-internal/maps-sdk-js/issues/1835)) ([f0b9e7e](https://github.com/tomtom-internal/maps-sdk-js/commit/f0b9e7e31a9da15d8a465867ce2b8cc8909ed7ed))
1652
- * **examples:** unblock CI lint — suppress noUnusedVariables ([#1861](https://github.com/tomtom-internal/maps-sdk-js/issues/1861)) ([0bd433c](https://github.com/tomtom-internal/maps-sdk-js/commit/0bd433c1ca8d2d8b04177e4ee4bc06b55daf1517))
1653
- * **map:** style-change handlers return an unsubscribe disposer ([#1870](https://github.com/tomtom-internal/maps-sdk-js/issues/1870)) ([54758c3](https://github.com/tomtom-internal/maps-sdk-js/commit/54758c36d9b105420d244c502ec8941062245944))
1654
- * **skill:** trim tomtom-maps-sdk-js description under 1024-char limit ([#1838](https://github.com/tomtom-internal/maps-sdk-js/issues/1838)) ([ddb7084](https://github.com/tomtom-internal/maps-sdk-js/commit/ddb7084451496f4c6fd6b25a26baf3503e028905))
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))
1655
1680
 
1656
1681
 
1657
1682
  ### Reverts
1658
1683
 
1659
- * 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)) ([12ed6b9](https://github.com/tomtom-internal/maps-sdk-js/commit/12ed6b9dcc6b7e2c22d3525aa05f85c1ba6b5e89))
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))
1660
1685
 
1661
1686
 
1662
1687
  ### Code Refactoring
1663
1688
 
1664
- * **agent-toolkit:** consolidate per-kind recall tools into recallState ([#1868](https://github.com/tomtom-internal/maps-sdk-js/issues/1868)) ([a519e1f](https://github.com/tomtom-internal/maps-sdk-js/commit/a519e1f82efc571ef64492e269706482b67b1ef7))
1689
+ * **agent-toolkit:** consolidate per-kind recall tools into recallState ([#1868](https://github.com/tomtom-internal/maps-sdk-js/issues/1868))
1665
1690
 
1666
1691
  ## [0.48.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.48.2...v0.48.3) (2026-06-10)
1667
1692
 
1668
1693
 
1669
1694
  ### Features
1670
1695
 
1671
- * **routing:** migrate routing service to OrbisV3 API ([#1784](https://github.com/tomtom-internal/maps-sdk-js/issues/1784)) ([f6b04fc](https://github.com/tomtom-internal/maps-sdk-js/commit/f6b04fc5d31b3a1f014e262223e2f2683b0b6120))
1696
+ * **routing:** migrate routing service to OrbisV3 API ([#1784](https://github.com/tomtom-internal/maps-sdk-js/issues/1784))
1672
1697
 
1673
1698
  ## [0.48.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.48.1...v0.48.2) (2026-06-09)
1674
1699
 
1675
1700
 
1676
1701
  ### Bug Fixes
1677
1702
 
1678
- * remove sdk dep in examples ([#1832](https://github.com/tomtom-internal/maps-sdk-js/issues/1832)) ([077b603](https://github.com/tomtom-internal/maps-sdk-js/commit/077b6034c4d6ae51801c6d86037d243cb9ccc398))
1703
+ * remove sdk dep in examples ([#1832](https://github.com/tomtom-internal/maps-sdk-js/issues/1832))
1679
1704
 
1680
1705
  ## [0.48.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.48.0...v0.48.1) (2026-06-09)
1681
1706
 
1682
1707
 
1683
1708
  ### Features
1684
1709
 
1685
- * **agent-toolkit:** deterministic DBSCAN clustering tool ([c1d31b4](https://github.com/tomtom-internal/maps-sdk-js/commit/c1d31b4ddb1e71bf8bcbae5bdc57b3400d9cedcd))
1710
+ * **agent-toolkit:** deterministic DBSCAN clustering tool
1686
1711
 
1687
1712
 
1688
1713
  ### Bug Fixes
1689
1714
 
1690
- * pin assistant-ui ([#1828](https://github.com/tomtom-internal/maps-sdk-js/issues/1828)) ([e80b0a1](https://github.com/tomtom-internal/maps-sdk-js/commit/e80b0a1ff32b045cce707de27c3f7a7b15bd4e44))
1715
+ * pin assistant-ui ([#1828](https://github.com/tomtom-internal/maps-sdk-js/issues/1828))
1691
1716
 
1692
1717
  ## [0.48.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.9...v0.48.0) (2026-06-05)
1693
1718
 
@@ -1699,119 +1724,119 @@
1699
1724
 
1700
1725
  ### Features
1701
1726
 
1702
- * **agent-toolkit:** byod improvements ([#1816](https://github.com/tomtom-internal/maps-sdk-js/issues/1816)) ([4aeddca](https://github.com/tomtom-internal/maps-sdk-js/commit/4aeddca52a1da30cde36f6dbb18ddad689f47f27))
1703
- * **ci:** wire up Docs Portal PR preview environments ([#1812](https://github.com/tomtom-internal/maps-sdk-js/issues/1812)) ([49829eb](https://github.com/tomtom-internal/maps-sdk-js/commit/49829ebad00416fc88684f039f81239f6ac761d4))
1704
- * **events:** scope + dedupe allEventFeatures, typed substitution ([036c9c4](https://github.com/tomtom-internal/maps-sdk-js/commit/036c9c41be660b92ed80b74cae4b998ce595f94d))
1705
- * sdk proxy mode for demo-BFF ([#1810](https://github.com/tomtom-internal/maps-sdk-js/issues/1810)) ([da0f932](https://github.com/tomtom-internal/maps-sdk-js/commit/da0f9326c31665608cee1a2790129ff60be0ad29))
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))
1706
1731
 
1707
1732
 
1708
1733
  ### Bug Fixes
1709
1734
 
1710
- * **agent-toolkit:** add missing [@group](https://github.com/group) tags on exported types ([#1803](https://github.com/tomtom-internal/maps-sdk-js/issues/1803)) ([67f1cf3](https://github.com/tomtom-internal/maps-sdk-js/commit/67f1cf3c383d2e0db544cead55d16a66342ec4c2))
1711
- * **agent-toolkit:** public docs cleanup — links, system-prompt guidance, internal refs ([#1804](https://github.com/tomtom-internal/maps-sdk-js/issues/1804)) ([283fbc9](https://github.com/tomtom-internal/maps-sdk-js/commit/283fbc9f588e261baf1112805f77102b88ce7f5a))
1712
- * proxy mode sdk ([#1815](https://github.com/tomtom-internal/maps-sdk-js/issues/1815)) ([d6b7327](https://github.com/tomtom-internal/maps-sdk-js/commit/d6b73278f38d1e9b6ef43be46e4eff540a888640))
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))
1713
1738
 
1714
1739
  ## [0.47.9](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.8...v0.47.9) (2026-05-22)
1715
1740
 
1716
1741
 
1717
1742
  ### Bug Fixes
1718
1743
 
1719
- * d2 diagram in documentation ([b071702](https://github.com/tomtom-internal/maps-sdk-js/commit/b07170262abae749bdec2288eac405b26588de68))
1720
- * d2 diagram in documentation ([36a2991](https://github.com/tomtom-internal/maps-sdk-js/commit/36a299110af550f11b467a471932da20b74c505e))
1744
+ * d2 diagram in documentation
1745
+ * d2 diagram in documentation
1721
1746
 
1722
1747
  ## [0.47.8](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.7...v0.47.8) (2026-05-22)
1723
1748
 
1724
1749
 
1725
1750
  ### Features
1726
1751
 
1727
- * **agent-toolkit:** expand plugin documentation ([#1793](https://github.com/tomtom-internal/maps-sdk-js/issues/1793)) ([3f55084](https://github.com/tomtom-internal/maps-sdk-js/commit/3f550843ca92b2f08460759b200794e94178e87d))
1752
+ * **agent-toolkit:** expand plugin documentation ([#1793](https://github.com/tomtom-internal/maps-sdk-js/issues/1793))
1728
1753
 
1729
1754
 
1730
1755
  ### Bug Fixes
1731
1756
 
1732
- * **agent-toolkit:** split scenario tests into sanity / full suites ([#1798](https://github.com/tomtom-internal/maps-sdk-js/issues/1798)) ([b9b1fe8](https://github.com/tomtom-internal/maps-sdk-js/commit/b9b1fe8a6dcdf8f6e6fb156a2f251351b04851c9))
1733
- * **agent-toolkit:** stabilize locate-place scenario prompt ([#1795](https://github.com/tomtom-internal/maps-sdk-js/issues/1795)) ([6883269](https://github.com/tomtom-internal/maps-sdk-js/commit/6883269ccfd261c66067de6f8290d28a9dd83b91))
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))
1734
1759
 
1735
1760
  ## [0.47.7](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.6...v0.47.7) (2026-05-21)
1736
1761
 
1737
1762
 
1738
1763
  ### Features
1739
1764
 
1740
- * code generation tools with updated docs ([ef1a7fa](https://github.com/tomtom-internal/maps-sdk-js/commit/ef1a7fac2120e093564afeabd8def3ab7e93dc94))
1741
- * upgrade SDK agent toolkit and fix release process ([#1782](https://github.com/tomtom-internal/maps-sdk-js/issues/1782)) ([6e09446](https://github.com/tomtom-internal/maps-sdk-js/commit/6e094469c689dd824a29bfaea9cc67cbe931390d))
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))
1742
1767
 
1743
1768
 
1744
1769
  ### Bug Fixes
1745
1770
 
1746
- * **agent-toolkit:** point README docs link at overview page ([b2aba55](https://github.com/tomtom-internal/maps-sdk-js/commit/b2aba55dccab4109b12a9358bc5003a066926e9b))
1747
- * engineering guideline updates for agent toolkit ([dd24926](https://github.com/tomtom-internal/maps-sdk-js/commit/dd2492643fc67fc8e7dd3f6247f21569227b5912))
1748
- * tool doc updates for agent toolkit ([ac0076c](https://github.com/tomtom-internal/maps-sdk-js/commit/ac0076c45b3d747fb1c6baae64f90b01fb85bb4d))
1771
+ * **agent-toolkit:** point README docs link at overview page
1772
+ * engineering guideline updates for agent toolkit
1773
+ * tool doc updates for agent toolkit
1749
1774
 
1750
1775
  ## [0.47.6](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.5...v0.47.6) (2026-05-15)
1751
1776
 
1752
1777
 
1753
1778
  ### Features
1754
1779
 
1755
- * exploration search with area tags ([#1763](https://github.com/tomtom-internal/maps-sdk-js/issues/1763)) ([65327e6](https://github.com/tomtom-internal/maps-sdk-js/commit/65327e66eca351db365b5453e3801b420cee32e4))
1756
- * new custom geojson module in SDK ([#1771](https://github.com/tomtom-internal/maps-sdk-js/issues/1771)) ([63e5909](https://github.com/tomtom-internal/maps-sdk-js/commit/63e5909f6083d79467dcf917ba3f7a9853eca96d))
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))
1757
1782
 
1758
1783
 
1759
1784
  ### Bug Fixes
1760
1785
 
1761
- * agent toolkit place prompt fixes and clearing unnecessary modules ([#1773](https://github.com/tomtom-internal/maps-sdk-js/issues/1773)) ([1aa1873](https://github.com/tomtom-internal/maps-sdk-js/commit/1aa1873811705077d40af1942d38c4c5bf3d9568))
1786
+ * agent toolkit place prompt fixes and clearing unnecessary modules ([#1773](https://github.com/tomtom-internal/maps-sdk-js/issues/1773))
1762
1787
 
1763
1788
  ## [0.47.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.4...v0.47.5) (2026-05-13)
1764
1789
 
1765
1790
 
1766
1791
  ### Features
1767
1792
 
1768
- * migrate all map chat agent demos to tailwind ([#1764](https://github.com/tomtom-internal/maps-sdk-js/issues/1764)) ([b3b0f92](https://github.com/tomtom-internal/maps-sdk-js/commit/b3b0f927750b0fe78de724e5e919d2a082a63429))
1793
+ * migrate all map chat agent demos to tailwind ([#1764](https://github.com/tomtom-internal/maps-sdk-js/issues/1764))
1769
1794
 
1770
1795
 
1771
1796
  ### Bug Fixes
1772
1797
 
1773
- * restore incident module on style change ([ade0673](https://github.com/tomtom-internal/maps-sdk-js/commit/ade0673a26a62d72a7374c903ed90aa66e1bd80b))
1774
- * updated a couple of schemas and bumped zod dependencies to ^4.4.3 ([#1757](https://github.com/tomtom-internal/maps-sdk-js/issues/1757)) ([cfddcf7](https://github.com/tomtom-internal/maps-sdk-js/commit/cfddcf7b311dacc39e9075441060cfa543864960))
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))
1775
1800
 
1776
1801
  ## [0.47.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.3...v0.47.4) (2026-05-12)
1777
1802
 
1778
1803
 
1779
1804
  ### Features
1780
1805
 
1781
- * agent evaluation testing [LSI-285] ([#1747](https://github.com/tomtom-internal/maps-sdk-js/issues/1747)) ([dd02bec](https://github.com/tomtom-internal/maps-sdk-js/commit/dd02bec020e08b517c2908d2690d8bf0f9ae0aa3))
1806
+ * agent evaluation testing [LSI-285] ([#1747](https://github.com/tomtom-internal/maps-sdk-js/issues/1747))
1782
1807
 
1783
1808
 
1784
1809
  ### Bug Fixes
1785
1810
 
1786
- * add missing traffic incidents geojson module into agent coding skills ([0095e09](https://github.com/tomtom-internal/maps-sdk-js/commit/0095e09212794b0f0eb6d5edaffc214fdb38006a))
1787
- * upgrade and fix deps ([#1762](https://github.com/tomtom-internal/maps-sdk-js/issues/1762)) ([f5f1f8e](https://github.com/tomtom-internal/maps-sdk-js/commit/f5f1f8ed8d6168f24fdee900f580587fcc434422))
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))
1788
1813
 
1789
1814
  ## [0.47.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.2...v0.47.3) (2026-05-11)
1790
1815
 
1791
1816
 
1792
1817
  ### Bug Fixes
1793
1818
 
1794
- * example thumbnail reference ([3f22535](https://github.com/tomtom-internal/maps-sdk-js/commit/3f22535a9bde9d7c1740256a5db1b3713c5fd02a))
1819
+ * example thumbnail reference
1795
1820
 
1796
1821
  ## [0.47.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.1...v0.47.2) (2026-05-11)
1797
1822
 
1798
1823
 
1799
1824
  ### Bug Fixes
1800
1825
 
1801
- * example thumbnail reference ([68144d2](https://github.com/tomtom-internal/maps-sdk-js/commit/68144d29034fea86fe2040308b69f150a1628a6c))
1826
+ * example thumbnail reference
1802
1827
 
1803
1828
  ## [0.47.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.47.0...v0.47.1) (2026-05-11)
1804
1829
 
1805
1830
 
1806
1831
  ### Features
1807
1832
 
1808
- * **agent-toolkit:** live traffic agent ([f16863c](https://github.com/tomtom-internal/maps-sdk-js/commit/f16863c85f99dbebe167c7afe8adc6c8d81fbdb4))
1809
- * **map:** TrafficIncidentOverlayModule ([b5c8099](https://github.com/tomtom-internal/maps-sdk-js/commit/b5c80991f0f0c92f3df19422b941fd2d374f3456))
1833
+ * **agent-toolkit:** live traffic agent
1834
+ * **map:** TrafficIncidentOverlayModule
1810
1835
 
1811
1836
 
1812
1837
  ### Bug Fixes
1813
1838
 
1814
- * **traffic-incident-details:** drop non-filterable iconCategory codes ([61d2eb3](https://github.com/tomtom-internal/maps-sdk-js/commit/61d2eb3abadc6d7190a7a69fb55be09761d1f427))
1839
+ * **traffic-incident-details:** drop non-filterable iconCategory codes
1815
1840
 
1816
1841
  ## [0.47.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.13...v0.47.0) (2026-05-01)
1817
1842
 
@@ -1822,184 +1847,184 @@
1822
1847
 
1823
1848
  ### Features
1824
1849
 
1825
- * add managePlaces tool and centralize places display state ([0cc5005](https://github.com/tomtom-internal/maps-sdk-js/commit/0cc50050469f5ae8fa3450afc572c9491346f2e1))
1826
- * add model name to header ([a7c518b](https://github.com/tomtom-internal/maps-sdk-js/commit/a7c518bfd785f0994212e037a7971914fa032956))
1827
- * expand deployment workflow to support multiple SDK demos ([25aa8c2](https://github.com/tomtom-internal/maps-sdk-js/commit/25aa8c2361a233f8f85d803d43c41febe7f0866d))
1828
- * improve api reference types, adjust syntax for agent toolkit plugin, and improve agents.md ([9428902](https://github.com/tomtom-internal/maps-sdk-js/commit/9428902605299302fdbb206f22a514e6761d0716))
1829
- * improvements in places module themes ([c287856](https://github.com/tomtom-internal/maps-sdk-js/commit/c2878560f453e71a66f039cfe22f9e4b7322a577))
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
1830
1855
 
1831
1856
 
1832
1857
  ### Bug Fixes
1833
1858
 
1834
- * dynamic import ApplicationInsights to avoid adblocker crash ([#1709](https://github.com/tomtom-internal/maps-sdk-js/issues/1709)) ([98cc8bc](https://github.com/tomtom-internal/maps-sdk-js/commit/98cc8bc0ccf4221134a61d8ef2719c9f381bc6df))
1835
- * escape $web variable reference in upload step echo ([92ec7f1](https://github.com/tomtom-internal/maps-sdk-js/commit/92ec7f13366e02d0eef9bdd758ffd3f4e104888b))
1836
- * 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)) ([6c5c3ec](https://github.com/tomtom-internal/maps-sdk-js/commit/6c5c3ecd3e6c7212266f5d9c63da3d0b0d52b8c3))
1837
- * LSI-265 Fix branch name sanitation in 'Publish Examples' step ([#1732](https://github.com/tomtom-internal/maps-sdk-js/issues/1732)) ([d9cfddd](https://github.com/tomtom-internal/maps-sdk-js/commit/d9cfddd49e38537da3197fc4d341e39c5927d39d))
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))
1838
1863
 
1839
1864
  ## [0.46.13](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.12...v0.46.13) (2026-04-14)
1840
1865
 
1841
1866
 
1842
1867
  ### Features
1843
1868
 
1844
- * upgrade maplibre dependency ([6a419c6](https://github.com/tomtom-internal/maps-sdk-js/commit/6a419c6b70bff10588b11c4b3ea0fbefd5e20e18))
1869
+ * upgrade maplibre dependency
1845
1870
 
1846
1871
 
1847
1872
  ### Bug Fixes
1848
1873
 
1849
- * exporting map agent from plugins so it's included in API reference ([90a7bf9](https://github.com/tomtom-internal/maps-sdk-js/commit/90a7bf971a62190f36a35df6b2198e19c3dcba3e))
1850
- * rename map-agent plugin to agent-toolkit ([535b0f5](https://github.com/tomtom-internal/maps-sdk-js/commit/535b0f57c1b3ec2fedae70a351b52463594ebebe))
1851
- * update agent toolkit link in readme ([8659362](https://github.com/tomtom-internal/maps-sdk-js/commit/86593623e7e790fdc7c2a89b70d7292076b53aa5))
1852
- * update mobile breakpoint for chat agent demos ([#1697](https://github.com/tomtom-internal/maps-sdk-js/issues/1697)) ([7514420](https://github.com/tomtom-internal/maps-sdk-js/commit/751442031e9b1e3a2b7a25f8192c1db5c9b5e763))
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))
1853
1878
 
1854
1879
  ## [0.46.12](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.11...v0.46.12) (2026-04-10)
1855
1880
 
1856
1881
 
1857
1882
  ### Bug Fixes
1858
1883
 
1859
- * missing example images ([ddf05a5](https://github.com/tomtom-internal/maps-sdk-js/commit/ddf05a5d174f81228133db1a4e7aa79fff80e36a))
1884
+ * missing example images
1860
1885
 
1861
1886
  ## [0.46.11](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.10...v0.46.11) (2026-04-10)
1862
1887
 
1863
1888
 
1864
1889
  ### Bug Fixes
1865
1890
 
1866
- * examples type exports ([7878115](https://github.com/tomtom-internal/maps-sdk-js/commit/7878115d49806b1bffbedc7bc0eb63d278f32cc4))
1891
+ * examples type exports
1867
1892
 
1868
1893
  ## [0.46.10](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.9...v0.46.10) (2026-04-10)
1869
1894
 
1870
1895
 
1871
1896
  ### Features
1872
1897
 
1873
- * add traffic area analytics tools to map agent ([f9a6fd0](https://github.com/tomtom-internal/maps-sdk-js/commit/f9a6fd0fe7fcaa68ab000eb073ee08367324214d))
1874
- * enable ai-agent plugin for release ([00a69c8](https://github.com/tomtom-internal/maps-sdk-js/commit/00a69c84f4393b1a3736344d2784e761f54335c3))
1875
- * enhance traffic area analytics with improved filter handling and validation ([b8c9780](https://github.com/tomtom-internal/maps-sdk-js/commit/b8c97801b5fec43e32d302369dfb8ba68573afd1))
1876
- * expand TrafficAreaAnalyticsModule API with tiles mode, filtering, custom styling, and tooltip ([85fac97](https://github.com/tomtom-internal/maps-sdk-js/commit/85fac97a3bbd734b15db0a3bec3380e04e8dd563))
1877
- * improve mobile view for chat ([e8ea74b](https://github.com/tomtom-internal/maps-sdk-js/commit/e8ea74b6764f0b014ccb5664c2c69283697d7519))
1878
- * new module events to react to config changes and shown features ([28e295e](https://github.com/tomtom-internal/maps-sdk-js/commit/28e295ea1a36cf85361469a1210434684e6d7689))
1879
- * parameterize tool registry with unified ToolMetadata and MapAgentTool types ([5d599a8](https://github.com/tomtom-internal/maps-sdk-js/commit/5d599a83aa819b44ea7f586af56fff9ce67b1a96))
1880
- * remove canvas area analytics chart from main sdk, ported to example using html elements instead of canvas ([2fd5513](https://github.com/tomtom-internal/maps-sdk-js/commit/2fd55130856bb5a505a1bd04618b23c94deb0df8))
1881
- * traffic area analytics configuration improvements ([80cef2f](https://github.com/tomtom-internal/maps-sdk-js/commit/80cef2f7c69896c4299bf528d85e08402d028f23))
1882
- * traffic area analytics configuration improvements ([50f6d44](https://github.com/tomtom-internal/maps-sdk-js/commit/50f6d4427b51a461d88bebb99e83cedd6aa664dd))
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
1883
1908
 
1884
1909
 
1885
1910
  ### Bug Fixes
1886
1911
 
1887
- * ai plugin docs diagrams ([bbbf011](https://github.com/tomtom-internal/maps-sdk-js/commit/bbbf011fd39ec0b82e455891fe6b3f601f8a0a72))
1888
- * disambiguate traffic tools, add analytics to clearMap, fix restoration race ([ca528b7](https://github.com/tomtom-internal/maps-sdk-js/commit/ca528b73671c3a0cdffb8aa32c982f4a2fe53b9a))
1889
- * mobile speech input continuous ([d1da271](https://github.com/tomtom-internal/maps-sdk-js/commit/d1da2710c558bd0187a7088d1c26816dca6d79da))
1890
- * serialize dates as ISO strings for safe LLM parsing. Example transport cleanup ([dab7d79](https://github.com/tomtom-internal/maps-sdk-js/commit/dab7d7912892f76e256d677c9ed416c1f1bc447c))
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
1891
1916
 
1892
1917
  ## [0.46.9](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.8...v0.46.9) (2026-03-30)
1893
1918
 
1894
1919
 
1895
1920
  ### Features
1896
1921
 
1897
- * add internal optional metadata header ([cc1d522](https://github.com/tomtom-internal/maps-sdk-js/commit/cc1d522448cd3dcaabd810f8732bbf414744c71e))
1922
+ * add internal optional metadata header
1898
1923
 
1899
1924
  ## [0.46.8](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.7...v0.46.8) (2026-03-27)
1900
1925
 
1901
1926
 
1902
1927
  ### Features
1903
1928
 
1904
- * add traffic area analytics example with configuration and visualization options ([#1632](https://github.com/tomtom-internal/maps-sdk-js/issues/1632)) ([61e50f9](https://github.com/tomtom-internal/maps-sdk-js/commit/61e50f9898f7c75c2a9c97aef81e4ffdd4ed4741))
1905
- * **ai-eval, map-chat-agent:** extend eval harness and update eval cases ([f06cf91](https://github.com/tomtom-internal/maps-sdk-js/commit/f06cf91cae4daf8aad9394cdc2dcc632bc0eb297))
1906
- * ensure area analytics dates start at least 2 days before the current day ([99b98b0](https://github.com/tomtom-internal/maps-sdk-js/commit/99b98b0ba12f17e0958493fd486e1c3a43b7e11b))
1907
- * improve circle theme visuals with dynamic POI sizing and unified centered-icon offset logic ([ae3700b](https://github.com/tomtom-internal/maps-sdk-js/commit/ae3700bf2fc51b40dc273d8787dcec7bc476f75d))
1908
- * **map-agent:** add extension tools and map-data-agent example ([b6bbb24](https://github.com/tomtom-internal/maps-sdk-js/commit/b6bbb241d004ab50a554c3c9d98299957de03ffc))
1909
- * **map-agent:** redesign core tool layer ([9b341cc](https://github.com/tomtom-internal/maps-sdk-js/commit/9b341cc4137b5b4124f3f070c45f11f3363b3c44))
1910
- * **map-agent:** switch focusOnPlace from geocode to search, add biasPosition ([218f964](https://github.com/tomtom-internal/maps-sdk-js/commit/218f9643e3c103389511565f7add9f0094a6b3dd))
1911
- * show area analytics hexagons below place labels ([005c568](https://github.com/tomtom-internal/maps-sdk-js/commit/005c568b2508f8ff42f7ab4698056601751fba7b))
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
1912
1937
 
1913
1938
 
1914
1939
  ### Bug Fixes
1915
1940
 
1916
- * **map-agent:** fix P0/P1/P2 tool bugs and design weaknesses ([51274db](https://github.com/tomtom-internal/maps-sdk-js/commit/51274db17207911b30eb2445a63b1f6bc733c87e))
1917
- * maplibre version reliability in SDK built examples ([15752e4](https://github.com/tomtom-internal/maps-sdk-js/commit/15752e4e38e8ccebffd9f51e5e8768cc642907cb))
1918
- * poi category codes and mappings, and formatting ([a052455](https://github.com/tomtom-internal/maps-sdk-js/commit/a05245559bec8c698441288a15c02bec95c45d57))
1919
- * traffic area analytics layer id inits ([c5909cc](https://github.com/tomtom-internal/maps-sdk-js/commit/c5909ccec7d4dd0408c65ba72eb8c0531b1a767d))
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
1920
1945
 
1921
1946
  ## [0.46.7](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.6...v0.46.7) (2026-03-20)
1922
1947
 
1923
1948
 
1924
1949
  ### Features
1925
1950
 
1926
- * add area analytics module with visualization layers and utilities ([3d3c4f4](https://github.com/tomtom-internal/maps-sdk-js/commit/3d3c4f49431dff0591978c59786a5eed50203979))
1927
- * add color scheme selector and update legend functionality in TrafficAreaAnalyticsModule ([1b6aa8c](https://github.com/tomtom-internal/maps-sdk-js/commit/1b6aa8ce5b89b5da2ccbf9220a7b7255b86f903c))
1928
- * add color scheme support for TrafficAreaAnalyticsModule and related components ([12d9d84](https://github.com/tomtom-internal/maps-sdk-js/commit/12d9d8484d342c554bbe3c56c7000140a8e0c3ee))
1929
- * add integration tests and data for TrafficAreaAnalyticsModule following pr comments ([624957b](https://github.com/tomtom-internal/maps-sdk-js/commit/624957ba6b36239ffeb28196f36cf4bb0e6d8ae7))
1930
- * add layer ID properties for explicit access in TrafficAreaAnalyticsModule ([9710674](https://github.com/tomtom-internal/maps-sdk-js/commit/97106747e380c2e07a586a2d82ed351cb4c8af64))
1931
- * add theme propertie to RoutingModule and set-route-theme tool ([6c4833b](https://github.com/tomtom-internal/maps-sdk-js/commit/6c4833b20f96397d5febb4da1dbe4e678625f8ab))
1932
- * add traffic area analytics example with city search and hex grid ([cb034ab](https://github.com/tomtom-internal/maps-sdk-js/commit/cb034abf36c11596820dd70c549deebd58c7ca55))
1933
- * add TrafficAreaAnalyticsModule with hexgrid and heatmap layers ([cabe919](https://github.com/tomtom-internal/maps-sdk-js/commit/cabe919a35d724ee1d0eae728600596dc5127f9e))
1934
- * add TrafficAreaAnalyticsModule with visualization layers ([e8a1386](https://github.com/tomtom-internal/maps-sdk-js/commit/e8a1386086e715cda686ea316f85d388e9e3f03d))
1935
- * derive outline color from mainColor, update waypoint icons at runtime ([4a8e593](https://github.com/tomtom-internal/maps-sdk-js/commit/4a8e593ac6d1ecf5dbeb27c819145e2b89db1589))
1936
- * remove hexTransform module and simplify analytics display logic ([f25f224](https://github.com/tomtom-internal/maps-sdk-js/commit/f25f224058b8f635a4ba2918c7cbe1a9f9247f81))
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
1937
1962
 
1938
1963
 
1939
1964
  ### Bug Fixes
1940
1965
 
1941
- * add type annotation for madridCenter in TrafficAreaAnalyticsModule tests ([4ae92c5](https://github.com/tomtom-internal/maps-sdk-js/commit/4ae92c51e11033ac9ba15291be9001eaf13f322e))
1942
- * migrate reachable range service from V3 to V2 API and update docs link ([6543c10](https://github.com/tomtom-internal/maps-sdk-js/commit/6543c1036936876c39606c7774f0624d91b36310))
1943
- * omit tomtom-user-agent header for area analytics requests (CORS) ([e545b59](https://github.com/tomtom-internal/maps-sdk-js/commit/e545b597813d1596eb9cf6e6a50db0a24a95b758))
1944
- * resolve lint errors and remove non-null assertions ([5dd3424](https://github.com/tomtom-internal/maps-sdk-js/commit/5dd3424631a06498ba2a4b74a858b5d16a18e3d6))
1945
- * restore .npmrc before creating pull request ([143da4c](https://github.com/tomtom-internal/maps-sdk-js/commit/143da4c4de981d50e6a9e6440e9de5591b9571c9))
1946
- * wait ForMapIdle race condition ([dd84fdc](https://github.com/tomtom-internal/maps-sdk-js/commit/dd84fdcc26d7edcca8373a03a84d23efad2b2ea1))
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
1947
1972
 
1948
1973
  ## [0.46.6](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.5...v0.46.6) (2026-03-17)
1949
1974
 
1950
1975
 
1951
1976
  ### Bug Fixes
1952
1977
 
1953
- * dep and sandpack upgrades ([0c893f1](https://github.com/tomtom-internal/maps-sdk-js/commit/0c893f1c3953c731bd5eff575d8e857066b73ea4))
1978
+ * dep and sandpack upgrades
1954
1979
 
1955
1980
  ## [0.46.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.4...v0.46.5) (2026-03-17)
1956
1981
 
1957
1982
 
1958
1983
  ### Bug Fixes
1959
1984
 
1960
- * add thumbnails for nodejs examples ([de8c4ed](https://github.com/tomtom-internal/maps-sdk-js/commit/de8c4ed17163f1e982b11805401455629e5b8211))
1985
+ * add thumbnails for nodejs examples
1961
1986
 
1962
1987
  ## [0.46.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.3...v0.46.4) (2026-03-17)
1963
1988
 
1964
1989
 
1965
1990
  ### Bug Fixes
1966
1991
 
1967
- * sandpack examples relying on Set logic ([ada3d81](https://github.com/tomtom-internal/maps-sdk-js/commit/ada3d811407200c1e2220e5a81f4a6dfa3e00242))
1992
+ * sandpack examples relying on Set logic
1968
1993
 
1969
1994
  ## [0.46.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.2...v0.46.3) (2026-03-17)
1970
1995
 
1971
1996
 
1972
1997
  ### Features
1973
1998
 
1974
- * along route search service with examples, docs and minor refactorings ([bca128f](https://github.com/tomtom-internal/maps-sdk-js/commit/bca128fe3e122be4dbc6a19701bacfdb8e94080b))
1975
- * along route search service with examples, docs and minor refactorings ([fcef902](https://github.com/tomtom-internal/maps-sdk-js/commit/fcef902167d51c61d26dfd104e8e929b7fe854d9))
1999
+ * along route search service with examples, docs and minor refactorings
2000
+ * along route search service with examples, docs and minor refactorings
1976
2001
 
1977
2002
 
1978
2003
  ### Bug Fixes
1979
2004
 
1980
- * ensure geometry search and along route search cannot accept position params ([b065378](https://github.com/tomtom-internal/maps-sdk-js/commit/b065378f2f08a5bbbbac2e3d362e116c06263d1d))
2005
+ * ensure geometry search and along route search cannot accept position params
1981
2006
 
1982
2007
  ## [0.46.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.1...v0.46.2) (2026-03-16)
1983
2008
 
1984
2009
 
1985
2010
  ### Features
1986
2011
 
1987
- * add context7 json to help manage ai assisted coding ([7ce7c17](https://github.com/tomtom-internal/maps-sdk-js/commit/7ce7c179394471c8778828622ae8c8cec8d8ed6c))
2012
+ * add context7 json to help manage ai assisted coding
1988
2013
 
1989
2014
  ## [0.46.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.46.0...v0.46.1) (2026-03-13)
1990
2015
 
1991
2016
 
1992
2017
  ### Features
1993
2018
 
1994
- * add skills for agents to develop with the SDK ([cc30803](https://github.com/tomtom-internal/maps-sdk-js/commit/cc30803e1c7e626bae2ecd6239296427687f9d58))
1995
- * enhance documentation for map agent and setup with new examples and boilerplate ([d75af32](https://github.com/tomtom-internal/maps-sdk-js/commit/d75af3225ba6331142976cc980d323881ea40240))
1996
- * make tool-activation opt-out ([1a3f980](https://github.com/tomtom-internal/maps-sdk-js/commit/1a3f9808aa252b3b9a44139712f313e5cf8a68d1))
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
1997
2022
 
1998
2023
 
1999
2024
  ### Bug Fixes
2000
2025
 
2001
- * ensure traffic area analytics report name ([2bb9a5b](https://github.com/tomtom-internal/maps-sdk-js/commit/2bb9a5b21d1719df23ece7fcb387ca702178cb73))
2002
- * poi category codes agent tool reliability with languages ([5bac87d](https://github.com/tomtom-internal/maps-sdk-js/commit/5bac87d6e53c8089aab2bd4ee56042ab4a3023b9))
2026
+ * ensure traffic area analytics report name
2027
+ * poi category codes agent tool reliability with languages
2003
2028
 
2004
2029
  ## [0.46.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.12...v0.46.0) (2026-03-12)
2005
2030
 
@@ -2010,96 +2035,96 @@
2010
2035
 
2011
2036
  ### Features
2012
2037
 
2013
- * improve poi categories relationship with search ([52f5a26](https://github.com/tomtom-internal/maps-sdk-js/commit/52f5a265dbe0ae4cbb3386de3740cb887ed1a11c))
2014
- * traffic area analytics lite service ([e3208bb](https://github.com/tomtom-internal/maps-sdk-js/commit/e3208bb3210fdb5c13a163a69ac3f397fca6d165))
2038
+ * improve poi categories relationship with search
2039
+ * traffic area analytics lite service
2015
2040
 
2016
2041
  ## [0.45.12](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.11...v0.45.12) (2026-03-04)
2017
2042
 
2018
2043
 
2019
2044
  ### Bug Fixes
2020
2045
 
2021
- * missing example thumbnail ([376d2ae](https://github.com/tomtom-internal/maps-sdk-js/commit/376d2aeb98fc1a875e9dfe59af04dc1e64862441))
2046
+ * missing example thumbnail
2022
2047
 
2023
2048
  ## [0.45.11](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.10...v0.45.11) (2026-03-03)
2024
2049
 
2025
2050
 
2026
2051
  ### Features
2027
2052
 
2028
- * add avoid areas parameter for route calculations ([301c108](https://github.com/tomtom-internal/maps-sdk-js/commit/301c1084c74bd9f7c8132524cb3806589300f264))
2029
- * add avoid areas parameter for route calculations ([92d622a](https://github.com/tomtom-internal/maps-sdk-js/commit/92d622a5ae0c954039ece72bc5554539d53e3892))
2030
- * add intent-based classification and selective tooling with tool groups and step scope ([b49f2b4](https://github.com/tomtom-internal/maps-sdk-js/commit/b49f2b48c1261990e5d25c4ff0aa267e57d971d8))
2031
- * improve pois and traffic map feature mappings ([3cc9648](https://github.com/tomtom-internal/maps-sdk-js/commit/3cc96486b2f591308436e2e8e3a4cd892e3b98c1))
2032
- * improve pois and traffic map feature mappings ([3ea4c79](https://github.com/tomtom-internal/maps-sdk-js/commit/3ea4c794597fb047bec5632a3c773e6609d15a39))
2033
- * multiple agent tool improvements ([2bc0945](https://github.com/tomtom-internal/maps-sdk-js/commit/2bc09455bfaa4c50098daab246774ea2bf091e25))
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
2034
2059
 
2035
2060
 
2036
2061
  ### Bug Fixes
2037
2062
 
2038
- * clear geometry labels property ([5fba21b](https://github.com/tomtom-internal/maps-sdk-js/commit/5fba21b833a33b341955cab3b7a80d29bb3dfa9e))
2039
- * geometries label size ([f01c4d6](https://github.com/tomtom-internal/maps-sdk-js/commit/f01c4d626506847357ade61e1a4c6b2f1e111941))
2040
- * remove unused section props ([fd49b6e](https://github.com/tomtom-internal/maps-sdk-js/commit/fd49b6e47fcb12d91a83a1c335c9824c42224e36))
2041
- * routing module incident events type ([fe0be16](https://github.com/tomtom-internal/maps-sdk-js/commit/fe0be16344c6c4e52eb00b6ef07492d8dc4ab259))
2042
- * switch from geojsonobject to geojson types for correctness ([119816b](https://github.com/tomtom-internal/maps-sdk-js/commit/119816b40ead3cf6081f319d8a6c006980c3ecf3))
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
2043
2068
 
2044
2069
  ## [0.45.10](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.9...v0.45.10) (2026-02-26)
2045
2070
 
2046
2071
 
2047
2072
  ### Features
2048
2073
 
2049
- * improve traffic details service parameters and documentation ([ca8e026](https://github.com/tomtom-internal/maps-sdk-js/commit/ca8e0267dd11b6a899f5c4b254015913d50a60d0))
2074
+ * improve traffic details service parameters and documentation
2050
2075
 
2051
2076
  ## [0.45.9](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.8...v0.45.9) (2026-02-26)
2052
2077
 
2053
2078
 
2054
2079
  ### Features
2055
2080
 
2056
- * improve inverted theme support for reachable ranges, migrate examples to use theme: 'inverted' ([5bd9c93](https://github.com/tomtom-internal/maps-sdk-js/commit/5bd9c93ccc8cfce5b143da3f12a09d165af2eb6b))
2057
- * incident details service improvements and added agent tools ([9f3058d](https://github.com/tomtom-internal/maps-sdk-js/commit/9f3058dd55fde278ea8d8b58ddb223c354dd9ada))
2058
- * traffic incident details service ([202d513](https://github.com/tomtom-internal/maps-sdk-js/commit/202d51337cc0a45b2dd03474f8c155a3dc3e7eb9))
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
2059
2084
 
2060
2085
  ## [0.45.8](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.7...v0.45.8) (2026-02-24)
2061
2086
 
2062
2087
 
2063
2088
  ### Bug Fixes
2064
2089
 
2065
- * ensure reachable ranges is visible on docs portal ([f10675a](https://github.com/tomtom-internal/maps-sdk-js/commit/f10675a170d6e7cfe8b73b29a921e210a3f0bae3))
2090
+ * ensure reachable ranges is visible on docs portal
2066
2091
 
2067
2092
  ## [0.45.7](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.6...v0.45.7) (2026-02-24)
2068
2093
 
2069
2094
 
2070
2095
  ### Features
2071
2096
 
2072
- * add themed geometry config and make reachable-ranges zero-plumbing geometry display ([75b0b2d](https://github.com/tomtom-internal/maps-sdk-js/commit/75b0b2da243c0e7b51635c841301ec709e8bc4a6))
2073
- * reinstate displayReachableRanges and reachable-ranges example, allowing custom multi-budget-type, palette, and theme support ([ff5ef71](https://github.com/tomtom-internal/maps-sdk-js/commit/ff5ef716cad6a423c6df955a634b4c781fb2519e))
2074
- * typed features for map traffic incidents and flow, with extra properties ([4c5f25d](https://github.com/tomtom-internal/maps-sdk-js/commit/4c5f25d822b80df97b81ea6027c8b6e241e2c2e6))
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
2075
2100
 
2076
2101
 
2077
2102
  ### Bug Fixes
2078
2103
 
2079
- * remove roadShieldReferences guidance param — road shields are requested via sectionTypes, and are included by default ([dca539b](https://github.com/tomtom-internal/maps-sdk-js/commit/dca539b5c04b91a79cfa47273c413edee342b6ce))
2104
+ * remove roadShieldReferences guidance param — road shields are requested via sectionTypes, and are included by default
2080
2105
 
2081
2106
  ## [0.45.6](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.5...v0.45.6) (2026-02-23)
2082
2107
 
2083
2108
 
2084
2109
  ### Features
2085
2110
 
2086
- * opt-out visibility for route summary bubbles ([429c214](https://github.com/tomtom-internal/maps-sdk-js/commit/429c214fa9d2416b3dc205df89d1d72b2ad781bc))
2111
+ * opt-out visibility for route summary bubbles
2087
2112
 
2088
2113
 
2089
2114
  ### Bug Fixes
2090
2115
 
2091
- * pois module feature mappings and type fixes ([7e59a24](https://github.com/tomtom-internal/maps-sdk-js/commit/7e59a24fbdbd525e1d94c87036d05924bb28ff03))
2116
+ * pois module feature mappings and type fixes
2092
2117
 
2093
2118
  ## [0.45.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.4...v0.45.5) (2026-02-20)
2094
2119
 
2095
2120
 
2096
2121
  ### Features
2097
2122
 
2098
- * add new get section progress tool, and improve existing tools ([046264c](https://github.com/tomtom-internal/maps-sdk-js/commit/046264cadb463ef5f1b2e856997f6d3ef5c5ad13))
2099
- * core utilities related to routes and tool description improvements ([a207053](https://github.com/tomtom-internal/maps-sdk-js/commit/a207053638dbc34ffe8d440118b418b1d638a489))
2100
- * new hover-move event type which keeps firing as you move the pointer over the relevant features ([1ffc433](https://github.com/tomtom-internal/maps-sdk-js/commit/1ffc433612b34397af242351ab1d226323ca5682))
2101
- * new utility to find route progress matching a nearby arbitrary location ([a0e3e0d](https://github.com/tomtom-internal/maps-sdk-js/commit/a0e3e0d4e8ad69d874bc2d1099da65f585386772))
2102
- * refactor core utility guides and add new example for add stops to route ([137e4d9](https://github.com/tomtom-internal/maps-sdk-js/commit/137e4d9515668acaaaf996a74029c0d8c86cb099))
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
2103
2128
 
2104
2129
 
2105
2130
  ## [0.45.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.45.3...v0.45.4) (2026-02-17)
@@ -2110,48 +2135,48 @@
2110
2135
 
2111
2136
  ### Features
2112
2137
 
2113
- * add shared CSS design system and reusable HTML templates for examples ([5d5e77b](https://github.com/tomtom-internal/maps-sdk-js/commit/5d5e77bb95ba2d47ef87533edaf894780a9c8860))
2114
- * add template CSS inlining and local SDK dependency resolution to Sandpack ([d16d9b6](https://github.com/tomtom-internal/maps-sdk-js/commit/d16d9b6f863d12b69033be350fac84ecbf5b1e2d))
2115
- * migrate all examples to use the shared CSS design system ([76f42f9](https://github.com/tomtom-internal/maps-sdk-js/commit/76f42f90304e4db4b7061f91120d1632b6c4f0f5))
2116
- * zod and lodash are now peer dependencies, not bundled in sdk anymore ([e7dbce5](https://github.com/tomtom-internal/maps-sdk-js/commit/e7dbce52d73372087fc6a38cd5a1eae499223e11))
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
2117
2142
 
2118
2143
 
2119
2144
  ### Bug Fixes
2120
2145
 
2121
- * update Playwright config for Chrome for Testing WebGL support and refresh snapshots ([05d644f](https://github.com/tomtom-internal/maps-sdk-js/commit/05d644f82857ce6f828394a6f5bebb569d895ad4))
2146
+ * update Playwright config for Chrome for Testing WebGL support and refresh snapshots
2122
2147
 
2123
2148
  ## [0.42.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.42.1...v0.42.2) (2026-02-06)
2124
2149
 
2125
2150
 
2126
2151
  ### Bug Fixes
2127
2152
 
2128
- * ensure map theme switching is smooth ([f5ce208](https://github.com/tomtom-internal/maps-sdk-js/commit/f5ce208d1dfbc725e68ce2b57d4f20adafac1c06))
2153
+ * ensure map theme switching is smooth
2129
2154
 
2130
2155
  ## [0.42.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.42.0...v0.42.1) (2026-02-03)
2131
2156
 
2132
2157
 
2133
2158
  ### Features
2134
2159
 
2135
- * add traffic incident playground example ([f5dc3ea](https://github.com/tomtom-internal/maps-sdk-js/commit/f5dc3eacffc13549b098838fffedc1bd8d460f5f))
2160
+ * add traffic incident playground example
2136
2161
 
2137
2162
 
2138
2163
  ### Bug Fixes
2139
2164
 
2140
- * enable documentation indexing ([0af5d75](https://github.com/tomtom-internal/maps-sdk-js/commit/0af5d75c356ed4ad5cbca07454d0c182a7621954))
2141
- * filter by incidents by magnitude_of_delay ([7e99da9](https://github.com/tomtom-internal/maps-sdk-js/commit/7e99da917e1ce9caeef37f4d85b2a91d8051db9b))
2142
- * omit bounding box and position from search options in viewport places plugin since they should be automatically set ([a2ffd50](https://github.com/tomtom-internal/maps-sdk-js/commit/a2ffd503c58cbf0c17c678b54cf6f83d8074936f))
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
2143
2168
 
2144
2169
  ## [0.42.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.8...v0.42.0) (2026-01-30)
2145
2170
 
2146
2171
 
2147
2172
  ### Features
2148
2173
 
2149
- * **viewport-places:** improve types ([817678e](https://github.com/tomtom-internal/maps-sdk-js/commit/817678e6d280560307bfb445bf183136aca69a41))
2174
+ * **viewport-places:** improve types
2150
2175
 
2151
2176
 
2152
2177
  ### Bug Fixes
2153
2178
 
2154
- * viewport places plugin example ([836abdd](https://github.com/tomtom-internal/maps-sdk-js/commit/836abdd73e6fc4bb4829c7bb725521e149bf1db3))
2179
+ * viewport places plugin example
2155
2180
 
2156
2181
 
2157
2182
  ## [0.41.8](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.7...v0.41.8) (2026-01-30)
@@ -2159,71 +2184,71 @@
2159
2184
 
2160
2185
  ### Bug Fixes
2161
2186
 
2162
- * viewport places plugin example ([836abdd](https://github.com/tomtom-internal/maps-sdk-js/commit/836abdd73e6fc4bb4829c7bb725521e149bf1db3))
2187
+ * viewport places plugin example
2163
2188
 
2164
2189
  ## [0.41.7](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.6...v0.41.7) (2026-01-30)
2165
2190
 
2166
2191
 
2167
2192
  ### Bug Fixes
2168
2193
 
2169
- * improve release workflow and update documentation ([905a7ed](https://github.com/tomtom-internal/maps-sdk-js/commit/905a7ed0f3770ce51ac2937a948ef4ad6b8bfcaa))
2194
+ * improve release workflow and update documentation
2170
2195
 
2171
2196
  ## [0.41.6](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.5...v0.41.6) (2026-01-30)
2172
2197
 
2173
2198
 
2174
2199
  ### Features
2175
2200
 
2176
- * **viewport-places:** improve types ([817678e](https://github.com/tomtom-internal/maps-sdk-js/commit/817678e6d280560307bfb445bf183136aca69a41))
2201
+ * **viewport-places:** improve types
2177
2202
 
2178
2203
  ## [0.41.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.4...v0.41.5) (2026-01-30)
2179
2204
 
2180
2205
 
2181
2206
  ### Features
2182
2207
 
2183
- * **viewport-places:** improve TSDocs ([01ced36](https://github.com/tomtom-internal/maps-sdk-js/commit/01ced36e895f679e0f92f2241d9442c9415e0eb2))
2208
+ * **viewport-places:** improve TSDocs
2184
2209
 
2185
2210
  ## [0.41.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.3...v0.41.4) (2026-01-30)
2186
2211
 
2187
2212
 
2188
2213
  ### Bug Fixes
2189
2214
 
2190
- * missing [@ignore](https://github.com/ignore) for internal routing variable ([3d0651d](https://github.com/tomtom-internal/maps-sdk-js/commit/3d0651d38cbba4768dbf93c76858950f10b9a51b))
2191
- * missing tsdoc group for type ([c979606](https://github.com/tomtom-internal/maps-sdk-js/commit/c9796067f7fb1dabda579ca4d086369da3f198c3))
2215
+ * missing [@ignore](https://github.com/ignore) for internal routing variable
2216
+ * missing tsdoc group for type
2192
2217
 
2193
2218
  ## [0.41.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.2...v0.41.3) (2026-01-29)
2194
2219
 
2195
2220
 
2196
2221
  ### Features
2197
2222
 
2198
- * simplify viewport places method name, and improve api reference docs ([46c7de1](https://github.com/tomtom-internal/maps-sdk-js/commit/46c7de1f504839a796d8052567069b5d87ccdb0b))
2199
- * upgrade deps ([a290b02](https://github.com/tomtom-internal/maps-sdk-js/commit/a290b02770dfa80b54fe32ed0c2758c7b42d2ec3))
2223
+ * simplify viewport places method name, and improve api reference docs
2224
+ * upgrade deps
2200
2225
 
2201
2226
  ## [0.41.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.1...v0.41.2) (2026-01-29)
2202
2227
 
2203
2228
 
2204
2229
  ### Features
2205
2230
 
2206
- * add availability-aware custom EV icons to example ([99a7c22](https://github.com/tomtom-internal/maps-sdk-js/commit/99a7c229e1dd79fb05f0e23a62121a70649c20ae))
2207
- * add EV availability icon selection with custom icon support ([64340fe](https://github.com/tomtom-internal/maps-sdk-js/commit/64340fed1dcb4660c71a3ee780b807601408ff42))
2208
- * add EVAvailabilityConfig type with opt-in configuration ([6a7d8b5](https://github.com/tomtom-internal/maps-sdk-js/commit/6a7d8b578d6d02c355462ec6575087587aa06d05))
2209
- * add plugins workspace with first plugin to easily display search-powered layers of places on the map ([eac82a2](https://github.com/tomtom-internal/maps-sdk-js/commit/eac82a2ebe731e87463564eb5e1331089ca1cc70))
2210
- * add theme awareness and availability-level icon image handling to PlacesModule ([62f0859](https://github.com/tomtom-internal/maps-sdk-js/commit/62f0859671242f58b5ade2efc6b710944afdc720))
2211
- * enhance EV custom display example with theme switching and improved controls ([5da5f20](https://github.com/tomtom-internal/maps-sdk-js/commit/5da5f20af6634cb6ba3f16fb59c4ff0af3fd7a34))
2212
- * implement EV availability display in layer specs ([2f737a2](https://github.com/tomtom-internal/maps-sdk-js/commit/2f737a2a9cded78e1d52d8a06d0e62f4efb5d438))
2213
- * rename ev playground to search ([5b19771](https://github.com/tomtom-internal/maps-sdk-js/commit/5b19771765584305ff900c7d0c70e30d364e9ab5))
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
2214
2239
 
2215
2240
 
2216
2241
  ### Bug Fixes
2217
2242
 
2218
- * make StyleChangeHandler callbacks optional ([35339ca](https://github.com/tomtom-internal/maps-sdk-js/commit/35339ca0927474314bd2222c5dcc30d832552da7))
2219
- * try to fail gracefully when some layers cannot be added in map modules, likely due to misconfiguration ([afa586e](https://github.com/tomtom-internal/maps-sdk-js/commit/afa586e03e1a4d7c72f4b72fb1fab46bfeaa018a))
2243
+ * make StyleChangeHandler callbacks optional
2244
+ * try to fail gracefully when some layers cannot be added in map modules, likely due to misconfiguration
2220
2245
 
2221
2246
  ## [0.41.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.41.0...v0.41.1) (2026-01-16)
2222
2247
 
2223
2248
 
2224
2249
  ### Bug Fixes
2225
2250
 
2226
- * **examples:** import in ev-charging-stations-playground ([2d66e62](https://github.com/tomtom-internal/maps-sdk-js/commit/2d66e62f948658abd652042ffaca5431c93d9966))
2251
+ * **examples:** import in ev-charging-stations-playground
2227
2252
 
2228
2253
  ## [0.41.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.40.1...v0.41.0) (2026-01-16)
2229
2254
 
@@ -2236,297 +2261,297 @@
2236
2261
 
2237
2262
  ### Bug Fixes
2238
2263
 
2239
- * css responsiveness ([37b0c8b](https://github.com/tomtom-internal/maps-sdk-js/commit/37b0c8b7e01e36893f3acde03fbfbdb09d30ac0e))
2240
- * **ev-search:** getPlacesWithEvAvailability return type ([1a8134c](https://github.com/tomtom-internal/maps-sdk-js/commit/1a8134cc16fb7a3701b09ef13a6897dd158ad861))
2264
+ * css responsiveness
2265
+ * **ev-search:** getPlacesWithEvAvailability return type
2241
2266
 
2242
2267
 
2243
2268
  ### Code Refactoring
2244
2269
 
2245
- * **ev-search:** merge connectors and connectorCounts ([352c404](https://github.com/tomtom-internal/maps-sdk-js/commit/352c404abea41e407e2060ac74fe6b3a1fa64794))
2246
- * merge mapParams and mapLibreOptions ([3756aaf](https://github.com/tomtom-internal/maps-sdk-js/commit/3756aafdf1b23f9af8a07a72b8ee388aade789e6))
2270
+ * **ev-search:** merge connectors and connectorCounts
2271
+ * merge mapParams and mapLibreOptions
2247
2272
 
2248
2273
  ## [0.40.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.40.0...v0.40.1) (2026-01-08)
2249
2274
 
2250
2275
 
2251
2276
  ### Bug Fixes
2252
2277
 
2253
- * calculate padded bboxes correctly if any of the surrounding elements goes beyond the visible screen ([6083ceb](https://github.com/tomtom-internal/maps-sdk-js/commit/6083ceb25aab9a404c111802a68503e3b8b26225))
2254
- * ensure map style parts which were excluded are loaded more robustly ([33e74ff](https://github.com/tomtom-internal/maps-sdk-js/commit/33e74ff8804c3acd63b71d6b8c7c335b0a0f2891))
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
2255
2280
 
2256
2281
  ## [0.40.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.39.0...v0.40.0) (2026-01-07)
2257
2282
 
2258
2283
 
2259
2284
  ### Features
2260
2285
 
2261
- * new padded bbox calculation utilities for map bundle ([7b686e0](https://github.com/tomtom-internal/maps-sdk-js/commit/7b686e022a0035988db773e123bed0582b851823))
2262
- * new polygonFromBBox core utility ([ada872d](https://github.com/tomtom-internal/maps-sdk-js/commit/ada872d9f76ea0a4f9dc4fd7b3132b568213e59d))
2263
- * sdk upgrade ([42ab185](https://github.com/tomtom-internal/maps-sdk-js/commit/42ab185898820c60cb003b914a15d244324cb75b))
2286
+ * new padded bbox calculation utilities for map bundle
2287
+ * new polygonFromBBox core utility
2288
+ * sdk upgrade
2264
2289
 
2265
2290
  ## [0.39.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.38.1...v0.39.0) (2026-01-06)
2266
2291
 
2267
2292
 
2268
2293
  ### Features
2269
2294
 
2270
- * add live coding for few guides ([05b3876](https://github.com/tomtom-internal/maps-sdk-js/commit/05b3876cb6791e65fff5c6a990191b88f89fe6fc))
2271
- * new map style switcher example ([efdbbdd](https://github.com/tomtom-internal/maps-sdk-js/commit/efdbbdd3006508114f9dd178fcc48d8bb62858ca))
2295
+ * add live coding for few guides
2296
+ * new map style switcher example
2272
2297
 
2273
2298
 
2274
2299
  ### Bug Fixes
2275
2300
 
2276
- * simplify how sandpack examples are exposed ([3f75204](https://github.com/tomtom-internal/maps-sdk-js/commit/3f752040d2f7f39f15e894fb6174645ef725b25a))
2301
+ * simplify how sandpack examples are exposed
2277
2302
 
2278
2303
  ## [0.38.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.38.0...v0.38.1) (2025-12-17)
2279
2304
 
2280
2305
 
2281
2306
  ### Bug Fixes
2282
2307
 
2283
- * quickstart guide link text ([0c10c13](https://github.com/tomtom-internal/maps-sdk-js/commit/0c10c13b00054ccc895db63ea64337d8675d502a))
2308
+ * quickstart guide link text
2284
2309
 
2285
2310
  ## [0.38.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.37.0...v0.38.0) (2025-12-17)
2286
2311
 
2287
2312
 
2288
2313
  ### Features
2289
2314
 
2290
- * improve bbox types for places, routes and geometries ([602fa50](https://github.com/tomtom-internal/maps-sdk-js/commit/602fa50025c71d4351a96beb5ed8fb742af27df1))
2315
+ * improve bbox types for places, routes and geometries
2291
2316
 
2292
2317
  ## [0.37.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.9...v0.37.0) (2025-12-16)
2293
2318
 
2294
2319
 
2295
2320
  ### Features
2296
2321
 
2297
- * improve bbox types for places and routes so they reflect 4-dimensional types ([bc80e1d](https://github.com/tomtom-internal/maps-sdk-js/commit/bc80e1d0cfd4ca0c8d73dc232938f1e2b05adc15))
2298
- * optional events configuration for each map module ([ca823b3](https://github.com/tomtom-internal/maps-sdk-js/commit/ca823b367ea2fa123ec0baf3dee3b8d2ce386de4))
2322
+ * improve bbox types for places and routes so they reflect 4-dimensional types
2323
+ * optional events configuration for each map module
2299
2324
 
2300
2325
 
2301
2326
  ### Bug Fixes
2302
2327
 
2303
- * add sandpack wrapper for each example ([bbe3a7c](https://github.com/tomtom-internal/maps-sdk-js/commit/bbe3a7cc1b1ce2cf34d243811ab5898bbf143e2d))
2304
- * move sandpack local preview inside sandpack folder ([8fe88dc](https://github.com/tomtom-internal/maps-sdk-js/commit/8fe88dcd4a555d0ff85f6b908c2aaf559d3542bf))
2305
- * use release please version in tests ([28ebc9b](https://github.com/tomtom-internal/maps-sdk-js/commit/28ebc9bc99e4f544ae42fc078a8f864caf50a7ff))
2306
- * use vite to resolve dependencies and examples map ([ce5356e](https://github.com/tomtom-internal/maps-sdk-js/commit/ce5356e03316c234d3f2d6beb3f911b09b415cd7))
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
2307
2332
 
2308
2333
  ## [0.36.9](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.8...v0.36.9) (2025-12-11)
2309
2334
 
2310
2335
 
2311
2336
  ### Bug Fixes
2312
2337
 
2313
- * upgrade deps ([dc382f9](https://github.com/tomtom-internal/maps-sdk-js/commit/dc382f972a1c140a6849de3314ac11d2379d4231))
2338
+ * upgrade deps
2314
2339
 
2315
2340
  ## [0.36.8](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.7...v0.36.8) (2025-12-11)
2316
2341
 
2317
2342
 
2318
2343
  ### Bug Fixes
2319
2344
 
2320
- * upgrade deps ([ee9437f](https://github.com/tomtom-internal/maps-sdk-js/commit/ee9437fa3189b0a26201b32c49dab07294a1a884))
2345
+ * upgrade deps
2321
2346
 
2322
2347
  ## [0.36.7](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.6...v0.36.7) (2025-12-11)
2323
2348
 
2324
2349
 
2325
2350
  ### Bug Fixes
2326
2351
 
2327
- * consistency with naming map module instance variables ([639ecdd](https://github.com/tomtom-internal/maps-sdk-js/commit/639ecdd6eef1fc5ba4c365d678bd24ff986c0f36))
2352
+ * consistency with naming map module instance variables
2328
2353
 
2329
2354
  ## [0.36.6](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.5...v0.36.6) (2025-12-10)
2330
2355
 
2331
2356
 
2332
2357
  ### Bug Fixes
2333
2358
 
2334
- * remove leftover console logs ([c225d2e](https://github.com/tomtom-internal/maps-sdk-js/commit/c225d2eff60cac35a0a3e104246cad9486bcacac))
2359
+ * remove leftover console logs
2335
2360
 
2336
2361
  ## [0.36.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.4...v0.36.5) (2025-12-09)
2337
2362
 
2338
2363
 
2339
2364
  ### Bug Fixes
2340
2365
 
2341
- * type exports ([60fe138](https://github.com/tomtom-internal/maps-sdk-js/commit/60fe138823f5a3bb4110a1ecc0eca95427978319))
2366
+ * type exports
2342
2367
 
2343
2368
  ## [0.36.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.3...v0.36.4) (2025-12-08)
2344
2369
 
2345
2370
 
2346
2371
  ### Bug Fixes
2347
2372
 
2348
- * regression fix for additional layers vs multiple routing modules support ([8ef6ded](https://github.com/tomtom-internal/maps-sdk-js/commit/8ef6ded477c406555665f1f466169c29aa23778b))
2349
- * regression fix regarding unnecessarily suffixing custom images in routing module instances ([2389813](https://github.com/tomtom-internal/maps-sdk-js/commit/238981348d3381ac14527739d91eb9c71dc42623))
2373
+ * regression fix for additional layers vs multiple routing modules support
2374
+ * regression fix regarding unnecessarily suffixing custom images in routing module instances
2350
2375
 
2351
2376
  ## [0.36.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.2...v0.36.3) (2025-12-08)
2352
2377
 
2353
2378
 
2354
2379
  ### Bug Fixes
2355
2380
 
2356
- * prevent querying features without passing any layers ([455c2c3](https://github.com/tomtom-internal/maps-sdk-js/commit/455c2c3342f0dd2702949234b3434e2e88fb8662))
2381
+ * prevent querying features without passing any layers
2357
2382
 
2358
2383
  ## [0.36.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.1...v0.36.2) (2025-12-08)
2359
2384
 
2360
2385
 
2361
2386
  ### Bug Fixes
2362
2387
 
2363
- * example content hotfix ([b8f1b83](https://github.com/tomtom-internal/maps-sdk-js/commit/b8f1b834dc026f813df80dee3cfcebc13e47b069))
2364
- * simplify and improve category mappings for places ([3cb8095](https://github.com/tomtom-internal/maps-sdk-js/commit/3cb809513ca859165acac712c14e5ba8aa477c9f))
2388
+ * example content hotfix
2389
+ * simplify and improve category mappings for places
2365
2390
 
2366
2391
  ## [0.36.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.36.0...v0.36.1) (2025-12-08)
2367
2392
 
2368
2393
 
2369
2394
  ### Bug Fixes
2370
2395
 
2371
- * simplify and improve category mappings for places ([62cb0dc](https://github.com/tomtom-internal/maps-sdk-js/commit/62cb0dcdad8c3ec1f6ea4d088cc3abcfeea6c4ef))
2396
+ * simplify and improve category mappings for places
2372
2397
 
2373
2398
  ## [0.36.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.35.5...v0.36.0) (2025-12-05)
2374
2399
 
2375
2400
 
2376
2401
  ### Features
2377
2402
 
2378
- * multiple routing module instances possible, including two new examples ([ba0ff53](https://github.com/tomtom-internal/maps-sdk-js/commit/ba0ff53e67b7e29faa2dcf2a6581917cbd069691))
2403
+ * multiple routing module instances possible, including two new examples
2379
2404
 
2380
2405
 
2381
2406
  ### Bug Fixes
2382
2407
 
2383
- * ensure feature ids and feature properties ids are always set ([8aeae8d](https://github.com/tomtom-internal/maps-sdk-js/commit/8aeae8d4eb4943cb3413e8a0e5f6163180add13d))
2408
+ * ensure feature ids and feature properties ids are always set
2384
2409
 
2385
2410
  ## [0.35.5](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.35.4...v0.35.5) (2025-12-04)
2386
2411
 
2387
2412
 
2388
2413
  ### Bug Fixes
2389
2414
 
2390
- * skip validating styles when changing them for performance ([24a9490](https://github.com/tomtom-internal/maps-sdk-js/commit/24a9490699da6383871f97f853a6cc1b5824f40e))
2391
- * upgrade maplibre dependency and ensure place properties always have id ([cf3d8ae](https://github.com/tomtom-internal/maps-sdk-js/commit/cf3d8ae912bb677ced8acc28a55d8dd4f518a165))
2415
+ * skip validating styles when changing them for performance
2416
+ * upgrade maplibre dependency and ensure place properties always have id
2392
2417
 
2393
2418
  ## [0.35.4](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.35.3...v0.35.4) (2025-12-03)
2394
2419
 
2395
2420
 
2396
2421
  ### Bug Fixes
2397
2422
 
2398
- * use right icon for toll roads along routes ([9cb2144](https://github.com/tomtom-internal/maps-sdk-js/commit/9cb21444a09d46eb367235d393fde095a0111c40))
2423
+ * use right icon for toll roads along routes
2399
2424
 
2400
2425
  ## [0.35.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.35.2...v0.35.3) (2025-12-03)
2401
2426
 
2402
2427
 
2403
2428
  ### Bug Fixes
2404
2429
 
2405
- * custom image loading reliability across different browsers ([cd985d5](https://github.com/tomtom-internal/maps-sdk-js/commit/cd985d58b2a5712f21dd1166c94154a10939b4a0))
2430
+ * custom image loading reliability across different browsers
2406
2431
 
2407
2432
  ## [0.35.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.35.1...v0.35.2) (2025-12-03)
2408
2433
 
2409
2434
 
2410
2435
  ### Bug Fixes
2411
2436
 
2412
- * rev geo playground init ([1e4356d](https://github.com/tomtom-internal/maps-sdk-js/commit/1e4356d64f53d584771f93ba6c57b8a79c4cda71))
2437
+ * rev geo playground init
2413
2438
 
2414
2439
  ## [0.35.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.35.0...v0.35.1) (2025-12-03)
2415
2440
 
2416
2441
 
2417
2442
  ### Bug Fixes
2418
2443
 
2419
- * mitigation to try to be more reliable on detecting that maplibre css was already loaded ([755d7a0](https://github.com/tomtom-internal/maps-sdk-js/commit/755d7a05fe6c08ab6f731e61b34178257d6548d5))
2420
- * remove noisy console warnings when deserializing potential JSON from features ([729405d](https://github.com/tomtom-internal/maps-sdk-js/commit/729405dd03bc0509e455131249a862f38f868697))
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
2421
2446
 
2422
2447
  ## [0.35.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.34.1...v0.35.0) (2025-12-02)
2423
2448
 
2424
2449
 
2425
2450
  ### Features
2426
2451
 
2427
- * new searchOne convenience function for fast single result searches ([a5447bc](https://github.com/tomtom-internal/maps-sdk-js/commit/a5447bcf718b49eca6775ab3c7dd1eb193219508))
2428
- * showRoutes in RoutingModule also accepts a single Route now ([e813e6d](https://github.com/tomtom-internal/maps-sdk-js/commit/e813e6d7be63da7b0667a67de8995a4722bb866c))
2429
- * 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 ([d613460](https://github.com/tomtom-internal/maps-sdk-js/commit/d613460f0e725e470c76fbe43553a44b90500047))
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
2430
2455
 
2431
2456
 
2432
2457
  ### Bug Fixes
2433
2458
 
2434
- * base map module undefined config consistency ([6163566](https://github.com/tomtom-internal/maps-sdk-js/commit/6163566c060e51c34c4f7d5ba8aafe76df14ee34))
2459
+ * base map module undefined config consistency
2435
2460
 
2436
2461
  ## [0.34.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.34.0...v0.34.1) (2025-12-01)
2437
2462
 
2438
2463
 
2439
2464
  ### Bug Fixes
2440
2465
 
2441
- * add config file to maintain example api key ([b3843c6](https://github.com/tomtom-internal/maps-sdk-js/commit/b3843c6c58d582a403529bae0a398af2178590e7))
2442
- * move all files for examples under its src folder ([08848c8](https://github.com/tomtom-internal/maps-sdk-js/commit/08848c802ebb4a5573942f958be92979c62426c6))
2443
- * nodejs examples based on es modules ([b180ba0](https://github.com/tomtom-internal/maps-sdk-js/commit/b180ba08bbc729be336cf7adcf80d4ec334a473d))
2444
- * use sandpack to preview map in guides ([32be371](https://github.com/tomtom-internal/maps-sdk-js/commit/32be371540c52dba85c99c3aed4fabb32a95fc43))
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
2445
2470
 
2446
2471
  ## [0.34.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.33.0...v0.34.0) (2025-11-26)
2447
2472
 
2448
2473
 
2449
2474
  ### Features
2450
2475
 
2451
- * hide fuzzySearch call to avoid overlap with search ([515e753](https://github.com/tomtom-internal/maps-sdk-js/commit/515e753f6e1825d1ef90056e352c335c378bd539))
2452
- * improve visibility state management in traffic and hillshade modules, fix e2e tests, misc improvements ([908995e](https://github.com/tomtom-internal/maps-sdk-js/commit/908995ec15b66d876132b6cd043783c827a5e8b3))
2453
- * improvements in PlacesModule and added examples ([9a1f1d8](https://github.com/tomtom-internal/maps-sdk-js/commit/9a1f1d8f4adab6e856b826eae2da027178ded31d))
2454
- * upgrade sdk dependency ([11de0c7](https://github.com/tomtom-internal/maps-sdk-js/commit/11de0c7c40e29a221738d713f1f6794a643093a4))
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
2455
2480
 
2456
2481
 
2457
2482
  ### Bug Fixes
2458
2483
 
2459
- * types and test data migrated to ts ([1269550](https://github.com/tomtom-internal/maps-sdk-js/commit/12695509f73dc8e21e5bba75a64d7b2c1a3d5ad1))
2484
+ * types and test data migrated to ts
2460
2485
 
2461
2486
  ## [0.33.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.32.3...v0.33.0) (2025-11-20)
2462
2487
 
2463
2488
 
2464
2489
  ### Bug Fixes
2465
2490
 
2466
- * update diagram how-the-sdk-works ([82f70ac](https://github.com/tomtom-internal/maps-sdk-js/commit/82f70acf091d7998104738bd3b216a2aa53d5f4d))
2491
+ * update diagram how-the-sdk-works
2467
2492
 
2468
2493
  ## [0.32.3](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.32.2...v0.32.3) (2025-11-20)
2469
2494
 
2470
2495
 
2471
2496
  ### Bug Fixes
2472
2497
 
2473
- * route instruction arrows to be above incidents ([e72e3b8](https://github.com/tomtom-internal/maps-sdk-js/commit/e72e3b82871e78d1a0b4d60c00cb3d624bdaf8a3))
2474
- * update license ([7ec1428](https://github.com/tomtom-internal/maps-sdk-js/commit/7ec1428879424df602c34665fcd9806878c930c4))
2498
+ * route instruction arrows to be above incidents
2499
+ * update license
2475
2500
 
2476
2501
  ## [0.32.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.32.1...v0.32.2) (2025-11-18)
2477
2502
 
2478
2503
 
2479
2504
  ### Bug Fixes
2480
2505
 
2481
- * es exports to prevent having to mention dist in imports ([00cedf3](https://github.com/tomtom-internal/maps-sdk-js/commit/00cedf39f6977e8f2f2c766dc2a78e42eb0707c7))
2506
+ * es exports to prevent having to mention dist in imports
2482
2507
 
2483
2508
  ## [0.32.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.31.1...v0.32.0) (2025-11-13)
2484
2509
 
2485
2510
 
2486
2511
  ### Features
2487
2512
 
2488
- * export sdk as es modules only ([1e7d0d9](https://github.com/tomtom-internal/maps-sdk-js/commit/1e7d0d99d96320f910529d912b455ce36251560d))
2489
- * simplify map style initialization ([6dde7c9](https://github.com/tomtom-internal/maps-sdk-js/commit/6dde7c9cea644e5046df19294d94da04a18cd49e))
2513
+ * export sdk as es modules only
2514
+ * simplify map style initialization
2490
2515
 
2491
2516
  ## [0.31.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.30.2...v0.31.0) (2025-11-11)
2492
2517
 
2493
2518
 
2494
2519
  ### Features
2495
2520
 
2496
- * improve places module configuration and examples ([674ee83](https://github.com/tomtom-internal/maps-sdk-js/commit/674ee83599ce59751e3183b9b3e00569e52cbfd3))
2497
- * sdk automatically loads MapLibre CSS if not done by the caller ([626a597](https://github.com/tomtom-internal/maps-sdk-js/commit/626a59751c468c6d5deb02ce34779c348ec868f2))
2498
- * upgrade to new map style with new traffic incident icons ([1b228b5](https://github.com/tomtom-internal/maps-sdk-js/commit/1b228b586a59232765d4c33c05b8b334d5246416))
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
2499
2524
 
2500
2525
 
2501
2526
  ### Bug Fixes
2502
2527
 
2503
- * search exports and using typeahead true for fuzzy search examples ([8601314](https://github.com/tomtom-internal/maps-sdk-js/commit/8601314a4c1f40a364d713bda8e2e7806cf69baa))
2528
+ * search exports and using typeahead true for fuzzy search examples
2504
2529
 
2505
2530
  ## [0.30.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.30.1...v0.30.2) (2025-11-06)
2506
2531
 
2507
2532
 
2508
2533
  ### Bug Fixes
2509
2534
 
2510
- * example having incorrect references ([695d654](https://github.com/tomtom-internal/maps-sdk-js/commit/695d654ac8309ba735db67d190726c6e79db6158))
2535
+ * example having incorrect references
2511
2536
 
2512
2537
  ## [0.30.1](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.30.0...v0.30.1) (2025-11-05)
2513
2538
 
2514
2539
 
2515
2540
  ### Bug Fixes
2516
2541
 
2517
- * pin category mapping ([a6aecb8](https://github.com/tomtom-internal/maps-sdk-js/commit/a6aecb8569e3865d32ca814684f1c8c8d1f3b3e0))
2542
+ * pin category mapping
2518
2543
 
2519
2544
  ## [0.30.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.29.2...v0.30.0) (2025-11-05)
2520
2545
 
2521
2546
 
2522
2547
  ### Features
2523
2548
 
2524
- * enable tomtom user agent headers by default ([30bcc22](https://github.com/tomtom-internal/maps-sdk-js/commit/30bcc2264e5cd335c19b8f01699bc20de1141947))
2549
+ * enable tomtom user agent headers by default
2525
2550
 
2526
2551
 
2527
2552
  ### Bug Fixes
2528
2553
 
2529
- * route example content ([4b56065](https://github.com/tomtom-internal/maps-sdk-js/commit/4b56065916e512a7d3ea2d2af00e02fbc17b1c77))
2554
+ * route example content
2530
2555
 
2531
2556
  ## [0.29.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.29.1...v0.29.2) (2025-11-04)
2532
2557