From 77f40b91d51a54a56366bf7c4833a36a4211f54f Mon Sep 17 00:00:00 2001 From: Razzmatazz Date: Sat, 5 Oct 2024 10:32:13 -0500 Subject: [PATCH] add transit map icons --- public/maps/interactive/extract_transit.png | Bin 0 -> 6234 bytes src/pages/map/index.js | 2 +- src/pages/map/map-images.mjs | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 public/maps/interactive/extract_transit.png diff --git a/public/maps/interactive/extract_transit.png b/public/maps/interactive/extract_transit.png new file mode 100644 index 0000000000000000000000000000000000000000..46d65ed2c7baff1d06ed7c8ca4e1ba3f35d7bb51 GIT binary patch literal 6234 zcmeHMc{G&m`yVQMq#{|TQ7VjC4W8#= zzOSL8eNj}F>P@MvQHb9&+RyKM&hK>2@B3eK=Gm_0b6?lzzV7Qh_j%%6ob49Nsmnni zkj3^SqAPeMhz}Vl@Qj~%#04)6d)&A4UC9C{hs&nX832?Y$^oE&kWPa@gk4OR?#0bW znVHGuS`jC;2#I&IT}=i)L|bN7ytPk59lCLx@-% z6a0*Q5GJt0pXZws1A$0H(XFjr?5(Z8<^pDr7IxH})NHBQ;^UU3?;*V*An1zAnKzj* zEeDl&-*Y7@p25hFekAmRME{%K^8>IovxxO2u_L_| zIz#Ww-#wMsRNUlVyjCvP^E#=8;)g5OpYpz)1dTz)#9nqZKkD7l5WMe6b8}}k@+Q|} z@}-*lsNMnsEa-m*1{fA7s>JINWjIsQvY2 z(y=XmE82H;Y>wGXaL{yhPZ*8PYnFQnzp*>(M%UzX#Q4k76WC6AqHf}v)kmUaRtEp| zht*=Tr?IQ!`2dT5`<1$8S65QGCmOF@I-u`PD$|)!+Aj!HrDdO49j-7Cb}27OwxL|U zL_PU^7-Pr9Wew8`UUaSSQd#0gdp5u1mNK$tv6q(s8>&?CSi&})fAt9Cs)O6Q+=jmT8CA7CV8a=@YkYtTZ-AyWbYKGYBJr?bpqL)G;#D4l8!+h**9bmCY8 z0d&$HF5tGu*`2Z{kYYxKS!|Re2=O2Q6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LI^U0Zj$vtw&n`-SG`Pu@7t%C-<)7jzE}4n8UZx>C@q?LGV-1OSdhc;3-aKMFsXAeQTrc{Dy$w}qI7~To;ZEX03to+;rcFZdQHDOV$H@)&q6?U&iU1q#U-T1C2ci6u2P1o>!DifFdIBPL{L zZ-z+Ty%fzymzI{6v7X=^NTh(&4|k0ilL2pDmrTd00=^sUViSU<;`G+8?ap>e?RYj4 zrMoj<dOU+V>n!+CEiN5AT-A`-x!qc2w?ibT=k)%VX;jZ^Z zx9*EXqN21k&G`6uOnEo6va)ikkB<(^!@xaQ`?i!vm~Pts6{@P9bUNKMGeI;ZpSe=h zwap_b>h91I^H1@o*W7W-5Z(1CU3Wxq;p|yV@uhM1+}8w;>u&eWMN|6(b8~Z$>0SLr UBY`CGmjj5sjWaQSlW*kz0Nr=!T>t<8 literal 0 HcmV?d00001 diff --git a/src/pages/map/index.js b/src/pages/map/index.js index 1a84fae1..9c43e176 100644 --- a/src/pages/map/index.js +++ b/src/pages/map/index.js @@ -995,7 +995,7 @@ function Map() { const rect = L.polygon(outlineToPoly(transit.outline), {color: '#e53500', weight: 1, className: 'not-shown'}); const transitIcon = L.divIcon({ className: 'extract-icon', - html: `${transit.description}`, + html: `${transit.description}`, iconAnchor: [12, 12] }); const transitMarker = L.marker(pos(transit.position), { diff --git a/src/pages/map/map-images.mjs b/src/pages/map/map-images.mjs index 6cea47cd..68a94762 100644 --- a/src/pages/map/map-images.mjs +++ b/src/pages/map/map-images.mjs @@ -32,7 +32,7 @@ const images = { 'extract_pmc': 'extract_pmc', 'extract_scav': 'extract_scav', 'extract_shared': 'extract_shared', - 'extract_transit': 'extract_pmc', + 'extract_transit': 'extract_transit', 'hazard': 'hazard', 'hazard_mortar': 'hazard_mortar', 'hazard_minefield': 'hazard',