mobility-toolbox-js

References

api

This class provides convenience methods to access to the geOps realtime api.

Access to the geOps Routing service.

Access to the Stops service.

common/api

Common class to access to a geOps api using http.

Class used to facilitate connection to a WebSocketAPI and also to manage properly messages send to the WebSocketAPI. This class must not contain any specific implementation.

common/controls

A class representing a control to display on map.

A class representing a copyright control to display on map. This class only draw an html element, with an empty string in it. Use subclasses to use it in an ol or mapbox map.

A class representing a stop finder control to display on map. This class only draw the html elements. The geographic logic must be implemented by subclasses.

common/layers

A class representing a layer to display on map.

common/mixins

RealtimeLayerInterface.

UserInteractionsLayerInterface.

common/styles

FrealtimeDefaultStyle(
trajectory: RealtimeTrajectory,
viewState: ViewState,
options: RealtimeStyleOptions
): *

A tracker style that take in account the delay.

FrealtimeDelayStyle(
trajectory: *,
viewState: *,
options: *
): *

A tracker style that display the delay as backgroundColor.

FrealtimeHeadingStyle(
trajectory: RealtimeTrajectory,
viewState: ViewState,
options: RealtimeStyleOptions
): *

A tracker style that take in account the delay.

common/utils

Interpolate or not the vehicle position from a trajectory at a specific date.

mapbox/controls

Display layer's copyrights.

mapbox/layers

A class representing a layer to display on an OpenLayers map.

Responsible for loading and display data from a Realtime service.

ol/controls

Display layer's copyrights.

Display a route of a specified mean of transport.

Search stations.

ol/layers

A class representing a layer to display on an OpenLayers map.

Common class for Mapbox and Maplibre and potential other fork from Mapbox. It's used to share code between Mapbox and Maplibre layers without importing both libs.

A class representing Mapboxlayer to display on BasicMap

Layer for visualizing a specific set of layer from a MapboxLayer.

A class representing MaplibreLayer to display on BasicMap

Responsible for loading and display data from a Realtime service.

A class use to display vector data.

A class use to display vector data.

Class use to display a WMS layer.

ol/styles

FfullTrajectorystyle(
feature: *,
resolution: *,
options: *
): *