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

顯示源代碼
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>                                                                                                                                                                                                                                                                                                                                                
主站蜘蛛池模板: 日本老妇成熟 | 日韩高清一区二区 | 激情亚洲 | 天天躁夜夜躁很很躁 | 精品国产福利在线观看一区 | 大吊小说| 国产欧美日韩在线观看精品 | 久久久久国产一级毛片高清片 | 喘息揉弄1v1h老师 | 亚洲天堂伦理 | 国产精品久久亚洲一区二区 | 国产原创一区二区 | 涩情主播在线翻车 | 热99精品在线 | 热99在线观看 | 亚洲阿v天堂在线2017 | 欧洲肥女大肥臀tv | 九九成人免费视频 | av72成人| 91麻豆精品国产自产在线观看 | 美国艳星lisann成人作品 | 91久久偷偷做嫩草影院免费 | 日本一区二区视频在线 | 红色一片在线影视 | 91对白在线 | 白丝爆动漫羞羞动漫软件 | 国产欧美成人免费观看 | 国产成人盗拍精品免费视频 | 91精品国产综合久久福利 | 91寡妇天天综合久久影院 | 好吊色网站 | 久久九九有精品国产23百花影院 | 小草观看免费高清视频 | 免费精品国产 | 白丝爆动漫羞羞动漫网站 | 非洲黑人bbwbbwbbw | 偷偷狠狠的日日高清完整视频 | 五月天黄网 | 欧美黑人性 | 日本高清视频一区二区 | 99精彩视频 |