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

顯示源代碼
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>                                                                                                                                                                                                                                                                                                                                                
主站蜘蛛池模板: 欧美日韩一本 | 天天成人 | 亚洲精品福利一区二区在线观看 | 俄罗斯海滩厕所偷窥 | 88av视频在线观看 | 狠狠婷婷综合缴情亚洲 | α级毛片 | 欧美a一片xxxx片与善交 | 美女用屁股把人吞进肚子 | 精品免费视在线视频观看 | 唯美清纯 自拍偷 | 亚洲欧美久久一区二区 | 亚洲第一免费播放区 | 鬼吹灯天星术在线高清观看 | 美女被视频网站看免费入口 | 国产在线成人精品 | 成年人免费在线视频 | 欧美国产日本精品一区二区三区 | 办公室的秘密在线观看 | 成人午夜视频一区二区国语 | 国产在线精品亚洲第一区香蕉 | 黄动漫车车好快的车车a | 国产精品福利一区二区亚瑟 | 好紧好爽的午夜寂寞视频 | 午夜勾魂曲 | 免费成人在线观看视频 | 九九九国产视频 | 日本在线视频免费观看 | 国产欧美日韩免费一区二区 | 大胸美女被c | 欧美一区精品 | 好 舒服 好 粗 好硬免费视频 | gogo人体模特啪啪季玥图片 | 欧美肥乳| 黑人女性猛交xxxxxⅹxx | 91九色国产porny | 嗯好爽视频 | 国产成人精品免费视频软件 | 五月色综合婷婷综合俺来也 | 四虎在线网址 | 欧美日韩免费一区二区在线观看 |