-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (37 loc) · 1.34 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
<!DOCTYPE html>
<!-- vim: set ts=2 sw=2: -->
<html>
<head>
<title>ArcGIS Online (AGOL) Web Map using OpenLayers</title>
<meta charset="utf-8" />
<!-- CSS for OpenLayers 4.2.0 -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.2.0/ol.css" type="text/css">
<!-- my CSS -->
<link rel="stylesheet" href="agol-ol.css" type="text/css">
<!-- OpenLayers 4.2.0 -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.2.0/ol.js" type="text/javascript"></script>
<!-- my JavaScript code -->
<script src="agol-ol.js" type="text/javascript"></script>
</head>
<body>
<div id="header">
<h1>ArcGIS Online (AGOL) Web Map using OpenLayers</h1>
Author: <a href="https://idea.isnew.info">Huidae Cho</a>,
Date: August 12, 2017,
OpenLayers Version: 4.2.0,
AGOL Web Map: <a href="http://www.arcgis.com/home/item.html?id=b528fdc8b48e40ad925225387966f523">North Carolina Sample Dataset for GRASS GIS</a>,
Source Code: <a href="https://github.com/HuidaeCho/agol-ol">GitHub Repository</a>
</div>
<div id="map" class="map"></div>
<script type="text/javascript">
// create a web map
createWebMap(
// div ID for the map
'map',
// portal item ID of my web map
'b528fdc8b48e40ad925225387966f523',
// extent layer name
'firestations');
</script>
</body>
</html>