Skip to content

Commit cf2088c

Browse files
e-halinenavicarie
authored andcommitted
WIP: AB#61587: Add E-Zone
1 parent 70cb610 commit cf2088c

2 files changed

Lines changed: 41 additions & 0 deletions

File tree

app/components/ZoneSymbolMarkers.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +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";
89
import {
910
mapSelectionToBbox,
1011
bboxDiameterInMeters,
@@ -21,6 +22,8 @@ const getZoneIcon = (zone, svgSize) => {
2122
return <CZone size={svgSize} />;
2223
case "D":
2324
return <DZone size={svgSize} />;
25+
case "E":
26+
return <EZone size={svgSize} />;
2427
default:
2528
return <div />;
2629
}

app/icons/icon-Zone-E.js

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import React from "react";
2+
3+
const EZone = (props) => (
4+
<div>
5+
<svg
6+
width={`${props.size}px`}
7+
height={`${props.size}px`}
8+
viewBox="0 0 36 36"
9+
version="1.1"
10+
xmlns="http://www.w3.org/2000/svg"
11+
xlink="http://www.w3.org/1999/xlink">
12+
<title>icon-Zone-E</title>
13+
<desc>Created with Sketch.</desc>
14+
<defs />
15+
<g
16+
id="Page-1"
17+
stroke="none"
18+
strokeWidth="1"
19+
fill="none"
20+
fillRule="evenodd">
21+
<g id="icon-Zone-E">
22+
<path
23+
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"
24+
id="Fill-1"
25+
fill="#007AC9"
26+
/>
27+
<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"
29+
id="Fill-4"
30+
fill="#FFFFFF"
31+
/>
32+
</g>
33+
</g>
34+
</svg>
35+
</div>
36+
);
37+
38+
export default EZone;

0 commit comments

Comments
 (0)