高清在线一区二区_激情网在线观看_激情一区二区三区_精品中文一区_亚洲中字幕_亚洲天堂一区

顯示源代碼
3D行政區域
 開發文檔
                                                    <!DOCTYPE html>

<html>
<head>
    <meta charset='UTF-8'/>
    <meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no'/>
    <link  rel='stylesheet'/>
    <script src='http://ua.bigemap.com:30081/bmsdk/bigemap-gl.js/v1.1.0/bigemap-gl.js'></script>
    <style>
        body {
            margin: 0;
            padding: 0;
        }

        #container {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 100%;
        }
        .bmgl-widget-credits{display:none}
    </style>
    <title>part_test</title>
</head>
<body>
<div id='container'></div>

<script>
        bmgl.Config.HTTP_URL = 'http://ua.bigemap.com:30081/bmsdk/';
    var viewer = new bmgl.Viewer('container', {
        mapId:'bigemap.dc-satellite',
    });
    viewer.BMWidget.screenSpaceEventHandler.removeInputAction(bmgl.ScreenSpaceEventType.LEFT_CLICK);
    
    var promise = bmgl.GeoJsonDataSource.load('/Public/offline/chad/510000.geojson');
    promise.then(function(dataSource) {
        viewer.dataSources.add(dataSource);
        //Get the array of entities
        var entities = dataSource.entities.values;
        var colorHash = {};
        for (var i = 0; i < entities.length; i++) {
            //For each entity, create a random color based on the state name.
            //Some states have multiple entities, so we store the color in a
            //hash so that we use the same color for the entire state.
            var entity = entities[i];
            var name = entity.name;
            var color = colorHash[name];
            if (!color) {
                color = bmgl.Color.fromRandom({
                    alpha:1,
                });
                colorHash[name] = color;
            }
            //Set the polygon material to our random color.
            entity.polygon.material = color;
            //Remove the outlines.
            entity.polygon.outline = false;
            //Extrude the polygon based on the state's population.  Each entity
            //stores the properties for the GeoJSON feature it was created from
            //Since the population is a huge number, we divide by 50.
            entity.polygon.extrudedHeight = Math.floor(Math.random()*60000+10000);
        }
        viewer.camera.flyTo({
            destination: bmgl.Cartesian3.fromDegrees(98.435314, 19.960521, 1500000.0), // 設置位置
            orientation: {
              heading: bmgl.Math.toRadians(20.0), // 方向
              pitch: bmgl.Math.toRadians(-50.0),// 傾斜角度
              roll: bmgl.Math.toRadians(-20.0)
            }
        });
    }).otherwise(function(error){
        //Display any errrors encountered while loading.
        window.alert(error);
    });
</script>
</body>
</html>                                                                                                                                                                                                                                                                                                                                                
主站蜘蛛池模板: 成人毛毛片| 国产精品视频一区二区三区综合 | 成人毛毛片 | 56av国产精品久久久久久久 | 国产精品久久久久久久久久大牛 | 九九热在线视频观看 | 国产精品av久久久久久网址 | 一本色道久久99精品综合蜜臀 | 欧美男女爱爱视频 | xxxeexxx性国产 | 欧美成人一级 | 国产免费一区二区三区在线能观看 | 免费在线观看毛片 | 久久免费视频8 | 久久视频免费在线 | 久久精品中文字幕一区二区 | 中文字幕www.| 黄色网电影 | 一级黄色毛片播放 | 国产成人在线观看免费网站 | 少妇一级淫片免费看 | 国产精品午夜在线 | 一区二区三区无码高清视频 | 国产成人自拍视频在线 | 精品一区二区三区中文字幕老牛 | 嫩草影院在线观看网站成人 | 91网视频 | 在线看免费观看日本 | 欧美a在线观看 | 成人午夜一区 | 一级视频片 | 欧美成人一区二区三区电影 | 一区二区三区欧美视频 | 羞羞视频一区二区 | 九九热在线精品视频 | 久久久精品视频网站 | 国产在线观看91精品 | 免费一级在线视频 | 国产精品18久久久久久久 | 综合网天天色 | 色网免费观看 |