显示/隐藏地面高程

显示/隐藏地面高程

将map平面的ground:"world-elevation"进行三维显示

var map = new Map({

  basemap:"hybrid",

  ground:"world-elevation"

});

var view = new SceneView({

  container:"viewDiv",

  map:map,

  camera:{

    position:[7.654, 45.919, 5184],

    tilt:80

  }

})

view.when(function(){

  document.getElementById("elevationInput").addEventListener("change",update);

  function update(ev){

    map.ground.layers.forEach(function(layer){

      layer.visible = ev.target.checked;

    })

  }

})

上一篇:深度学习字体生成结果记录


下一篇:论文阅读《ActiveStereoNet:End-to-End Self-Supervised Learning for Active Stereo Systems》