-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathesri.html
More file actions
51 lines (45 loc) · 1.16 KB
/
esri.html
File metadata and controls
51 lines (45 loc) · 1.16 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
<title>Get started with SceneView - Create a 3D map - 4.4</title>
<style>
html,
body,
#viewDiv {
padding: 0;
margin: 0;
height: 95%;
width: 100%;
}
</style>
<link rel="stylesheet" href="https://js.arcgis.com/4.4/esri/css/main.css">
<script src="https://js.arcgis.com/4.4/"></script>
<script>
require([
"esri/Map",
"esri/views/SceneView",
"dojo/domReady!"
], function(Map, SceneView) {
var map = new Map({
basemap: "streets",
ground: "world-elevation"
});
map.basemap="streets-navigation-vector";
var view = new SceneView({
container: "viewDiv",
map: map,
center: [114.353310, 30.531030],
scale: 50000000
});
});
</script>
</head>
<body>
<div id="viewDiv"></div>
<footer style="height=5%">
<p>直接放大,可以看到武大信部。网页加载较慢,请耐心等待。</p>
</footer>
</body>
</html>