@geops/rvf-mobility-web-component 0.1.48 → 0.1.49
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/CHANGELOG.md +7 -0
- package/index.js +26 -26
- package/package.json +1 -1
- package/src/MobilityMap/MobilityMapAttributes.ts +19 -18
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@geops/rvf-mobility-web-component",
|
|
3
3
|
"license": "UNLICENSED",
|
|
4
4
|
"description": "Web components for rvf in the domains of mobility and logistics.",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.49",
|
|
6
6
|
"homepage": "https://rvf-mobility-web-component-geops.vercel.app/",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "index.js",
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
RVF_LAYERS_NAMES,
|
|
8
8
|
} from "../utils/constants";
|
|
9
9
|
|
|
10
|
-
import type { LayersConfig } from "../utils/hooks/useLayerConfig";
|
|
10
|
+
// import type { LayersConfig } from "../utils/hooks/useLayerConfig";
|
|
11
11
|
|
|
12
12
|
// const geopsApiLink = `<a href="https://developer.geops.io/">geOps API key</a>`;
|
|
13
13
|
// const geopsMapsApiLink = `<a href="https://developer.geops.io/apis/maps">geOps Maps API</a>`;
|
|
@@ -103,23 +103,24 @@ const attrs: MobilityMapAttributes = {
|
|
|
103
103
|
description: `A comma separated list of layers's name to make visible on load, others are hidden. If empty, all layers will be hidden except the baselayer.<br/>Layers available are ${Object.values(RVF_LAYERS_NAMES).join(", ")}.`,
|
|
104
104
|
},
|
|
105
105
|
layersconfig: {
|
|
106
|
-
defaultValue:
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
106
|
+
// defaultValue:
|
|
107
|
+
// JSON.stringify({
|
|
108
|
+
// [RVF_LAYERS_NAMES.liniennetz]: {
|
|
109
|
+
// link: {
|
|
110
|
+
// href: "https://www.rvf.de/fahrtinfo/netzplan",
|
|
111
|
+
// show: true,
|
|
112
|
+
// text: "Zu den Liniennetzplänen",
|
|
113
|
+
// },
|
|
114
|
+
// title: "Liniennetzpläne",
|
|
115
|
+
// },
|
|
116
|
+
// [RVF_LAYERS_NAMES.meldungen]: {
|
|
117
|
+
// link: {
|
|
118
|
+
// href: "https://moco.geops.io/situation/{{id}}",
|
|
119
|
+
// show: true,
|
|
120
|
+
// text: "Zum Moco",
|
|
121
|
+
// },
|
|
122
|
+
// },
|
|
123
|
+
// } as LayersConfig),
|
|
123
124
|
description: `A JSON string to configure the layers and other components associated to it. The layers available are : ${LAYERS_WITH_LINK}.<br/>
|
|
124
125
|
Definition for a layer :
|
|
125
126
|
<pre style="font-size: 12px; overflow: auto;">{
|