From c4e1785718b241791db170e46b5469d32ee5e36b Mon Sep 17 00:00:00 2001 From: Burathar Date: Thu, 23 Jul 2020 00:55:23 +0200 Subject: [PATCH] add person markers --- .../images/person-marker-icon-2x-blue.png | Bin 0 -> 21308 bytes .../images/person-marker-icon-2x-gold.png | Bin 0 -> 19806 bytes .../images/person-marker-icon-2x-green.png | Bin 0 -> 21293 bytes app/static/assets/leaflet/utils.js | 25 +++++++++++++++--- 4 files changed, 21 insertions(+), 4 deletions(-) create mode 100755 app/static/assets/leaflet/images/person-marker-icon-2x-blue.png create mode 100755 app/static/assets/leaflet/images/person-marker-icon-2x-gold.png create mode 100755 app/static/assets/leaflet/images/person-marker-icon-2x-green.png diff --git a/app/static/assets/leaflet/images/person-marker-icon-2x-blue.png b/app/static/assets/leaflet/images/person-marker-icon-2x-blue.png new file mode 100755 index 0000000000000000000000000000000000000000..c29320a367e0100d56790025024797087d77ea8f GIT binary patch literal 21308 zcmeI4c{r47`1nUzDwHT&LySGfY>dGm*~^wCy!_AQc~ zkR@v+vSi;WzftE@XU;i(=eoY%-}U>)dtKvw@8^E*`+nZfbKm#-{__gb*VSO&$Gr~# z05EH5sv1zv2+GfJ4?X2C+*rwpa@y;pX+{D7Bn7s9H0}?TTmb;tDT0wH*;Gec4oh^9 z#NddQcu9AMt=RwoTFKoBgSEqx`7H6)1V;tXba6R|kAPDEnMmtEb(~c2HUv#iXS|`O zt`XML4l9cTDJkwlyUS4=IN-?`K6eLuN0OYo0_dAxIm-3cFa*T+Z3@{=0i?VYkk3>{ zpHGG8jOUYrLwRuU$SLcpaZ_~1~OGz2OOfkDAgm>di$2Z!?gaex%}QLfO= zI4d~=RrNo@Q6vSB4VmmD2Z6Y`xklmTLJ{JQae}}kp^$$v z!eM{dIJr36e_I+33&Gpt9q^8162%Vok9JNrL^6?NL;RPJKh*ykn6f82IzM9n<9Zz& z{xLL(tmaBV@CVX=v?LjMIN>1%coNaY8H-nQrQC|ZKixf{}{)-yt;RUgcDr@fb4E*@#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aflet/images/person-marker-icon-2x-gold.png b/app/static/assets/leaflet/images/person-marker-icon-2x-gold.png new file mode 100755 index 0000000000000000000000000000000000000000..ff7966ca7215e2410af291bc4d07220594e2e220 GIT binary patch literal 19806 zcmeI4c{r5q_rM2PvenCL2{D#bwi$-O7_tmTktJj)nU%53XbdCSvZiFKWJ##(A<0rI zQi(!Ih_X~FYgwcH_h|Lb+dIGay1w7v_4{Y$x|rwO=RW5=_vb$6JomV+5pT2IT!2@C z7X$(cSfEjMz&i~1*}=mF{MK;T;s?B~_Cq`SgFtHX%Rg*E`C9@(Al=s_dncNcl_dg4 z@m0g%DOiG9kni$r5D2*?$Pa__CeXlGf(MDLFZZUtK@Lp9>&xxbvVvOqnGifl=wK>g zNAPxgT(CDz7caNPfEO8r037%dXc%yiuMgQD5u`8o)h`0LULJFroNRsK9Lz z3}8se?}k@cea$q41=*j5A>#-ZC<9IF^7>#lv*5s@iZ(O;xNq2BWH} zgVTkoV_+B<7W);VmDNh~zqv+HZ~@EJ0=WLxSnw1a;QrTbX%q3IPE_b@&y<}9xT4+PW25ny<2jIJtH3jZkM+0uS?tYw?8b&SB^mV284Zn-=N0ENGd{<^K7mfy`tf8Wl3hv1w4 z73TjOgYHQnGb^ueuD;ItXD9v?B8`rr5{x{64EZ;e|IO=P%^2MyANw2%FJWTns>%i!5Bs`7mf%xEO#i7g@NN^I_1ka4`U3F0ybj z=fj|7;bH*7Tx8*5&WAzE!o>iDxyZuBoDYMRg^K|QbCHFMIUfcs3l{?r<{}Fhb3P1O z7A^)L%taP1=6o2mEL;pgn2Ri2%=s{AS-2R0Fc(?4nDb%KvT!i~VJ@<8G3UdeW#M7~ z!dztGV$O#_%fiI~gt^GV#hed=mW7J}2y>AsF5X{X;v|rPZ*J0ouV`+_dmRFNy%UT> z+gX7?!5cuJh$s-~-520}3E?^weh!C~So%CvPy7A$fhaZI0oW zJs|M(Q&==RyBOD22@R5akOCIGN&5^l$=^=~%d{#6~5} z*`@91J(13Zmzs1o3g_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*J@WMqCwmZodf3nYLWSrq0oM3fw%ZEt;5k`EoZBGo!&p7Nr|m7NVn`M_LP= zec!RL4M-5J+P1$Vk62e50Qv|AO;!gWUvUiG^yKv9k2w5;fc*Tx7oJcRUl`SzE6F36Lq~o zfy;kfR6jv;A2@^*E$AGi(-prw|Yo@%+WedzxI%Hfrm literal 0 HcmV?d00001 diff --git a/app/static/assets/leaflet/utils.js b/app/static/assets/leaflet/utils.js index c9563e1..086f093 100644 --- a/app/static/assets/leaflet/utils.js +++ b/app/static/assets/leaflet/utils.js @@ -16,13 +16,30 @@ var goldIcon = new L.Icon({ shadowSize: [41, 41] }); +var bluePlayerIcon = new L.Icon({ + iconUrl: '/static/assets/leaflet/images/person-marker-icon-2x-blue.png', + shadowUrl: '/static/assets/leaflet/images/marker-shadow.png', + iconSize: [25, 41], + iconAnchor: [12, 41], + popupAnchor: [1, -34], + shadowSize: [41, 41] +}); + +var greenPlayerIcon = new L.Icon({ + iconUrl: '/static/assets/leaflet/images/person-marker-icon-2x-green.png', + shadowUrl: '/static/assets/leaflet/images/marker-shadow.png', + iconSize: [25, 41], + iconAnchor: [12, 41], + popupAnchor: [1, -34], + shadowSize: [41, 41] +}); + function addObjectiveMarker(map, objective){ var objectiveMarker = L.marker([ objective['latitude'], objective['longitude'] - ]) + ], {icon: greenIcon}) if(objective['found']){ - console.log('test') objectiveMarker.setIcon(goldIcon) } objectiveMarker.addTo(map); @@ -35,11 +52,11 @@ function addObjectiveMarker(map, objective){ } } -function addPlayerMarker(map, player){ +function addPlayerMarker(map, player, icon=bluePlayerIcon){ var playerMarker = L.marker([ player['latitude'], player['longitude'] - ], {icon: greenIcon}).addTo(map); + ], {icon: icon}).addTo(map); var timestamp_utc = moment.utc(player['timestamp_utc']).toDate() var timestamp_local = moment(timestamp_utc).local().format('YYYY-MM-DD HH:mm'); playerMarker.bindTooltip(`${player['username']}