-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
64 lines (60 loc) · 1.24 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
<!DOCTYPE html>
<html>
<head>
<title>OSMBuildings for ArcGIS JS 3.x</title>
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
<meta name='viewport' content='initial-scale=1.0 maximum-scale=1.0'>
<link rel="stylesheet" href="js/dijit/themes/nihilo/nihilo.css">
<link rel="stylesheet" href="js/esri/css/esri.css">
<style>
html, body, #map {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
body {
background-color: #FFF;
overflow: hidden;
}
#map-area {
position: absolute;
right: 0;
left: 0;
top: 0;
bottom: 0;
}
</style>
</head>
<body class="nihilo">
<div id="map-area"></div>
<script>
// set up your dojoConfig
var dojoConfig = {
baseUrl: './js',
deps: ['app/main'],
has: {
"esri-3x": true
},
packages: [
'app',
'dijit',
'dojo',
'dojox',
'dstore',
'dgrid',
'xstyle',
'put-selector',
'esri', {
name: 'moment',
location: 'moment',
main: 'moment'
},
{name:'osmb-so', location:'osmbuildings-smartorigin/dist'}
]
};
</script>
<!-- Can use Dojo loader directly -->
<script src="js/dojo/dojo.js"></script>
</body>
</html>