@geops/rvf-mobility-web-component 0.1.36 → 0.1.37
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/.yarnrc.yml +1 -0
- package/CHANGELOG.md +8 -0
- package/index.html +1 -1
- package/index.js +2 -3
- package/input.css +0 -1
- package/package.json +1 -1
- package/src/GeolocationButton/GeolocationButton.tsx +1 -1
- package/src/RvfMobilityMap/RvfMobilityMap.tsx +2 -2
- package/src/utils/constants.ts +4 -8
package/input.css
CHANGED
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.37",
|
|
6
6
|
"homepage": "https://rvf-mobility-web-component-geops.vercel.app/",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "index.js",
|
|
@@ -10,7 +10,7 @@ import { Icon, Style } from "ol/style";
|
|
|
10
10
|
import { useEffect, useMemo } from "preact/hooks";
|
|
11
11
|
|
|
12
12
|
import GeolocationIcon from "../icons/Geolocation";
|
|
13
|
-
// @ts-
|
|
13
|
+
// @ts-expect-error - svg file not handled by vite
|
|
14
14
|
import locationSvg from "../icons/Geolocation/location.svg";
|
|
15
15
|
import RvfIconButton from "../RvfIconButton";
|
|
16
16
|
import useMapContext from "../utils/hooks/useMapContext";
|
|
@@ -643,7 +643,7 @@ function RvfMobilityMap({
|
|
|
643
643
|
onClose={() => {
|
|
644
644
|
setIsExportMenuOpen(false);
|
|
645
645
|
}}
|
|
646
|
-
title="
|
|
646
|
+
title="Drucken"
|
|
647
647
|
></RvfOverlayHeader>
|
|
648
648
|
<RvfExportMenu className="relative flex flex-col gap-8 overflow-y-auto overflow-x-hidden px-4 py-6" />
|
|
649
649
|
</>
|
|
@@ -688,7 +688,7 @@ function RvfMobilityMap({
|
|
|
688
688
|
{hasPrint && (
|
|
689
689
|
<RvfExportMenuButton
|
|
690
690
|
className={"border-none"}
|
|
691
|
-
title="
|
|
691
|
+
title="Drucken"
|
|
692
692
|
/>
|
|
693
693
|
)}
|
|
694
694
|
|
package/src/utils/constants.ts
CHANGED
|
@@ -40,23 +40,19 @@ export const RVF_LAYERS_TITLES = {
|
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
export const RVF_LAYERS_NAMES = {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
bikeOthers: "bikeothers",
|
|
46
|
-
cargobike: "cargobike",
|
|
43
|
+
bikeFrelo: "fahrradfrelo",
|
|
44
|
+
bikeOthers: "fahrradandere",
|
|
47
45
|
cargobikeFrelo: "cargobikefrelo",
|
|
48
|
-
cargobikeOthers: "
|
|
46
|
+
cargobikeOthers: "cargobikeandere",
|
|
49
47
|
carGrf: "grueneflotte",
|
|
50
48
|
carNatur: "naturenergie",
|
|
51
|
-
carOthers: "
|
|
49
|
+
carOthers: "autoandere",
|
|
52
50
|
echtzeit: "echtzeit",
|
|
53
51
|
eroller: "e-roller",
|
|
54
|
-
fahrrad: "fahrrad",
|
|
55
52
|
haltestellen: "haltestellen",
|
|
56
53
|
liniennetz: "liniennetz",
|
|
57
54
|
mitfahrpunkte: "mitfahrpunkte",
|
|
58
55
|
pois: "pois",
|
|
59
|
-
sharedMobility: "shared mobility",
|
|
60
56
|
tarifzonen: "tarifzonen",
|
|
61
57
|
verkaufsstellen: "verkaufsstellen",
|
|
62
58
|
};
|