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

顯示源代碼
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>                                                                                                                                                                                                                                                                                                                                                
主站蜘蛛池模板: 北条麻妃一区 | 99久久99热久久精品免 | 小舞同人18av黄漫网站 | 好湿好紧太硬了我太爽了h 好湿好滑好硬好爽好深视频 | 国语自产自拍秒拍在线视频 | 国产高清在线播放免费观看 | 魔法满屋免费观看完整版中文 | 日韩精品成人a在线观看 | 欧美日韩国产在线一区 | 免费高清观看 | 日韩有码 | 成人综合久久综合 | 女毛片 | 福利一区三区 | 93版高校教师 | 成人国产在线视频 | 国产成人免费高清激情明星 | 欧美日韩国产一区二区三区伦 | 欧美草逼视频 | 91东航翘臀女神在线播放 | 日本精品一区二区在线播放 | 欧美成人中文字幕 | 人性本色| 和直男装修工在工地啪 | h网站国产 | 国产精品探花一区在线观看 | 韩剧消失的眼角膜免费完整版 | 日韩免费观看成第15集 | 黑帮少爷爱上我第8集在线观看 | 成人网18免费网 | 国产高清小视频 | 无限在线看免费视频大全 | 爱情岛论坛亚洲永久入口口 | 日本在线观看www免费 | 公翁的舌尖研磨她的花蒂小说 | 天天黄视频 | 国产欧美精品 | 黄篇网站在线观看 | 日本偷拍xxxxxxww | se综合| 免费一级欧美片片线观看 |