Skip to content

Commit

Permalink
Leaflet Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulAtKeyboard committed Oct 16, 2019
1 parent a952fbd commit 3755d5e
Show file tree
Hide file tree
Showing 8 changed files with 123,760 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
map.addLayer(vectorLayer);
}

/*
var req = new XMLHttpRequest();
req.open("GET", "https://raw.githubusercontent.com/PaulAtKeyboard/OpenCCTV/master/data-AT-CCTV.json", false);
req.send();
Expand All @@ -89,8 +88,13 @@
add_map_point(rows["Lattitude"], rows["Longitude"]);
}
}
*/






/* Leaflet */
var mymap = L.map('mapid').setView([mapLat, mapLng], 11);

L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw', {
Expand Down
Binary file added testing/Screen Shot 2019-10-17 at 2.30.05 AM.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,743 changes: 2,743 additions & 0 deletions testing/data-AT-CCTV.csv

Large diffs are not rendered by default.

Loading

0 comments on commit 3755d5e

Please sign in to comment.