diff --git a/img/favicon.ico b/img/favicon.ico new file mode 100644 index 0000000..9cea32c Binary files /dev/null and b/img/favicon.ico differ diff --git a/index.html b/index.html index dd67ab9..8252eb9 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,7 @@ + @@ -14,7 +15,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'); @@ -80,8 +81,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); 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;