/*
|
* @Description:
|
* @Author: 王旭
|
* @Date: 2022-03-07 16:33:11
|
* @LastEditTime: 2023-07-17 13:58:06
|
* @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
|
*/
|
const BASE_URL = "http://103.85.465.99:9012/";
|
|
//const BIM_PROPERTY_URL = "http://172.22.34.71:8080/cimserver/";
|
const BIM_PROPERTY_URL = "http://103.85.165.99:9001/cimserver/";
|
const BIM_LIST_URL = "http://103.85.165.99:9001/cimserver-ext/";
|
|
// const BIM_SERVICE_NAME = "bimcheng"
|
// const BIM_SERVICE_NAME = "bimtest"
|
const BIM_SERVICE_NAME = "hubtest";
|
|
//const LICENSE_URL = "https://cim.smartearth.cn/";
|
const LICENSE_URL = "http://192.168.2.159:8080/"
|
// const LICENSE_URL = "http://192.168.31.100:8082"//安宇轩本地
|
|
//开发环境
|
const BIM_SERVER_GET =
|
"http://192.168.2.159:8080/gisserver/bimserver/" + BIM_SERVICE_NAME + "/";
|
const BIM_MODEL_SERVICE_URL =
|
"http://192.168.2.159:8080/gisserver/bimserver/" + BIM_SERVICE_NAME + "/";
|
|
//生产环境
|
// const BIM_SERVER_GET = "https://cim.smartearth.cn/gisserver2/" + BIM_SERVICE_NAME + "/";
|
// const BIM_MODEL_SERVICE_URL ="https://cim.smartearth.cn/gisserver2/" + BIM_SERVICE_NAME + "/";
|
|
// const BIM_MODEL_SERVICE_URL = "http://192.168.31.100:8082/gisserver/bimserver/cpdd/";
|
// const BIM_MODEL_SERVICE_URL = "https://103.85.165.99:9017/";
|
// const BIM_MODEL_SERVICE_URL = "https://localhost:8085/";
|
|
const UEURL = "http://192.168.2.14:8084/";
|
// const UEURL = "http://192.168.31.179:8084/";
|
|
const TRIANGLE_COUNT = 20000000;
|
const ONE_TRIANGLE_MAX_COUNT = 50000;
|
|
const CESIUM_3DTILES_PARAMS = {
|
dynamicScreenSpaceError: false,
|
dynamicScreenSpaceErrorDensity: 0.00278,
|
dynamicScreenSpaceErrorFactor: 4,
|
dynamicScreenSpaceErrorHeightFalloff: 0.25,
|
preloadWhenHidden: true,
|
cullRequestsWhileMoving: false,
|
maximumMemoryUsage: 2048,
|
backFaceCulling: true,
|
maximumScreenSpaceError: 32,
|
skipLevels: 2,
|
skipLevelOfDetail: false,
|
preferLeaves: true,
|
immediatelyLoadDesiredLevelOfDetail: true,
|
};
|
|
//const APP_NAME = "城市信息模型(CIM)基础平台";
|
const APP_NAME = "CIM基础平台";
|
//const APP_NAME = "城市数字孪生底座";
|
//const APP_NAME = "CIM HUB";
|
|
//默认初始化视角
|
const SET_DEFAULT_CAMERA = true; //是否设定初始视角,false不设定定位全球
|
//const DEFAULT_CAMERA_POINT = "114.34201240539551,22.70984778456524,8000,0.0,-80.0,0.0";//坪山视角
|
//const DEFAULT_CAMERA_POINT = "120.9052479,30.8246174,250,0.0,-20.0,0.0";//嘉善视角
|
const DEFAULT_CAMERA_POINT =
|
"108.29365162742559,22.032640632898012,18987189.61781936,0.0,-90.0,0.0"; //全球中国上空
|
// const DEFAULT_CAMERA_POINT ="108.83327664220903, 34.131118460624755, 794.0869809726789, 3.383341663387913, -0.571027635586506, 4.859675382107298";
|
//配置加载图层
|
//const LAYER_CONFIG_PATH = "./config/layers3m.json";
|
//const LAYER_CONFIG_PATH = "./config/layersw.json";
|
const LAYER_CONFIG_PATH = "./config/layers_xian_fj.json";
|