-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
52 lines (46 loc) · 2.12 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
48
49
50
51
52
<!DOCTYPE html>
<html>
<head>
<title>GeoJSON Viewer - View GeoJSON from URL</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles/main.css" />
<link
rel="stylesheet"
href="https://s3-us-west-1.amazonaws.com/patterns.esri.com/files/calcite-web/1.2.5/css/calcite-web.min.css"
/>
<link rel="stylesheet" href="https://js.arcgis.com/4.26/esri/css/main.css" />
<script src="https://js.arcgis.com/4.26/"></script>
</head>
<body>
<div id="map">
<div class="buttonWrapper" id="buttonWrapper">
<a href="./" alt="Home" class="btn">Try another!</a>
</div>
</div>
<div id="entryFormWrapper">
<h1>GeoJSON Viewer</h1>
<form id="entryForm">
<input
type="text"
id="urlInput"
placeholder="http://services1.arcgis.com/g2TonOxuRkIqSOFx/arcgis/rest/services/US_National_Parks/FeatureServer/0/query?where=1%3D1&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&distance=&units=esriSRUnit_Meter&outFields=*&returnGeometry=true&maxAllowableOffset=&geometryPrecision=&outSR=4326&returnIdsOnly=false&returnCountOnly=false&returnExtentOnly=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&resultOffset=&resultRecordCount=&returnZ=false&returnM=false&quantizationParameters=&f=pgeojson&token="
/><br />
<button id="lookupUrlButton">Map that GeoJSON!</button>
</form>
</div>
<script src="js/main.js" type="module"></script>
<div id="viewDiv"></div>
<!-- Start of StatCounter Code for Default Guide -->
<script type="text/javascript">
var sc_project = 10637164;
var sc_invisible = 1;
var sc_security = "1d0676f0";
var scJsHost = "https:" == document.location.protocol ? "https://secure." : "http://www.";
document.write(
"<sc" + "ript type='text/javascript' src='" + scJsHost + "statcounter.com/counter/counter.js'></" + "script>"
);
</script>
<!-- End of StatCounter Code for Default Guide -->
</body>
</html>