@tomtom-org/maps-sdk 1.0.0-rc.6 → 1.0.0

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