How does one make circles using a for-loop with Leaflet?
问题 I'm not sure why my for-loop for adding circles to a leaflet layer isn't working. Here's my code: var linkDistance = $('#linkDistance').val(); var nodesCount = 8; var bandwidth = "10 GB/s"; // gps coords for 505 Marquette var rootLongitude = 35.088878; var rootLatitude = -106.65262; var mymap = L.map('mapid').setView([rootLongitude, rootLatitude], 13); L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk