|
@@ -20,15 +20,18 @@ let map = new DGE.Map('container', {
|
|
|
let tileset=map.data.threeDTiles.load({
|
|
|
url:"https://testgis.4dage.com/liangqichaoshuju/tileset.json",
|
|
|
height:10,
|
|
|
+ maximumScreenSpaceError:40
|
|
|
});
|
|
|
|
|
|
let tileset1=map.data.threeDTiles.load({
|
|
|
url:"https://testgis.4dage.com/liangqichaoguju3dtilesbufen/tileset.json",
|
|
|
height:10,
|
|
|
+ maximumScreenSpaceError:40
|
|
|
});
|
|
|
let tileset2=map.data.threeDTiles.load({
|
|
|
url:"https://testgis.4dage.com/liangqichaoloutibufen/tileset.json",
|
|
|
height:10,
|
|
|
+ maximumScreenSpaceError:40
|
|
|
});
|
|
|
|
|
|
map.viewer.camera.setView({
|
|
@@ -160,7 +163,6 @@ function addStr(str){
|
|
|
* @param {*} txtdiv 字符串要展示的div
|
|
|
*/
|
|
|
function setFont(str,txtdiv){
|
|
|
-
|
|
|
let count =parseInt(30/400*window.innerWidth)-4;
|
|
|
let strCount=str.length;
|
|
|
let rows=Math.ceil(strCount/count);
|