forked from Crisismap/winnie-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
31 lines (30 loc) · 1.01 KB
/
demo.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>winnie build demo</title>
<script src="http://kosmosnimki.ru/lib/geomixer/geomixer-src.js" charset="utf-8"></script>
<link rel="stylesheet" href="http://kosmosnimki.ru/lib/geomixer/geomixer.css" charset="utf-8">
<script src="dist/winnie.js" charset="utf-8"></script>
<link rel="stylesheet" href="dist/winnie.css" charset="utf-8">
</head>
<body>
<script>
var cm = nsGmx.createGmxApplication(document.body, {
app: {
gmxMap: {
mapID: '37TYY',
apiKey: 'W4IH6K7CJ4'
},
layersTreeWidget: true,
storytellingWidget: true
}
})
cm.create().then(function () {
console.log('ready')
}, function () {
console.log(arguments);
})
</script>
</body>
</html>