From 1549a2ca521ed956972168a5b59d293dcd7b07c3 Mon Sep 17 00:00:00 2001 From: XiaoqiTang Date: Fri, 1 Feb 2019 16:07:37 -0500 Subject: [PATCH 1/2] homework02 --- assignment/images/dental.png | Bin 0 -> 15752 bytes assignment/index.html | 32 ++++++++++++++++++++++++++++++-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 assignment/images/dental.png diff --git a/assignment/images/dental.png b/assignment/images/dental.png new file mode 100644 index 0000000000000000000000000000000000000000..40b1f2804dfcac4749490c7a5aee3f2518f90d61 GIT binary patch literal 15752 zcmb`uXH-*7)F^xs0t9KHBfW!y6h-L-=?Dmjibxeur1#!}Aib-A(u*_;O_ZJ>ARxU7 zg7n@)2_5pCJn#GK`*YX2>t?N-WX+j9vuDqq-6vZAz6RwLmMZ`NP-G9}$dy z!``>WT^%X0k%%!cxOJ0)CZ)wj-}=GNmp5ybd{lU+Hnpo&TqLI?r*wDDnq6Fca%N=2 znDRcR`P3aXAN|`uc^qVK|C#S+K+c(b&Qa4!_C7uwfu{x$>3KyB0e=Wz07iHq2oEK~ zF3>K+}yT%_4B(aE?O@%gSm{k{Iseb?tQiS!lzYblEU4UO0T`n z*P9|54G$IFKw8*d994h8H%SoI`v3cnZeQ>}VZ^@}BG z^aG_&L&^8cONY<>3p5-1SG8*pFaW}(I`$0Nb^86RXwhTC_5hU^rf3TNvx2L`os{;w z(LPc`05B9njOt8-zng!OkCMVo<7I{7%+jBgc>4d~+iISLL@#=G@n|&`#)B83em+{Mnuqu5uhwT5P1fJn{=D(aO63*61%!u7VmqFcS2sPo zp}%2WVy~Oy#XeKm%p`)=n*xOo6mnZU9z68v!BbP9P!_#P-K3^@=0;If(ddLWS#t@0rZnS zlub=xGKBQmz{}D2vYgnu3^)`8AQXb9(JFfo6;8*uq12!2=OzAwn6GRJ$+CG}_$ri` z>cO+ozh3{m2n*BPjJSNBvchLaArJ+zdwgN`Yf6(qs@i=z^wUDz`@%?W7>Cm6T=8SG zOFExxgt@JD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Ox1&d0WIw*rz)Ml?~p^AtA33Xf^vFCFT)YS;O{Z?`i!UU*Buk$Xfm4R{m+#I+F zSbi_!%yJb74_jv?U&|-7{($}CxmE~XXo)Hbb|ar6lm?%3LuTFvDq9nw44!;CB{uu7 zO%STLmkIzB)xYst^?V@v9-BZ%wnObC<$(%KYa=9xtGEXA*S%EDQ@dc`*N_V?w9-?J z(5eS>ez!Obhs3E&9sL+0CLruc#w=*81{O1uc%c&u&i=dPBMhzPSCiBLX7aap{(8!R zkX$NSm@$4~ej-V2U`E_>YAkJN2|N<0I00xipP*ePFj26*VC;FD&~;7|)1ETMHzjER zY^{FZo+%&fC3IE24mHyHKCBP&o=sbc4~Dr4%N9VhSd#IPv2w^FA{|S_w5S3}w<<)>K?Df?x-J zT=ajgZ;WbqOUMzqnUjdVkr&jmhTo;otX|)_xvfsPoXF>WQ@kC#%q9iLti3xg>-)O! zm5_K+YCMXv{Juz}#Y;r)m^)ZjEO#88Ll|aIg+w$}p369%LJ6i4Qu7GOj3ke&=-S|hG9=^8!f$Z*BzgkQA!FQEHv7oDB-BK30^WPGd$y&gBkNmqS zj1l?ec9mbN>!*$MF9_HF;4;EQ)}N#1PrR~~EQTwCU^@w6B{lRmyNVPv+b>Y|f z3D8j{55%?hN^I(EG73XmHsO?iRvP}DHVPU9{Wte+KE1qGYBFm7dD8#s6D9k>=%1O8c$}ZSRghw1m>yvt5Y~&9nO@nU z;GNUYHt%h|+~$hqGy6b!B)ZX`Wp$yDY8+Bd`UNc*yAMXA;oRK!e)@L(_&oMESm=Lm z&t~6#`G&9I3#GF=UwewImIt$oxTgvJM0Nw6V|}r+_5Jc_>?ywa;~#WLC~oEbvx}2o z9yQ=l;0F_i(%p2be_!KXAf>i|{}Z9{=}^|A&EQpI;(Lc)6uJuh(u8=Fw8S LuliNl^40$b!uL+u literal 0 HcmV?d00001 diff --git a/assignment/index.html b/assignment/index.html index 33922b5..2d02cb4 100644 --- a/assignment/index.html +++ b/assignment/index.html @@ -43,6 +43,8 @@ in array form. For example, [{'first': 1, 'second': 44}, {'first': 2, 'second': 12}] becomes [['first','second'],[1, 44],[2, 12]] + + 2. Put a marker on the map for each health center in the specified lat/lng coordinates with a popup (a simple text dialog) that shows that location's name when its marker is clicked. @@ -62,10 +64,36 @@ ===================== */ - var jsonToCsv = function(json) { console.log(json); }; + var jsonToCsv = function(json) { + var outlist = []; + var mykeys = Object.keys(json[0]); + outlist.push(mykeys); + + for (i = 0; i < json.length; i++) { + var myvalues = Object.values(healthCenters[i]) + outlist.push(myvalues); + } + + console.log(outlist); + }; + + + var addMarkers = function(map) { + var dentalIcon = L.icon({ + iconUrl: 'images/dental.png', + iconSize: [40, 40] + }); + for (i = 0; i < healthCenters.length; i++) { + if (healthCenters[i].DENTAL_PHONE!="N/A") { + var marker = L.marker([healthCenters[i].LNG,healthCenters[i].LAT], {icon: dentalIcon}).addTo(map); + } else { + var marker = L.marker([healthCenters[i].LNG,healthCenters[i].LAT]).addTo(map); + } + marker.bindPopup(""+healthCenters[i].NAME+"").openPopup(); - var addMarkers = function(map) {}; + } + }; /* ===================== From f4343134c71bbe452628b4a7f580e16165db4ea9 Mon Sep 17 00:00:00 2001 From: XiaoqiTang Date: Mon, 8 Apr 2019 00:36:19 -0400 Subject: [PATCH 2/2] HW02-Xiaoqi Tang --- lab/lab1/part1-types-variables-math.html | 12 ++++++------ lab/lab1/part2-function-review.html | 3 ++- lab/lab2/part1-functions-are-values.html | 4 +++- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/lab/lab1/part1-types-variables-math.html b/lab/lab1/part1-types-variables-math.html index 560cdde..3f5faca 100644 --- a/lab/lab1/part1-types-variables-math.html +++ b/lab/lab1/part1-types-variables-math.html @@ -18,19 +18,19 @@ ===================== */ - var a; + var a = 31; var resultTask1 = (a > 30); - var b; + var b = 'name'; var resultTask2 = (typeof b == 'string'); - var c; + var c = 5; var resultTask3 = (c ** 2 == 25) - - var d; + + var d = 10; var resultTask4 = (d == 'cassiopeia'.length); - var e; + var e = 18; var resultTask5 = (e%5 == 3); /* ===================== diff --git a/lab/lab1/part2-function-review.html b/lab/lab1/part2-function-review.html index 0d41bc0..422f317 100644 --- a/lab/lab1/part2-function-review.html +++ b/lab/lab1/part2-function-review.html @@ -4,7 +4,8 @@ Page Title +

Hello World - + diff --git a/lab/lab2/part1-functions-are-values.html b/lab/lab2/part1-functions-are-values.html index d0aec5e..c5ce605 100644 --- a/lab/lab2/part1-functions-are-values.html +++ b/lab/lab2/part1-functions-are-values.html @@ -38,7 +38,9 @@ exampleSum = exampleSum + arrayValue.length } else if (typeof arrayValue === 'number') { // Number case exampleSum = exampleSum + arrayValue - } else { // Otherwise + } else if (arraycondition) { + + } // Otherwise console.log("Not sure how to proceed with value:", arrayValue) } }