Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added img/favicon.ico
Binary file not shown.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
<meta charset="utf-8">
<meta name="Content-Language" content="english" />
<meta name="Keywords" content="circle, draw, radius, map, google map, tool" />
Expand All @@ -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');
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion js/s2Geometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down