Skip to content

Commit 904bca0

Browse files
committed
merge master into dev
1 parent efeb680 commit 904bca0

5 files changed

Lines changed: 29 additions & 11 deletions

File tree

.env

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ API_URL=http://localhost:4000
33
GENERATE_API_URL=http://localhost:8000
44
PORT=3000
55
REACT_APP_CLIENT_ID=7833861618225795
6+
REACT_APP_LOGIN_PROVIDER_URI=https://hslid-uat.cinfra.fi
67
REACT_APP_REDIRECT_URI=http://localhost:3000
78
NAMESPACE=hsl-kartta
89

@@ -12,4 +13,4 @@ DIGITRANSIT_APIKEY=
1213
CYPRESS_TESTING_HSLID_USERNAME=
1314
CYPRESS_TESTING_HSLID_PASSWORD=
1415
CYPRESS_HSLID_CLIENT_ID=
15-
CYPRESS_HSLID_CLIENT_SECRET=
16+
CYPRESS_HSLID_CLIENT_SECRET=

app/components/RouteMapConfigurator.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@ import AdvancedRouteMapOptions from "../containers/AdvancedRouteMapOptions";
99
import {PointStatus} from "../reducers/publisherRequests";
1010
import {listModalStyles} from "../utils/ui-utils";
1111

12-
// const ZONE_SYMBOLS = [{value: "A"}, {value: "B"}, {value: "C"}, {value: "D"}, {value: "E"}];
13-
const ZONE_SYMBOLS = [{value: "A"}, {value: "B"}, {value: "C"}, {value: "D"}];
12+
const ZONE_SYMBOLS = [
13+
{value: "A"},
14+
{value: "B"},
15+
{value: "C"},
16+
{value: "D"},
17+
{value: "E"}
18+
];
1419

1520
export default class RouteMapConfigurator extends Component {
1621
constructor(props) {

app/components/ZoneSymbolMarkers.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import AZone from "../icons/icon-Zone-A";
55
import BZone from "../icons/icon-Zone-B";
66
import CZone from "../icons/icon-Zone-C";
77
import DZone from "../icons/icon-Zone-D";
8-
// import EZone from "../icons/icon-Zone-E";
8+
import EZone from "../icons/icon-Zone-E";
99
import {
1010
mapSelectionToBbox,
1111
bboxDiameterInMeters,
@@ -22,8 +22,8 @@ const getZoneIcon = (zone, svgSize) => {
2222
return <CZone size={svgSize} />;
2323
case "D":
2424
return <DZone size={svgSize} />;
25-
// case "E":
26-
// return <EZone size={svgSize} />;
25+
case "E":
26+
return <EZone size={svgSize} />;
2727
default:
2828
return <div />;
2929
}

app/components/hsl-zones-publisher-v6.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@
6060
[24.543216, 60.11093]
6161
]
6262
}
63+
},
64+
{
65+
"type": "Feature",
66+
"properties": {
67+
"Zone": "E"
68+
},
69+
"geometry": {
70+
"type": "MultiPoint",
71+
"coordinates": [[25.02, 60.53]]
72+
}
6373
}
6474
]
6575
}

app/icons/icon-Zone-E.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,26 @@ const EZone = (props) => (
88
viewBox="0 0 36 36"
99
version="1.1"
1010
xmlns="http://www.w3.org/2000/svg"
11-
xlink="http://www.w3.org/1999/xlink">
12-
<title>icon-Zone-E</title>
11+
xlink="http://www.w3.org/1999/xlink"
12+
>
13+
<title>icon-Zone-E-v2</title>
1314
<desc>Created with Sketch.</desc>
1415
<defs />
1516
<g
1617
id="Page-1"
1718
stroke="none"
1819
strokeWidth="1"
1920
fill="none"
20-
fillRule="evenodd">
21-
<g id="icon-Zone-E">
21+
fillRule="evenodd"
22+
>
23+
<g id="icon-Zone-E-v2">
2224
<path
2325
d="M36,18.00096 C36,27.94176 27.9408,36.00096 18,36.00096 C8.0592,36.00096 0,27.94176 0,18.00096 C0,8.05776 8.0592,0.00096 18,0.00096 C27.9408,0.00096 36,8.05776 36,18.00096"
2426
id="Fill-1"
2527
fill="#007AC9"
2628
/>
2729
<path
28-
d="M9.94704,8.85792 C9.94704,7.78992 10.77024,6.96672 11.83584,6.96672 L17.90304,6.96672 C24.60864,6.96672 29.24064,11.56992 29.24064,17.57472 L29.24064,17.63472 C29.24064,23.63952 24.60864,28.30512 17.90304,28.30512 L11.83584,28.30512 C10.77024,28.30512 9.94704,27.48192 9.94704,26.41152 L9.94704,8.85792 Z M17.90304,24.88992 C22.38384,24.88992 25.30944,21.87312 25.30944,17.69712 L25.30944,17.63472 C25.30944,13.45872 22.38384,10.38192 17.90304,10.38192 L13.69584,10.38192 L13.69584,24.88992 L17.90304,24.88992 Z"
30+
d="M9.94704,8.85792 C9.94704,7.78992 10.77024,6.96672 11.83584,6.96672 L25.07184,6.96672 C26.07744,6.96672 26.87184,7.76112 26.87184,8.76672 C26.87184,9.77232 26.07744,10.56672 25.07184,10.56672 L13.69584,10.56672 L13.69584,16.06272 L23.68464,16.06272 C24.69024,16.06272 25.48464,16.85712 25.48464,17.86272 C25.48464,18.86832 24.69024,19.66272 23.68464,19.66272 L13.69584,19.66272 L13.69584,25.28592 L25.22544,25.28592 C26.23104,25.28592 27.02544,26.08032 27.02544,27.08592 C27.02544,28.09152 26.23104,28.88592 25.22544,28.88592 L11.83584,28.88592 C10.77024,28.88592 9.94704,28.06272 9.94704,26.99472 L9.94704,8.85792 Z"
2931
id="Fill-4"
3032
fill="#FFFFFF"
3133
/>

0 commit comments

Comments
 (0)