Skip to content

Latest commit

 

History

History
193 lines (97 loc) · 8.91 KB

CHANGELOG.md

File metadata and controls

193 lines (97 loc) · 8.91 KB

Changelog

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

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)