123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
-
- const BASE_IP = '192.168.119.192';
- const iserverConfig = {
- baseUrl: `http://${BASE_IP}:8090/iserver/`,
-
-
-
-
-
-
-
- };
- window.threeMapConfig = {
- initDestination: {
- x: 112.39415697775746,
- y: 34.91332337135989,
- z: 1557.5457612960613
- },
- initOrientation: {
- heading: 5.126025171871763,
- pitch: -0.41165893655816665,
- roll: 3.108624468950438e-14
- },
- mapConfig: {
- demUrl: iserverConfig.baseUrl + 'services/3D-local3DCache-DEM0304/rest/realspace/datas/DEM0304',
- isSct: true,
- defaultView: {
- destination: {
- x: 112.39415697775746,
- y: 34.91332337135989,
- z: 1557.5457612960613
- },
- orientation: {
- heading: 5.126025171871763,
- pitch: -0.41165893655816665,
- roll: 3.108624468950438e-14
- }
- },
-
- layers2D: [
- {
- id: 'yx',
- title: '天地图影像地图',
- epsg: 4326,
- show: true,
- minimumLevel: 0,
- maximumLevel: 18,
- type: 'TDT',
- url: [
- 'http://t{s}.tianditu.com/img_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=img&tileMatrixSet=w&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=15f7b01aababbb39ab568f4ba12ea21c',
- ],
- subdomains: ['0', '1', '2', '3', '4', '5', '6', '7'],
- },
-
-
-
-
-
-
-
-
-
-
- {
- id: 'sl',
- title: '天地矢量地图',
- epsg: 4326,
- type: 'TDT',
- show: false,
- minimumLevel: 0,
- maximumLevel: 18,
- url: [
- 'http://t{s}.tianditu.gov.cn/vec_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=vec&tileMatrixSet=w&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=15f7b01aababbb39ab568f4ba12ea21c',
- ],
- subdomains: ['0', '1', '2', '3', '4', '5', '6', '7'],
- },
- {
- id: 'satellite',
- title: "库区遥感影像",
- epsg: 4326,
- type: 'SUPER',
- show: false,
- minimumLevel: 0,
- maximumLevel: 18,
-
- url: iserverConfig.baseUrl + 'services/3D-local3DCache-DOMXLDKQ2022080d2m01/rest/realspace/datas/DOM_XLD_KQ_202208_0d2m_01',
- },
- {
- id: 'kq_hp_06',
- title: '库区航拍影像2024年6月',
- epsg: 4326,
- type: 'SUPER_3D',
- show: false,
- minimumLevel: 0,
- maximumLevel: 18,
- url: iserverConfig.baseUrl + 'services/DOM_XLDKQ_L2_202406_050cm_WGS84/rest/maps/小浪底库区202406期影像_WGS84',
- },
- {
- id: 'kq_hp_07',
- title: '库区航拍影像2024年7月',
- epsg: 4326,
- type: 'SUPER_3D',
- show: false,
- minimumLevel: 0,
- maximumLevel: 18,
- url: iserverConfig.baseUrl + 'services/DOM_XLDKQ_L2_202407_050cm_WGS84/rest/maps/小浪底库区202407期影像_WGS84',
- },
- ],
- layers3D: [
-
-
-
-
-
-
-
-
- {
- id: 'xldqxsy',
- url: iserverConfig.baseUrl + 'services/3D-XLDQXSY/rest/realspace',
- height: 0,
- flyTo: false,
- show: false,
- type: 'S3M',
- },
- {
- id: 'xxyqxsy',
- url: iserverConfig.baseUrl + 'services/3D-local3DCache-xxyqxsy/rest/realspace',
- height: 0,
- flyTo: false,
- show: false,
- type: 'S3M',
- },
- {
- id: 'XLD_CF_BIM',
- url: iserverConfig.baseUrl + 'services/3D-BIM_XLD_L2_DZCFDQSJ_202205/rest/realspace',
- height: 0,
- flyTo: true,
- show: false,
- type: 'S3M',
- },
-
- {
- id: 'DEM0304',
- url: iserverConfig.baseUrl + 'services/3D-BIM_XLD_L2_DZCFDQSJ_202205/rest/realspace',
- height: 0,
- flyTo: true,
- show: false,
- type: 'S3M',
- },
- ],
- asyncLayer3D: [
- ]
- },
-
- layerControl: [
- {
- title: "基础底图",
- key: "basic_map",
- children: [],
- disabled: true,
- isLeaf: false
- },
-
-
-
-
-
-
-
-
- {
- title: "倾斜摄影",
- key: "base_scene",
- children: [],
- disabled: true,
- isLeaf: false,
- uper:'basic_map',
- },
- {
- title: "库区航拍影像",
- key: "base_kq_hp",
- children: [],
- disabled: true,
- isLeaf: false,
- uper:'basic_map',
- },
- {
- title: "BIM模型",
- key: "bim_model",
- children: [],
- disabled: true,
- isLeaf: false,
- uper:'basic_map',
- },
- {
- title: "地形DEM",
- key: "DEM0304",
- isLeaf: true,
- uper: 'basic_map',
- fusionLayers: {
- model: 'DEM0304'
- },
- isEdit:false,
- },
-
-
-
-
-
-
-
-
-
-
- {
- title: "小浪底倾斜摄影",
- key: "xldqxsy",
- isLeaf: true,
- uper: 'base_scene',
- fusionLayers: {
- model: 'xldqxsy'
- },
- isEdit:false,
- },
- {
- title: "西霞院倾斜摄影",
- key: "xxyqxsy",
- isLeaf: true,
- uper: 'base_scene',
- fusionLayers: {
- model: 'xxyqxsy'
- },
- isEdit:false,
- },
- {
- title: "小浪底厂房BIM模型",
- key: "XLD_CF_BIM",
- isLeaf: true,
- uper: 'bim_model',
- fusionLayers: {
- model: 'XLD_CF_BIM'
- },
- isEdit:false,
- },
- {
- title: "西霞院厂房BIM模型(暂无)",
- key: "XXY_CF_BIM",
- isLeaf: true,
- uper: 'bim_model',
- fusionLayers: {
- model: 'XLD_CF_BIM'
- },
- isEdit:false,
- },
- {
- title: "库区遥感影像",
- key: "satellite",
- isLeaf: true,
- uper: 'basic_map',
- fusionLayers: {
- layer2d: ['satellite']
- },
- isEdit:false,
- },
- {
- title: "库区航拍影像202406",
- key: "kq_hp_06",
- isLeaf: true,
- uper: 'base_kq_hp',
- fusionLayers: {
- layer2d: ['kq_hp_06']
- },
- isEdit:false,
- },
- {
- title: "库区航拍影像202407",
- key: "kq_hp_07",
- isLeaf: true,
- uper: 'base_kq_hp',
- fusionLayers: {
- layer2d: ['kq_hp_07']
- },
- isEdit:false,
- },
- ],
-
- layerView: {
- qxsy1: {
- isFlyTo: true,
- viewExtent: {
- destination: {
- x: 112.39415697775746,
- y: 34.91332337135989,
- z: 1557.5457612960613
- },
- orientation: {
- heading: 5.126025171871763,
- pitch: -0.41165893655816665,
- roll: 3.108624468950438e-14
- }
- }
- },
- dem: {
- isFlyTo: true,
- viewExtent: {
- destination: {
- x: 112.39415697775746,
- y: 34.91332337135989,
- z: 1557.5457612960613
- },
- orientation: {
- heading: 5.126025171871763,
- pitch: -0.41165893655816665,
- roll: 3.108624468950438e-14
- }
- }
- },
- dam: {
- isFlyTo: true,
- viewExtent: {
- "destination": {
- "x": 112.5262240096781,
- "y": 34.863677273837936,
- "z": 1880.2777799562828
- },
- "orientation": {
- "heading": 0.06743990496026964,
- "pitch": -0.6999909887287021,
- "roll": 5.1514348342607263e-14
- }
- }
- }
- },
- };
|