Skip to content

Latest commit

 

History

History
438 lines (210 loc) · 21 KB

File metadata and controls

438 lines (210 loc) · 21 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.6.11 (2026-03-10)

Bug Fixes

  • MapsetLayer: make MapsetKmlFormat capable to handle feature maxZoom and minZoom values (#245) (f348cc5)

3.6.9 (2026-03-10)

Bug Fixes

  • MapsetLayer: make MapsetKmlFormat capable to handle feature maxZoom and minZoom values (#245) (f348cc5)

3.6.10 (2026-03-05)

Bug Fixes

3.6.9 (2026-03-05)

Bug Fixes

  • properly update the maplibre map on browser zoom changes (#246) (699e5eb)
  • update types (62abfa1)

3.6.7 (2026-03-05)

Bug Fixes

  • properly update the maplibre map on browser zoom changes (#246) (699e5eb)
  • update types (62abfa1)

3.6.8 (2026-03-03)

Bug Fixes

  • avoid js error if requests are empty (83aeba7)

3.6.7 (2026-02-25)

Bug Fixes

  • MapsetKmlFormat: accept zero for maxZoom/minZoom values (#241) (521f422)

3.6.6 (2026-02-20)

Bug Fixes

  • improve text size claculation when browser is zoomed (cf1d405)

3.6.5 (2026-02-19)

Bug Fixes

  • 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)

Bug Fixes

  • add serviceCondition and severity properties (#240) (44505fb)

3.6.3 (2026-01-30)

Bug Fixes

  • handle url and path with or witout slash (#239) (d50ecf8)

3.6.2 (2026-01-22)

Bug Fixes

  • use publicAt when situations are loaded without the api(#238) (27e87c9)

3.6.1 (2025-12-22)

Bug Fixes

  • set minZoom and maxZoom properly for MaplibreStyleLayer (#237) (faf4546)
  • update dependencies (84cda67)

3.6.0 (2025-12-04)

Features

Bug Fixes

  • allow undefined parameter (e489fa6)

3.5.0 (2025-11-07)

Features

  • refactor the realtime style and add more options to display heading and delay (#235) (45ca425)

3.4.7 (2025-10-31)

Bug Fixes

  • allow enum exports from types (2ff315a)

3.4.6 (2025-10-29)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

3.4.3 (2025-10-07)

Bug Fixes

  • MapsetLayer: remove default zoom from options (#228) (54145f7)

3.4.3 (2025-10-07)

Bug Fixes

  • MapsetLayer: remove default zoom from options (#228) (54145f7)

3.4.2 (2025-10-02)

Bug Fixes

  • load properly the defualt url of MocoApi (e691039)

3.4.1 (2025-10-02)

3.4.0 (2025-09-29)

Features

  • MapsetLayer: add layer and API classes to load plans from mapset (#227) (5e2a561)

3.3.4 (2025-09-24)

Bug Fixes

  • use graphs from style and use new moco export api (#225) (65c3711)

3.3.3 (2025-08-04)

Bug Fixes

  • set mapLibreMap to null when the layer is removed (d08007a)

3.3.2 (2025-08-04)

Bug Fixes

  • improve type definitions (4d7c65f)

3.3.1 (2025-07-30)

Bug Fixes

  • manage Infinity min7maxZoom values (359d623)

3.3.0 (2025-07-28)

Features

3.2.3 (2025-03-10)

Bug Fixes

3.2.2 (2025-02-13)

Bug Fixes

  • display cancelled train properly on low zoom level (9ff5342)

3.2.1 (2025-01-30)

Bug Fixes

  • clean highlighted trajectory when selection changes (c4dabc1)
  • update backend types (96a3d67)

3.2.0 (2025-01-30)

Bug Fixes

3.1.0 (2024-12-17)

Features

  • allow to rely on ol rendercomplete event (#211) (9aa17e8)

3.0.0 (2024-12-05)

⚠ BREAKING CHANGES

  • see migartion guide on the root of the project.

Features

3.0.0 (2024-07-09)

Bug Fixes

2.4.2 (2024-05-28)

Bug Fixes

  • set the proper generalization level (f30d2f5)

2.4.1 (2024-05-03)

Bug Fixes

  • use the type and coordinates of the olGeometry (e60a58d)
  • use the type and coordinates of the olGeometry (9a07a80)

2.4.0 (2024-04-02)

Features

  • add a more generic setFeatureState function (d5d3f96)

Bug Fixes

  • returns the proper layer value in feature info (fd72024)

2.3.11 (2024-04-02)

Bug Fixes

  • remove default highlighting of feature and featureInfoFilter property. Too application specific.

2.3.9 (2024-02-27)

Bug Fixes

  • calculate the correct gen level when we highlight a trajectory (#208) (3d06bb7)

2.3.8 (2024-01-18)

Bug Fixes

2.3.7 (2023-12-06)

Bug Fixes

  • add a getText method in style options (707d5e7)

2.3.6 (2023-12-06)

Bug Fixes

  • add a getText method in style options (92b4e93)

2.3.5 (2023-11-17)

Bug Fixes

  • simplify setBbox function (8f99991)
  • use floored value for the zoom (7961de0)

2.3.4 (2023-11-17)

Bug Fixes

  • do not set generalizationLevelByZoom by default (69b59ba)
  • simplify getMotsByZoom behavior (1fc259f)
  • simplify getMotsByZoom behavior (87e52ec)

2.3.3 (2023-11-17)

Bug Fixes

  • 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)

Bug Fixes

  • add getXXXFont function to realtime style options (310be23)

2.3.1 (2023-11-03)

Bug Fixes

  • display delay in seconds when needed (d3284f9)

2.3.0 (2023-10-26)

Features

2.2.1 (2023-10-25)

Bug Fixes

  • add new bboxParamters property (ee56316)

2.2.0 (2023-10-13)

Features

  • add new get an gettrajectory method in realtimeapi (#195) (0461fde)

2.1.1 (2023-10-06)

Bug Fixes

  • 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.

Breaking changes

  • 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 TralisAPI to RealtimeAPI

  • rename TralisModes to RealtimeModes

  • rename TralisLayer to RealtimeLayer

  • remove TrajservLayer class

  • remove Map classes. Use new attachToMap() and detachFromMap() function to add your layers/controls to a map

  • remove all application specific properties from layers classes.isQueryable, isBaseLayer, isAlwaysExpanded, isReactSpatialLayer, isTrackerLayer, use options.properties in the constructor instead

  • replace MapboxLayer.createStyleUrl() by an utility function getUrlWithParams

  • pass Mapboxgl.Map options through a mapOptions object in the constructor instead of layers's property

  • pass RealtimeLayer style properties through a styleOptions object in the constructor instead of layers's properties

  • pass RealtimeLayer filters through the filter property instead of specific layers's properties

  • harmonize backend responses

Features

  • 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)