Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dwblair committed Jan 11, 2020
1 parent 23779cf commit bb5b3b5
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions node_basic_5/plotting/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@

<script>

var mymap = L.map('mapid').setView([51.505, -0.09], 14);
//var mymap = L.map('mapid').setView([51.505, -0.09], 14);
var mymap = L.map('mapid').setView([43.683848, -70.192392], 15);



L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw', {
maxZoom: 18,
Expand All @@ -42,11 +45,18 @@
}).addTo(mymap);


L.circle([51.508, -0.11], 500, {
color: 'red',
L.circle([43.686, -70.191], 50, {
color: 'blue',
fillColor: '#f03',
fillOpacity: 0.1
}).addTo(mymap).bindPopup("South Bank Depth Sensor");

L.circle([43.683848, -70.1924], 50, {
color: 'orange',
fillColor: '#f03',
fillOpacity: 0.1
}).addTo(mymap).bindPopup("South Bank Depth Sensor");
}).addTo(mymap).bindPopup("South Bank Depth Sensor");


mymap.on('click', onMapClick);

Expand Down

0 comments on commit bb5b3b5

Please sign in to comment.