All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
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
TralisAPI
toRealtimeAPI
-
rename
TralisModes
toRealtimeModes
-
rename
TralisLayer
toRealtimeLayer
-
remove
TrajservLayer
class -
remove
Map
classes. 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.properties
in the constructor instead -
replace
MapboxLayer.createStyleUrl()
by an utility functiongetUrlWithParams
-
pass
Mapboxgl.Map
options through amapOptions
object in the constructor instead of layers's property -
pass
RealtimeLayer
style properties through astyleOptions
object in the constructor instead of layers's properties -
pass
RealtimeLayer
filters through thefilter
property 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)