-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgerrymap.html
41 lines (32 loc) · 1.36 KB
/
gerrymap.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<title>Texas Districts</title>
<meta charset="utf-8" />
<base target="_blank">
<!-- Leaflet css -->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css" integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ==" crossorigin="" />
<!-- Leaflet source code -->
<script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet.js" integrity="sha512-/Nsx9X4HebavoBvEBuyp3I7od5tA0UzAxs+j83KgC8PU0kgB4XiK4Lfe4y4cgBtaRJQEIFCW+oC506aPT2L1zw==" crossorigin=""></script>
<!-- Esri Leaflet Geocoder -->
<link rel="stylesheet" href="https://unpkg.com/esri-leaflet-geocoder@2.2.6/dist/esri-leaflet-geocoder.css">
<!-- CSS stylesheet -->
<link rel="stylesheet" href="gerryStyle.css">
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark justify-content-between">
</nav>
<div id="map">
</div>
<footer>
</footer>
<!-- Load Esri Leaflet from CDN -->
<script src="leafletSource/leaflet.js"></script>
<!-- Texas congressional district geojson file -->
<script src="txDistricts.js"></script>
<script src="https://unpkg.com/esri-leaflet@2.0.8"></script>
<script src="https://unpkg.com/esri-leaflet-geocoder@2.2.6"></script>
<script src="https://unpkg.com/@turf/turf@3.5.1/turf.min.js"></script>
<script src="geogerry.js"></script>
</body>
</html>