From 5cea22b4f39ea7eb89ad7665f49c6d25234b44ef Mon Sep 17 00:00:00 2001 From: NavaL Date: Fri, 15 Apr 2016 17:30:54 +0200 Subject: [PATCH 1/8] Ayoyo/Kiran/Sree | #Location->Degree-Magic | Basic stuff to show Martin's direction in a compass --- css/compass.css | 16 +++++++++++++ images/compass-needle.png | Bin 0 -> 14195 bytes images/compass-without-needle.png | Bin 0 -> 7589 bytes index.html | 12 ++++++++-- js/compass.js | 37 ++++++++++++++++++++++++++++++ 5 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 css/compass.css create mode 100644 images/compass-needle.png create mode 100644 images/compass-without-needle.png create mode 100644 js/compass.js diff --git a/css/compass.css b/css/compass.css new file mode 100644 index 0000000..6f89a27 --- /dev/null +++ b/css/compass.css @@ -0,0 +1,16 @@ +.compass-container { + height: 275px; + width: 300px; +} + +.compass-circle { + position: absolute; + height: 40%; +} + +.compass-needle { + position: relative; + left: 65px; + height: 200px; + top: 35px; +} \ No newline at end of file diff --git a/images/compass-needle.png b/images/compass-needle.png new file mode 100644 index 0000000000000000000000000000000000000000..44f2c80ce6cf38b0eafb6bcb45617ba2151bace1 GIT binary patch literal 14195 zcmb_@`9GBZ7xtjYz7!$*l7wUnm8Fo3L_~}|g^XRc2BVKGNkk$`NQtscWh=`}rKl_; z%Zz>OV;f^1%=X+PeV^wKc>GeY``qW8>$=W$-t#6sw7P1_%^}JG0)e>AE*o2eK+M2j znL&qGfj>4P`gTDe?Xzaa7p_MzEsdVznQj${|Ks>W<`Kf*oRxLxe$nNZOaW~<^$Xk) z;)iuJhVs+xUed+h=ei}jT4{3wCH}vB!J|pJ@R*#PdI2l63{&4`?#|5ePUMb?D~(xt5E)=uPx=47$lxW!+boo<*60u1Vf5N|0vi(=@GuwJ+}8YR-UKj=A2x zuMVI?&wZZFSR4y>)tmA~hX-f#vcv-w3bHnIgA1TtRFX0**!NcnSKlA`*n9WPaakSF z(~%!LZdLty`S%&5J-9+QHGR-=SA#ZuCG2)lD!_3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VxLH}2nURm4ZO#WRnTOQlqmf?A z4dT!gNnm(44+9alM#};b-rDo=UIoguLtdcCKwMNn8SHAm-({}(y?nzEqN0ZeZJHtu zg5U-Zh@Ii0zn|oCloxFGrOoSPyZkW7f$rD)loIY08Z8Fzqf}#)9-B zG~!xVgDjMck;zg!a3Gsmy00q(e>?xk12_v%i>9iI%=0`vWhYw}bk?H*mQh@SZ7`-z z@L+55s^v%fdgrgeHT(u7EZC?W9GrL{p10y}|3AyZ2G>Hw+Czhydvpbu10AUrO~D}e zpbWo*AiP7;bll2AEfih~6kKF9;` zu-#TPCxp26FaeecVXxTnDP|PCWVj^|egio=vg5;kpKgCY4j9B%9{ggv-8R&430dJA z3znmAGerOjoS=#J`>2Us>o??pf!#}+pd&W&<-_uP;*DbFEYf$fK z5L)u@$w3S7a3=P$vO4T`TN-pQEuqk5Kc77MX zFa@RI*}7Ji zWxk(K5SC^8e9tsp?wZ7CE0KSM6kLHRy{cPwNP;XWTP~J>DC(Ylou<)pbEwLMnGf4R z9Mkbfpf!I8sKBi99%mo`kcT&rdlh9#{VX;-W;;#2HJ*PY1!piS6io(mXj!(6&v>_$ zD$M^6C*T6{RDf3)G_C#5sUH6yGXF9Db7%fv{1^Yl?}PsbOrIZasTP7U00000NkvXX Hu0mjf4J1`< literal 0 HcmV?d00001 diff --git a/index.html b/index.html index c81c190..d5ca121 100644 --- a/index.html +++ b/index.html @@ -21,13 +21,14 @@ –––––––––––––––––––––––––––––––––––––––––––––––––– --> + - + - + @@ -38,6 +39,13 @@

Basic Page

This index.html page is a placeholder with the CSS, font and favicon. It's just waiting for you to add some content! If you need some help hit up the Skeleton documentation.

+
+

Martin is in this direction

+
+ + +
+
+ + + + + @@ -34,10 +64,10 @@ –––––––––––––––––––––––––––––––––––––––––––––––––– -->
-
-

Basic Page

-

This index.html page is a placeholder with the CSS, font and favicon. It's just waiting for you to add some content! If you need some help hit up the Skeleton documentation.

-
+
+

Wo ist Martin?

+ +

Martin is in this direction

@@ -48,6 +78,57 @@

Basic Page

+
+ + + + + From 03fcbfa2a9510de76da33c1ac353e627bea1586d Mon Sep 17 00:00:00 2001 From: Tina Egolf Date: Fri, 15 Apr 2016 18:10:26 +0200 Subject: [PATCH 5/8] GET request --- index.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index a5fa85b..49b4344 100644 --- a/index.html +++ b/index.html @@ -118,10 +118,20 @@

Wo ist Martin?

} function savePosition(markerLng, markerLat){ - console.log("Hello Backend, this is the position: Lat:" + markerLat + ", Lng: " + markerLng); + + var xhttp = new XMLHttpRequest(); + var xhttp2 = new XMLHttpRequest(); + + xhttp.open("GET", "http://localhost:8000/latitude/a/" + markerLat, false); + xhttp.send(); + + xhttp2.open("GET", "http://localhost:8000/longitude/a/" + markerLng, false); + xhttp2.send(); } + +