From 281f566d1801f52d35614e1bbc08b4c9aaaa3c05 Mon Sep 17 00:00:00 2001 From: Allen Hancock Date: Mon, 20 May 2019 18:58:50 -0500 Subject: [PATCH 1/3] use https for google analytics --- index.html | 2 +- js/s2Geometry.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index dd67ab9..a142342 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,7 @@ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) - })(window,document,'script','http://www.google-analytics.com/analytics.js','ga'); + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-10384147-1', 'auto'); ga('send', 'pageview'); diff --git a/js/s2Geometry.js b/js/s2Geometry.js index 2f883c9..ea761fc 100644 --- a/js/s2Geometry.js +++ b/js/s2Geometry.js @@ -48,7 +48,7 @@ /* S2.LatLngToXYZ = function(latLng) { - // http://stackoverflow.com/questions/8981943/lat-long-to-x-y-z-position-in-js-not-working + // https://stackoverflow.com/questions/8981943/lat-long-to-x-y-z-position-in-js-not-working var lat = latLng.lat; var lon = latLng.lng; var DEG_TO_RAD = Math.PI / 180.0; From 9dd9d891f1e987ae8e9451c4e51a630504996494 Mon Sep 17 00:00:00 2001 From: Allen Hancock Date: Mon, 20 May 2019 19:32:52 -0500 Subject: [PATCH 2/3] use relative image paths --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index a142342..f71f801 100644 --- a/index.html +++ b/index.html @@ -80,8 +80,8 @@ for (PAinPutLine=0; PAinPutLine < PAinPut.length; PAinPutLine++) { jsonFieldData += "["; if(type==="circle"){ inputRadius=getInputRadius() } - if(type==="gym"){ icon="https://raw.githubusercontent.com/JennerPalacios/PoGoMappingTool/master/img/gym-pin.png" } - if(type==="pokestop"){ icon="https://raw.githubusercontent.com/JennerPalacios/PoGoMappingTool/master/img/stop-pin.png" } + if(type==="gym"){ icon="img/gym-pin.png" } + if(type==="pokestop"){ icon="img/stop-pin.png" } var uics=PAinPut[PAinPutLine].split(","); jsonFieldData += inputRadius+","+uics[0]+","+uics[1]+",\"#AAAAAA\",\"#000000\",0.3,\""+icon+"\"],"; //console.info(jsonFieldData); From 6c82983981b63afbe691bf9e8afa5f5e5f34a587 Mon Sep 17 00:00:00 2001 From: Allen Hancock Date: Mon, 20 May 2019 20:36:26 -0500 Subject: [PATCH 3/3] add and reference a favicon.ico --- img/favicon.ico | Bin 0 -> 5398 bytes index.html | 1 + 2 files changed, 1 insertion(+) create mode 100644 img/favicon.ico diff --git a/img/favicon.ico b/img/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..9cea32c6aee92baadaaae02340691aa458395899 GIT binary patch literal 5398 zcmeHLc~DhV7(e%M-;TT|Ji=E9&jmHiQW;Y-M4U+tEp^7G+)8b5Pg4g&*<7K}aYtOD zQ8WX!F&Y!eT*;U;WP7>bE~%p!`zFi#^_|DN!vir#!KptyGv7VuJNJCw@B6-U?>)cw z7!#O`nM{nDi6!V6>p~+v^;{n&GIox}-K-j8gQyp1{&5X2+KUSOKP&LKN7gz|A@iPJ zc=Y^Yoo{-v-Q#PXwl#ItNGE4p|1a=82zM68UN+aQV){7kHCr70sDGsKIG;9g+j@In zYEnkNVql4rM#@U}$Lev%+!?6q4^+D2VyY5hvt;P(&W_N!4@p##aSQR=I6JZ>pNtkS ze-~@OtsIWohg|xT_>uG`aRX}fG_S*5vj#iY$}xN(yQmUb6vd#X1<#zntBaUqKI26$ zC{GL`d7GpsNk`;fc0q8E0_QTENH-?g#|8jpNlg|TT~W1VZ>1JPg0&4-?oQc zjYbwdYqlacewP-36GbeV!VtGiz}GgJKanA5o)TBC>2c<)4)YhN?{qN9wv#;-rp5R? z3};t8OPVr@VRI;9FBh;SqCvPGJ)hyD5i$#{-A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