All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
3.6.11 (2026-03-10)
- MapsetLayer: make MapsetKmlFormat capable to handle feature maxZoom and minZoom values (#245) (f348cc5)
3.6.9 (2026-03-10)
- MapsetLayer: make MapsetKmlFormat capable to handle feature maxZoom and minZoom values (#245) (f348cc5)
3.6.10 (2026-03-05)
3.6.9 (2026-03-05)
3.6.7 (2026-03-05)
3.6.8 (2026-03-03)
- avoid js error if requests are empty (83aeba7)
3.6.7 (2026-02-25)
3.6.6 (2026-02-20)
- improve text size claculation when browser is zoomed (cf1d405)
3.6.5 (2026-02-19)
- do not reload the style when we add the layer to the map (c1a9adb)
- remove geops-ui deps from root dependencies (cadcfbe)
3.6.4 (2026-02-03)
3.6.3 (2026-01-30)
3.6.2 (2026-01-22)
3.6.1 (2025-12-22)
- set minZoom and maxZoom properly for MaplibreStyleLayer (#237) (faf4546)
- update dependencies (84cda67)
3.6.0 (2025-12-04)
- allow undefined parameter (e489fa6)
3.5.0 (2025-11-07)
3.4.7 (2025-10-31)
- allow enum exports from types (2ff315a)
3.4.6 (2025-10-29)
- propagate situationId instead of the whole situation object for performance reason (#232) (dc012d3)
- simplify mapset layer and doc (#230) (ec96726)
- update moco types (4ed6d2c)
- update moco types (b04666a)
- use publicNow for caching optimization (af65b45)
3.4.5 (2025-10-21)
- MapsetApi: add defaultplans param to API params (#231) (75bab39)
- save current time rendered (e0e8125)
- subscribe to the full trajectory (#229) (f2ed8f3)
3.4.4 (2025-10-14)
3.4.3 (2025-10-07)
3.4.3 (2025-10-07)
3.4.2 (2025-10-02)
- load properly the defualt url of MocoApi (e691039)
3.4.1 (2025-10-02)
3.4.0 (2025-09-29)
3.3.4 (2025-09-24)
3.3.3 (2025-08-04)
- set mapLibreMap to null when the layer is removed (d08007a)
3.3.2 (2025-08-04)
- improve type definitions (4d7c65f)
3.3.1 (2025-07-30)
- manage Infinity min7maxZoom values (359d623)
3.3.0 (2025-07-28)
3.2.3 (2025-03-10)
- fix iife file (#221) (395bf4d)
- use the layer extent and allow to define a color by a line (#223) (7b7e793)
3.2.2 (2025-02-13)
- display cancelled train properly on low zoom level (9ff5342)
3.2.1 (2025-01-30)
3.2.0 (2025-01-30)
3.1.0 (2024-12-17)
3.0.0 (2024-12-05)
- see migartion guide on the root of the project.
3.0.0 (2024-07-09)
2.4.2 (2024-05-28)
- set the proper generalization level (f30d2f5)
2.4.1 (2024-05-03)
- use the type and coordinates of the olGeometry (e60a58d)
- use the type and coordinates of the olGeometry (9a07a80)
2.4.0 (2024-04-02)
- add a more generic setFeatureState function (d5d3f96)
- returns the proper layer value in feature info (fd72024)
2.3.11 (2024-04-02)
- remove default highlighting of feature and featureInfoFilter property. Too application specific.
2.3.9 (2024-02-27)
2.3.8 (2024-01-18)
2.3.7 (2023-12-06)
- add a getText method in style options (707d5e7)
2.3.6 (2023-12-06)
- add a getText method in style options (92b4e93)
2.3.5 (2023-11-17)
2.3.4 (2023-11-17)
- do not set generalizationLevelByZoom by default (69b59ba)
- simplify getMotsByZoom behavior (1fc259f)
- simplify getMotsByZoom behavior (87e52ec)
2.3.3 (2023-11-17)
- add text parameter to getXXXFont functions (83cec9b)
- send floor/ceil values to the websocket (50b8b0a)
- update full trajectory layer when interacting and animating (97a9ad8)
2.3.2 (2023-11-14)
- add getXXXFont function to realtime style options (310be23)
2.3.1 (2023-11-03)
- display delay in seconds when needed (d3284f9)
2.3.0 (2023-10-26)
2.2.1 (2023-10-25)
- add new bboxParamters property (ee56316)
2.2.0 (2023-10-13)
2.1.1 (2023-10-06)
- add trajectory to the list even if they are filtered out (f0d034c)
2.1.0 (2022-06-20)
This version contains lot of breaking change, to make things simpler to use and to remove all application specific stuff. We suggest to have a look at the v2 migration guide.
-
all classes, api and utilities functions are available through a unique import (depending on which mapping library you use):
'mobility-toolbox-js/ol'or'mobility-toolbox-js/mapbox' -
rename
TralisAPItoRealtimeAPI -
rename
TralisModestoRealtimeModes -
rename
TralisLayertoRealtimeLayer -
remove
TrajservLayerclass -
remove
Mapclasses. Use newattachToMap()anddetachFromMap()function to add your layers/controls to a map -
remove all application specific properties from layers classes.
isQueryable,isBaseLayer,isAlwaysExpanded,isReactSpatialLayer,isTrackerLayer, useoptions.propertiesin the constructor instead -
replace
MapboxLayer.createStyleUrl()by an utility functiongetUrlWithParams -
pass
Mapboxgl.Mapoptions through amapOptionsobject in the constructor instead of layers's property -
pass
RealtimeLayerstyle properties through astyleOptionsobject in the constructor instead of layers's properties -
pass
RealtimeLayerfilters through thefilterproperty instead of specific layers's properties -
harmonize backend responses
- use TypeScript
- use Maplibre
- use NextJS for website in
doc/folder - all classes, api and functions are available through a unique import (depending on what mapping library you use):
'mobility-toolbox-js/ol'or'mobility-toolbox-js/mapbox' - add a full single-file build for an easy use in raw html page or codepen.io
- use standard-version for automatic versioning and changelog (#167) (045ad0b)