Skip to content

Commit

Permalink
fix(insights): Move GF, GP and YT to top level on the world map (#17949)
Browse files Browse the repository at this point in the history
Move GF, GP and YT to top level on the world map
  • Loading branch information
robbie-c authored Oct 12, 2023
1 parent d24ea60 commit f1e3a97
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 28 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 36 additions & 28 deletions frontend/src/scenes/insights/views/WorldMap/countryVectors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7888,6 +7888,42 @@ export const countryVectors: Record<string, JSX.Element> = {
/>
</g>
),
GF: (
<g id="FG" className="landxx eu fr gf">
<path
id="GF"
className="landxx eu fr gf"
d="m 883.326,678.438 c 1.288,-0.06 2.316,-2.268 2.755,-3.237 0.818,-1.809 0.01,-3.822 1.246,-5.47 1.463,-1.953 0.119,-3.393 -1.127,-4.948 -1.292,-1.613 -1.24,-4.493 -1.364,-6.461 -0.144,-2.293 0.19,-3.596 1.863,-5.193 0.623,-0.595 1.399,-1.252 1.599,-2.131 0.259,-1.139 0.553,-2.562 2.168,-1.952 1.048,0.396 1.767,1.244 2.881,1.549 1.203,0.331 2.664,0.312 3.682,1.126 1.194,0.957 2.781,4.602 4.656,4.469 -0.315,0.462 -0.531,0.966 -0.649,1.513 0.532,-2.396 4.637,1.715 2.3,3.312 1.132,-0.417 0.474,-1.475 1.038,-2.229 0.856,-1.146 1.521,1.525 1.587,2.094 0.312,2.698 -1.758,5.554 -3.161,7.702 -1.612,2.468 -2.733,4.557 -3.784,7.338 -0.39,1.032 -0.893,1.905 -1.76,2.607 -0.36,0.292 -1.005,0.964 -1.479,1.089 -0.781,0.207 -1.396,-0.418 -2.231,-0.02 0.344,-0.981 -0.271,-0.985 -1.008,-0.757 -1.03,0.319 -1.91,-0.1 -2.889,-0.431 -0.494,-0.167 -2.415,1.225 -2.722,1.59 -0.57,0.677 -3.224,-1.159 -3.601,-1.556"
/>
</g>
),
GP: (
<g id="GP" className="landxx coastxx eu fr gp">
<g id="gp-" className="landxx coastxx eu fr gp">
<path
id="path2582"
d="m 836.526,557.838 c -0.346,0.584 -0.882,4.254 -1.787,1.758 -0.509,-1.405 0.288,-2.788 1.787,-1.758"
/>
<path
id="path2584"
d="m 836.526,557.694 c 0.63,-0.573 -0.01,-1.692 1.01,-1.872 0.136,0.916 0.898,1.574 1.649,2.017 -0.707,0.244 -2.277,0.965 -2.659,-0.145"
/>
<path
id="path2586"
d="m 838.395,561.222 c -0.608,-0.627 -0.488,-0.938 0.36,-0.936 0.121,0.41 0,0.722 -0.36,0.936"
/>
</g>
</g>
),
YT: (
<g id="YT" className="landxx coastxx eu fr yt">
<path
id="yt-"
className="landxx coastxx eu fr yt"
d="m 1643.43,810.989 c 0.47,-0.643 1.08,-2.018 0,-2.45 -0.28,0.563 -0.41,1.917 0,2.45"
/>
</g>
),
FR: (
<g id="FR">
<g id="frx" className="landxx coastxx eu fr frx">
Expand Down Expand Up @@ -7917,34 +7953,6 @@ export const countryVectors: Record<string, JSX.Element> = {
d="m 1367.17,332.118 c 0.41,-0.415 0.49,-1.257 1.04,-1.534 1.1,-0.55 2.35,-0.692 3.39,-1.385 0.93,-0.619 0.27,-2.364 1.54,-2.266 0.15,2.196 1.2,5.361 0.68,7.488 -0.55,2.244 -1.65,4.389 -2.62,6.479 -0.38,-0.593 -3.91,-1.882 -2.02,-2.664 -0.51,-0.119 -0.99,-0.311 -1.44,-0.575 0.49,-0.312 0.84,-0.833 0.79,-1.44 -1.01,0.237 -1.15,-0.887 -0.57,-1.439 -0.86,-0.216 -1.4,-1.342 -0.22,-1.584 -0.25,-0.332 -0.44,-0.691 -0.57,-1.08"
/>
</g>
<path
id="GF"
className="landxx eu fr gf"
d="m 883.326,678.438 c 1.288,-0.06 2.316,-2.268 2.755,-3.237 0.818,-1.809 0.01,-3.822 1.246,-5.47 1.463,-1.953 0.119,-3.393 -1.127,-4.948 -1.292,-1.613 -1.24,-4.493 -1.364,-6.461 -0.144,-2.293 0.19,-3.596 1.863,-5.193 0.623,-0.595 1.399,-1.252 1.599,-2.131 0.259,-1.139 0.553,-2.562 2.168,-1.952 1.048,0.396 1.767,1.244 2.881,1.549 1.203,0.331 2.664,0.312 3.682,1.126 1.194,0.957 2.781,4.602 4.656,4.469 -0.315,0.462 -0.531,0.966 -0.649,1.513 0.532,-2.396 4.637,1.715 2.3,3.312 1.132,-0.417 0.474,-1.475 1.038,-2.229 0.856,-1.146 1.521,1.525 1.587,2.094 0.312,2.698 -1.758,5.554 -3.161,7.702 -1.612,2.468 -2.733,4.557 -3.784,7.338 -0.39,1.032 -0.893,1.905 -1.76,2.607 -0.36,0.292 -1.005,0.964 -1.479,1.089 -0.781,0.207 -1.396,-0.418 -2.231,-0.02 0.344,-0.981 -0.271,-0.985 -1.008,-0.757 -1.03,0.319 -1.91,-0.1 -2.889,-0.431 -0.494,-0.167 -2.415,1.225 -2.722,1.59 -0.57,0.677 -3.224,-1.159 -3.601,-1.556"
/>
<g id="GP">
<g id="gp-" className="landxx coastxx eu fr gp">
<path
id="path2582"
d="m 836.526,557.838 c -0.346,0.584 -0.882,4.254 -1.787,1.758 -0.509,-1.405 0.288,-2.788 1.787,-1.758"
/>
<path
id="path2584"
d="m 836.526,557.694 c 0.63,-0.573 -0.01,-1.692 1.01,-1.872 0.136,0.916 0.898,1.574 1.649,2.017 -0.707,0.244 -2.277,0.965 -2.659,-0.145"
/>
<path
id="path2586"
d="m 838.395,561.222 c -0.608,-0.627 -0.488,-0.938 0.36,-0.936 0.121,0.41 0,0.722 -0.36,0.936"
/>
</g>
</g>
<g id="YT">
<path
id="yt-"
className="landxx coastxx eu fr yt"
d="m 1643.43,810.989 c 0.47,-0.643 1.08,-2.018 0,-2.45 -0.28,0.563 -0.41,1.917 0,2.45"
/>
</g>
</g>
),
MQ: (
Expand Down

0 comments on commit f1e3a97

Please sign in to comment.