Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benderlidze committed Jul 20, 2020
1 parent a34bc6f commit 564721f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions map.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,11 @@
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" rel="stylesheet" />




<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"
crossorigin="anonymous"></script>


<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css" />
<link href="https://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel="stylesheet">
Expand Down Expand Up @@ -1045,7 +1041,7 @@

savedCounties[key].selectedFIPS.forEach(s => {
//tableRecords_.addRow(s)
fips.push(s.fips.toString());
fips.push(zeroPad(s.fips, 5));
})

if (map.getLayer(layerId)) { map.removeLayer(layerId) }// remove just in case;
Expand Down Expand Up @@ -1075,7 +1071,6 @@
<input type="checkbox" id="${i.id}" class="savedLayers" data-toggle="toggle" data-size="mini">
<div style="height:12px;width:30px;display:inline-block;background-color:${shades[key]}"></div>
${i.id} - Counties: ${i.selectedFIPS.length}
<button class="btn btn-primary btn-sm loadSelection" id="${i.id}">Load</button>
</div>`
}).join("")
}
Expand Down Expand Up @@ -1183,4 +1178,4 @@

</body>

</html>
</html>

0 comments on commit 564721f

Please sign in to comment.