-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·72 lines (66 loc) · 3.1 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- Define the versions of IE that will be used to render the page. See Microsoft documentation for details. Optional. -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Responsive -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<!-- End Responsive -->
<!-- Use protocol relative urls that way if the browser is viewing the page via HTTPS the js/css file will be requested using the HTTPS protocol -->
<link rel="stylesheet" href="https://s3-us-west-1.amazonaws.com/patterns.esri.com/files/calcite-web/1.0.0-rc.1/css/calcite-web.min.css">
<link rel="stylesheet" href="//js.arcgis.com/4.4/esri/css/main.css">
<!-- Load any application specific styles -->
<link rel="stylesheet" href="css/boilerplate.css">
</head>
<body class="boilerplate--loading custom-theme">
<div class="boilerplate-loading-indicator">
<div class="boilerplate-loading-message" id="loading_message"></div>
</div>
<div id="viewDiv" class="boilerplate-view">
<div class="panel modifier-class panel-no-border panel-no-padding" id="sidebar">
<div class="panel-header">
<div>
<span class="title" id="title"></span>
<span class="logo" id="logo"></span>
</div>
<div id=class="subtitle"></div>
</div>
<div class="panel-contents">
<div id="searchContainer" role="search" class="searching"></div>
<div id="detailsContainer" class="details"></div>
</div>
</div>
</div>
<script type="text/javascript" src="js/dojoConfig.js"></script>
<script type="text/javascript" src="//js.arcgis.com/4.4/"></script>
<script type="text/javascript">
require([
"boilerplate",
"dojo/text!config/config.json",
"dojo/text!boilerplate/settings.json",
"application"
], function (
Boilerplate,
configSettings,
boilerplateSettings,
app
) {
// This is an example template app. It uses the boilerplateResponse returned to create a webmap, webscene or show group info.
// You can edit the logic directly in the app.js file or you can just follow the pattern to create your own myApp.js class.
// NOTE: We recommend creating your own myApp.js class as it will be easier to merge future Boilerplate updates.
var exampleApp = new app();
// The Boilerplate uses the config and boilterplate JSON settings, and the URL parameters to fetch and create items from
// ArcGIS.com or your portal. The boilerplateResponse returned contains item, webmap, webscene and/or group info.
// NOTE: You shouldn't need to edit the Boilerplate code, but you will need to edit the JSON settings files.
new Boilerplate(JSON.parse(configSettings), JSON.parse(boilerplateSettings)).then(function (
boilerplateResponse) {
exampleApp.init(boilerplateResponse);
});
});
</script>
</body>
</html>