mobility-toolbox-js 1.7.10-beta.3 → 1.7.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/api/tralis/TralisAPI.js +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/ol/layers/TrackerLayer.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,12 +7,13 @@ The tools in this library have been inspired by many projects realized for publi
|
|
|
7
7
|
[](https://github.com/geops/mobility-toolbox-js/actions?query=workflow%3ABuild)
|
|
8
8
|
[](https://app.netlify.com/sites/mobility-toolbox-js/deploys)
|
|
9
9
|
|
|
10
|
-
|
|
11
10
|
## Main Features
|
|
11
|
+
|
|
12
12
|
* Display [real-time vehicle positions and prognosis data](http://tracker.geops.ch/) on a map.
|
|
13
13
|
* Search for [stops and stations](https://maps2.trafimage.ch) all over the world.
|
|
14
14
|
* Get [precise geographic courses](https://geops.github.io/geops-routing-demo/) for all modes of transport.
|
|
15
15
|
* Generate beautiful maps for public transport, mobility and logistics
|
|
16
16
|
|
|
17
17
|
## Documentation and examples
|
|
18
|
+
|
|
18
19
|
Visit https://mobility-toolbox-js.geops.io
|
package/api/tralis/TralisAPI.js
CHANGED
|
@@ -81,7 +81,7 @@ class TralisAPI {
|
|
|
81
81
|
const conn = new WebSocketConnector();
|
|
82
82
|
|
|
83
83
|
if (apiKey) {
|
|
84
|
-
url = `${url || 'wss://
|
|
84
|
+
url = `${url || 'wss://api.geops.io/tracker-ws/v1/'}?key=${apiKey}`;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
Object.defineProperties(this, {
|