1
13693261870
2022-09-16 762f2fb45db004618ba099aa3c0bd89dba1eb843
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
 
        <!DOCTYPE html>
        <html xmlns="http://www.w3.org/1999/xhtml">
        
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <meta name="viewport"
                content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
            <title></title>
        
            <style>
                body,
                html {
                    height: 100%;
                }
        
                .cesium-viewer-animationContainer {
                    display: none;
                }
        
                #cesiumContainer {
                    width: 100%;
                    height: 100%;
                    background-color: #000000;
                    background-size: cover;
                }
            </style>
            <script type="text/javascript" src="http://18.1.1.231/ICSDK/ICSDK/dist/ThirdParty/jquery-2.0.3.js"></script>
            <script type="text/javascript" src="http://18.1.1.231/ICSDK/ICSDK/dist/ICSDK.js"></script>
        </head>
        
        <body style="margin: 0;overflow: hidden">
            <div id="cesiumContainer">
            </div>
            <div id="toolbar">
            </div>
            <script>
                $(function () {
                    var option={
                        url: "http://18.1.1.231/ICSDK/ICSDK/dist/ThirdParty/SmartEarth/Workers/image/earth.jpg"
                    };
                    ICSDK.Map3.init("cesiumContainer", {});
                    //添加AicGis在线影像地图
                    var dx = {
                        url: "http://71.3.251.104:8066/arcgis/rest/services/10011/MapServer",
                        enablePickFeatures: false
                    };
                    ICSDK.Map3.Creator.createArcGisImageryLayer("ARCGIS", dx, "0", 1, true, "");
                  
                })
                function add(layer){
                    var dx = {
                        url: layer,
                        enablePickFeatures: false
                    };
                    ICSDK.Map3.Creator.createArcGisImageryLayer("ARCGIS", dx, "0", 1, true, "");
                }
 
 
                function hide(id){
                    ICSDK.Map3.Project._sgworld.ProjectTree.setVisibility(id,false);
                }
                function show(id){
                    ICSDK.Map3.Project._sgworld.ProjectTree.setVisibility(id,true);
                }
            </script>
        </body>
        
        </html>