在线免费看污_亚洲视频在线免费观看_91精品国产电影_久久国产亚洲_久久四虎影院_亚洲欧美a_国产精品一区二区三

顯示源代碼
3D行政區(qū)域
 開發(fā)文檔
                                                    <!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), // 設(shè)置位置
            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>                                                                                                                                                                                                                                                                                                                                                
主站蜘蛛池模板: 国产成人a视频在线观看 | 亚洲综合在线观看视频 | 99国产热| 欧美在线视频免费看 | 午夜爱爱爱爱爽爽爽网站免费 | 国产精品国产国产aⅴ | 国产免费美女视频 | 欧美一区二区影院 | 中文字幕aⅴ在线视频 | 青娱乐极品视频在线 | 亚洲视频在线观 | 免费午夜影院 | 亚洲一区毛片 | 老子影院我不卡 | 日日碰日日操 | 天天色天天 | 久久99精品久久久久久三级 | 美女ppp| www.av视频在线 | 日韩污 | 国产第一区二区三区在线观看 | 成人中文字幕在线观看 | 人人澡人人澡人人 | 国产成人综合亚洲欧美在 | 91久久精一区二区三区大全 | 日韩在线视频不卡 | 青青草精品视频 | 欧美视频免费一区二区三区 | 久久精品国产亚洲a | 99久久久国产精品免费播放器 | 欧美日本在线视频 | 成人a毛片在线看免费全部播放 | 国产精品va在线观看一 | 欧洲一区二区三区 | 国产黄色在线网站 | 日本超黄视频 | 男女一进一出无遮挡黄 | 国产欧美在线观看不卡一 | 精品视频一区二区 | 国产亚洲精品国产 | 日本三级香港三级三级人!妇久 |