diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4d3c41f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.c9/ diff --git a/index.html b/index.html new file mode 100644 index 0000000..1d9e26c --- /dev/null +++ b/index.html @@ -0,0 +1,36 @@ + + + + + + Streetme + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + diff --git a/script.js b/script.js new file mode 100644 index 0000000..7328908 --- /dev/null +++ b/script.js @@ -0,0 +1,22 @@ +'use strict'; +/* global navigator $ */ + +// Track GPS location +if (!navigator.geolocation){ $('#no-gps').show(); } +else { navigator.geolocation.watchPosition( + + // Got location + function(pos) { + + }, + + // Got error + function() { + //TODO: Show error + }, + + // Options + { enableHighAccuracy:true } + + ); +} \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..9c0487e --- /dev/null +++ b/style.css @@ -0,0 +1,4 @@ +main { + width: 100vw; + height: 100vh; +} \ No newline at end of file