亚洲动漫在线观看-亚洲动漫第一页-亚洲丁香婷婷-亚洲丶国产丶欧美一区二区三区-亚洲第一综合网站-亚洲第一永久色

顯示源代碼
動態路徑飛行
 開發文檔
            <!DOCTYPE html>
<html lang="en">

<head>
    <!-- Use correct character set. -->
    <meta charset="utf-8">
    <!-- Tell IE to use the latest, best version. -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Make the application on mobile take up the full browser screen and disable user scaling. -->
    <meta name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <title>Hello World!</title>
    <link href='http://m.bjxdny.cn:9000/bigemap-gl.js/v1.1.0/Widgets/widgets.css' rel='stylesheet' />
    <script src='http://m.bjxdny.cn:9000/bigemap-gl.js/v1.1.0/bigemap-gl.js'></script>
    <style>
        html,
        body,
        #Container {
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
            overflow: hidden;
        }
    </style>
</head>

<body>
    <div id="credit"></div>
    <div id="Container">
    </div>
    <script>
        bmgl.Config.HTTP_URL = 'http://m.bjxdny.cn:9000';
        var viewer = new bmgl.Viewer('Container', { mapId: 'bigemap.arcgis-map', shouldAnimate: true });

        var czml = [{
            "id": "document",
            "name": "polygon",
            "version": "1.0",
            "clock": {
                "interval": "2012-08-04T16:00:00Z/2012-08-04T18:00:00Z",
                "currentTime": "2012-08-04T16:00:00Z",
                "multiplier": 10
            }
        }, {
            "id": "planeModel",
            "name": "Red box with black outline",
            "availability": "2012-08-04T16:00:00Z/2012-08-04T18:00:00Z",
            /*"position" : {
                "cartographicDegrees" : [-66.62557, 516.92809, 100.0]
            },*/
            "model": {
                "gltf": "/templates/glb/bmgl_Air.glb",
                "scale": 2.0,
                "minimumPixelSize": 128
            },
            "path": {
                "material": {
                    "solidColor": {
                        "color": {
                            "interval": "2012-08-04T16:00:00Z/2012-08-04T18:00:00Z",
                            "rgba": [255, 0, 0, 128]
                        }
                    }
                },
                "width": [{
                    "interval": "2012-08-04T16:00:00Z/2012-08-04T18:00:00Z",
                    "number": 3.0
                }],
                "show": [{
                    "interval": "2012-08-04T16:00:00Z/2012-08-04T18:00:00Z",
                    "boolean": true
                }]
            },
            "position": {
                "interpolationAlgorithm": "LAGRANGE",
                "interpolationDegree": 1,
                "epoch": "2012-08-04T16:00:00Z",
                "cartographicDegrees": [
                    0.0, 118.87841653400005, 30.95679870500004, 0.0,
                    10.0, 118.87826541800007, 30.95680770900003, 0.0,
                    20.0, 118.8774481050001, 30.956860625000047, 0.0,
                    30.0, 118.87660414600009, 30.956910105000077, 0.0,
                    40.0, 118.8759846580001, 30.95694296000005, 0.0,
                    50.0, 118.87542502500003, 30.956978761000073, 0.0,
                    60.0, 118.87473380100005, 30.957024103000037, 0.0

                ]
            }
        }];

        var dataSourcePromise;
        var i = 30.957024;
        var a = 60;
        setInterval(function () {
            i += 0.0001;
            a += 10;
            console.log(a);
            console.log(i);
            czml[1].position.cartographicDegrees.push(a, 118.8747338, i, 0);
            czml[0].clock.currentTime = viewer.clock.currentTime.toString();
            viewer.entities.removeAll();
            viewer.dataSources.add(bmgl.CzmlDataSource.load(czml)).then(function (ds) {
                var s = ds.entities.getById("planeModel");
                s.orientation = new bmgl.VelocityOrientationProperty(s.position);
            });;
        }, 1000);

        dataSourcePromise = bmgl.CzmlDataSource.load(czml);
        viewer.dataSources.add(dataSourcePromise).then(function (ds) {
            var s = ds.entities.getById("planeModel");
            s.orientation = new bmgl.VelocityOrientationProperty(s.position);
        });;
        viewer.zoomTo(dataSourcePromise);
    </script>
</body>

</html>                                                                                
主站蜘蛛池模板: 日本高清色视频www 日本高清免费观看 | 四虎影视4hu最新地址在线884 | 欧美精品久久久久久久免费观看 | 欧洲肥女大肥臀 | 菠萝视频在线完整版 | 男人女人日皮视频 | 国产精品热久久毛片 | 国产精品久久毛片蜜月 | 国产精品免费久久久久影院小说 | 国产传媒在线播放 | 午夜影院免费观看视频 | 日韩视频一区二区 | 国产一级在线观看视频 | 暖暖的免费观看高清视频韩国 | 亚洲欧美专区精品久久 | 2020最新版的ab片 | 8天堂资源在线官网 | 特级老女人淫片高清视频 | 亚洲天堂网站在线 | 扒开斗罗美女了的胸罩和内裤漫画 | 女人爽到喷水的视频免费 | 日韩一品在线播放视频一品免费 | 吃瓜视频在线观看 | 四虎4hu新地址入口 四虎1515h永久 | 男人的天堂久久 | 五月色天在线视频综合观看 | 俄罗斯女人与公拘i交酡 | 日本在线视频网址 | 亚洲 欧美 国产 综合 在线 | 亚洲一区二区福利视频 | 亚洲国产成人久久综合一区 | 婷婷色六月| 日本黄色影院 | 青草草在线 | 色小孩导航 | 美国大片成人性网 | 国产在线激情视频 | 日本一级不卡一二三区免费 | 乌克兰粉嫩摘花第一次 | 9 1 视频在线 | av魔镜收集号 |