forked from robert-claypool/shapefiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (46 loc) · 2.51 KB
/
index.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
42
43
44
45
46
47
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Shapefiler</title>
<meta name="description" content="This is the project's landing page.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic">
<link rel="stylesheet" href="css/style.css">
<script src="js/bundle.js"></script>
</head>
<body>
<noscript>
<div id="noscript-warning">Please enable JavaScript. This site requires it.</div>
</noscript>
<noscript><div id="noscript-padding"></div></noscript>
<div class="container">
<div>
<h1>Welcome!</h1>
<p>
This site is a demonstration of client side processing that outputs a shapefile from
<a href="http://resources.arcgis.com/en/help/rest/apiref/geometry.html">Esri JSON</a> features.
</p>
</div>
<div id="map"></div>
<a href="javascript:void(0);" onclick="javascript:downloadShapefile();">Click here to download the shapefile</a>
</div>
<a href="https://github.com/robert-claypool/almost-rw">
<img style="position: absolute; top: 0; right: 0; border: 0;"
src="https://camo.githubusercontent.com/652c5b9acfaddf3a9c326fa6bde407b87f7be0f4/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6f72616e67655f6666373630302e706e67"
alt="Fork me on GitHub"
data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png">
</a>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js"></script>
<script src="https://cdn.jsdelivr.net/leaflet.esri/1.0.1/esri-leaflet.js"></script>
<script>
// We don't need a map, but the page is pretty dull without one.
var map = L.map('map').setView([38.5, -96.0], 4);
L.esri.basemapLayer("Topographic").addTo(map);
</script>
</body>
</html>