config.json 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420
  1. {
  2. "map3d": {
  3. "scene": {
  4. "center": {
  5. "lat": 21.578797,
  6. "lng": 112.822017,
  7. "alt": 110947,
  8. "heading": 3,
  9. "pitch": -53
  10. },
  11. "scene3DOnly": false,
  12. "shadows": false,
  13. "removeDblClick": true,
  14. "sceneMode": 3,
  15. "showSun": true,
  16. "showMoon": true,
  17. "showSkyBox": false,
  18. "showSkyAtmosphere": true,
  19. "fog": false,
  20. "fxaa": true,
  21. "requestRenderMode": true,
  22. "globe": {
  23. "depthTestAgainstTerrain": false,
  24. "baseColor": "#546a53",
  25. "showGroundAtmosphere": true,
  26. "enableLighting": false
  27. },
  28. "cameraController": {
  29. "zoomFactor": 3.0,
  30. "minimumZoomDistance": 1,
  31. "maximumZoomDistance": 50000000,
  32. "enableRotate": true,
  33. "enableTranslate": true,
  34. "enableTilt": true,
  35. "enableZoom": true,
  36. "enableCollisionDetection": true,
  37. "minimumCollisionTerrainHeight": 15000
  38. }
  39. },
  40. "control": {
  41. "homeButton": false,
  42. "baseLayerPicker": false,
  43. "sceneModePicker": false,
  44. "vrButton": false,
  45. "fullscreenButton": false,
  46. "navigationHelpButton": false,
  47. "animation": false,
  48. "timeline": false,
  49. "infoBox": false,
  50. "geocoder": false,
  51. "selectionIndicator": false,
  52. "contextmenu": { "hasDefault": true },
  53. "mouseDownView": true,
  54. "zoom": { "insertIndex": 1 },
  55. "compass": false,
  56. "distanceLegend": { "left": "100px", "bottom": "2px" },
  57. "locationBar": {
  58. "fps": true,
  59. "crs": "CGCS2000_GK_Zone_3",
  60. "crsDecimal": 0,
  61. "template": "<div>经度:{lng}</div> <div>纬度:{lat}</div> "
  62. }
  63. },
  64. "templateValues": {
  65. "dataServer": "//data.mars3d.cn",
  66. "gltfServerUrl": "//data.mars3d.cn/gltf"
  67. },
  68. "terrain": {
  69. "url": "//data.mars3d.cn/terrain",
  70. "show": false
  71. },
  72. "basemaps": [
  73. { "id": 10, "name": "地图底图", "type": "group" },
  74. {
  75. "id": 2021,
  76. "pid": 10,
  77. "name": "天地图影像",
  78. "icon": "img/basemaps/tdt_img.png",
  79. "type": "group",
  80. "layers": [
  81. { "name": "底图", "type": "tdt", "layer": "img_d" },
  82. { "name": "注记", "type": "tdt", "layer": "vec_z" }
  83. ],
  84. "show": true
  85. },
  86. {
  87. "pid": 10,
  88. "name": "天地图电子",
  89. "icon": "img/basemaps/tdt_vec.png",
  90. "type": "group",
  91. "layers": [
  92. { "name": "底图", "type": "tdt", "layer": "vec_d" },
  93. { "name": "注记", "type": "tdt", "layer": "vec_z" }
  94. ]
  95. },
  96. {
  97. "pid": 10,
  98. "name": "高德影像",
  99. "type": "group",
  100. "icon": "img/basemaps/gaode_img.png",
  101. "layers": [
  102. { "name": "底图", "type": "gaode", "layer": "img_d" },
  103. { "name": "注记", "type": "gaode", "layer": "img_z" }
  104. ]
  105. },
  106. {
  107. "pid": 10,
  108. "name": "高德电子",
  109. "type": "gaode",
  110. "icon": "img/basemaps/gaode_vec.png",
  111. "layer": "vec"
  112. },
  113. {
  114. "pid": 10,
  115. "name": "百度影像",
  116. "type": "group",
  117. "icon": "img/basemaps/bd-img.png",
  118. "layers": [{ "name": "底图", "type": "baidu", "layer": "img_d" }],
  119. "show": false
  120. },
  121. {
  122. "pid": 10,
  123. "name": "百度电子",
  124. "icon": "img/basemaps/bd-vec.png",
  125. "type": "baidu",
  126. "layer": "vec",
  127. "show": false
  128. },
  129. {
  130. "pid": 10,
  131. "name": "腾讯影像",
  132. "icon": "img/basemaps/tencent_img.png",
  133. "type": "group",
  134. "layers": [
  135. { "name": "底图", "type": "tencent", "layer": "img_d" },
  136. { "name": "注记", "type": "tencent", "layer": "img_z" }
  137. ]
  138. },
  139. {
  140. "pid": 10,
  141. "name": "腾讯电子",
  142. "icon": "img/basemaps/tencent_vec.png",
  143. "type": "tencent",
  144. "layer": "vec"
  145. },
  146. {
  147. "pid": 10,
  148. "name": "ArcGIS影像",
  149. "icon": "img/basemaps/esriWorldImagery.png",
  150. "type": "xyz",
  151. "url": "https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
  152. "enablePickFeatures": false,
  153. "show": false
  154. },
  155. {
  156. "pid": 10,
  157. "name": "微软影像",
  158. "icon": "img/basemaps/bingAerial.png",
  159. "type": "bing",
  160. "layer": "Aerial"
  161. },
  162. {
  163. "pid": 10,
  164. "name": "OSM地图",
  165. "type": "xyz",
  166. "icon": "img/basemaps/osm.png",
  167. "url": "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
  168. "subdomains": "abc"
  169. },
  170. {
  171. "id": 2017,
  172. "pid": 10,
  173. "name": "暗色底图",
  174. "type": "gaode",
  175. "icon": "img/basemaps/blackMarble.png",
  176. "layer": "vec",
  177. "invertColor": true,
  178. "filterColor": "#4e70a6",
  179. "brightness": 0.6,
  180. "contrast": 1.8,
  181. "gamma": 0.3,
  182. "hue": 1,
  183. "saturation": 0
  184. },
  185. {
  186. "pid": 10,
  187. "name": "蓝色底图",
  188. "icon": "img/basemaps/bd-c-midnight.png",
  189. "type": "xyz",
  190. "url": "http://map.geoq.cn/arcgis/rest/services/ChinaOnlineStreetPurplishBlue/MapServer/tile/{z}/{y}/{x}",
  191. "chinaCRS": "GCJ02",
  192. "enablePickFeatures": false
  193. },
  194. {
  195. "pid": 10,
  196. "name": "黑色底图",
  197. "icon": "img/basemaps/bd-c-dark.png",
  198. "type": "tencent",
  199. "layer": "custom",
  200. "style": "4"
  201. },
  202. {
  203. "pid": 10,
  204. "name": "离线地图 (供参考)",
  205. "type": "group",
  206. "icon": "img/basemaps/google_img.png",
  207. "layers": [
  208. {
  209. "name": "全球",
  210. "type": "xyz",
  211. "url": "{dataServer}/tile/googleImg/{z}/{x}/{y}.jpg",
  212. "minimumLevel": 0,
  213. "maximumLevel": 9
  214. },
  215. {
  216. "name": "中国",
  217. "type": "xyz",
  218. "url": "{dataServer}/tile/googleImg/{z}/{x}/{y}.jpg",
  219. "minimumTerrainLevel": 10,
  220. "minimumLevel": 10,
  221. "maximumLevel": 12,
  222. "rectangle": {
  223. "xmin": 69.706929,
  224. "xmax": 136.560941,
  225. "ymin": 15.831038,
  226. "ymax": 52.558005
  227. }
  228. },
  229. {
  230. "name": "具体项目(如合肥)",
  231. "type": "xyz",
  232. "url": "{dataServer}/tile/googleImg/{z}/{x}/{y}.jpg",
  233. "minimumTerrainLevel": 12,
  234. "minimumLevel": 12,
  235. "maximumLevel": 18,
  236. "rectangle": {
  237. "xmin": 116.33236,
  238. "xmax": 118.183557,
  239. "ymin": 31.143784,
  240. "ymax": 32.565035
  241. }
  242. }
  243. ]
  244. },
  245. {
  246. "pid": 10,
  247. "name": "单张图片 (本地离线)",
  248. "icon": "img/basemaps/offline.png",
  249. "type": "image",
  250. "url": "//data.mars3d.cn/file/img/world/world.jpg"
  251. }
  252. ],
  253. "layers": [
  254. { "id": 50, "name": "辅助图层", "type": "group" },
  255. { "pid": 50, "type": "graticule", "name": "经纬网" },
  256. {
  257. "pid": 50,
  258. "name": "行政区划界线",
  259. "type": "tdt",
  260. "url": "https://t{s}.tianditu.gov.cn/DataServer?T=ibo_w&x={x}&y={y}&l={z}",
  261. "maximumLevel": 10,
  262. "mapSplit": false
  263. },
  264. {
  265. "pid": 50,
  266. "name": "高德实时路况",
  267. "type": "gaode",
  268. "layer": "time",
  269. "minimumTerrainLevel": 4,
  270. "minimumLevel": 4,
  271. "proxy": "//server.mars3d.cn/proxy/",
  272. "mapSplit": false
  273. },
  274. {
  275. "pid": 50,
  276. "name": "百度实时路况",
  277. "type": "baidu",
  278. "layer": "time",
  279. "mapSplit": false
  280. },
  281. { "id": 60, "name": "地形", "type": "group" },
  282. {
  283. "pid": 60,
  284. "type": "terrain",
  285. "name": "Cesium地形",
  286. "terrain": { "type": "ion" },
  287. "radio": true
  288. },
  289. {
  290. "pid": 60,
  291. "type": "terrain",
  292. "name": "Mars3D地形",
  293. "terrain": { "type": "xyz", "url": "{dataServer}/terrain" },
  294. "radio": true
  295. },
  296. {
  297. "pid": 60,
  298. "type": "terrain",
  299. "name": "ArcGIS地形",
  300. "terrain": {
  301. "type": "arcgis",
  302. "url": "https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer"
  303. },
  304. "radio": true
  305. },
  306. {
  307. "pid": 60,
  308. "type": "terrain",
  309. "name": "无地形",
  310. "terrain": { "type": "none" },
  311. "radio": true
  312. },
  313. { "id": 40, "name": "栅格数据", "type": "group" },
  314. { "id": 4020, "pid": 40, "name": "OGC WMS服务", "type": "group" },
  315. {
  316. "pid": 4020,
  317. "name": "教育设施点",
  318. "type": "wms",
  319. "url": "//server.mars3d.cn/geoserver/mars/wms",
  320. "layers": "mars:hfjy",
  321. "crs": "EPSG:4326",
  322. "parameters": { "transparent": "true", "format": "image/png" },
  323. "popup": "名称:{项目名称}<br />类型:{设施类型}<br />面积:{用地面积}亩<br />位置:{具体位置}",
  324. "mapSplit": false,
  325. "show": false,
  326. "flyTo": true
  327. },
  328. {
  329. "pid": 4020,
  330. "name": "道路线",
  331. "type": "wms",
  332. "url": "//server.mars3d.cn/geoserver/mars/wms",
  333. "layers": "mars:hfdl",
  334. "crs": "EPSG:4326",
  335. "parameters": { "transparent": "true", "format": "image/png" },
  336. "center": {
  337. "lat": 31.743214,
  338. "lng": 117.277097,
  339. "alt": 47197.7,
  340. "heading": 0.3,
  341. "pitch": -78.8
  342. },
  343. "popup": "all",
  344. "mapSplit": false,
  345. "show": false,
  346. "flyTo": true
  347. },
  348. {
  349. "pid": 4020,
  350. "name": "建筑物面",
  351. "type": "wms",
  352. "url": "//server.mars3d.cn/geoserver/mars/wms",
  353. "layers": "mars:hfjzw",
  354. "crs": "EPSG:4326",
  355. "parameters": { "transparent": "true", "format": "image/png" },
  356. "highlight": {
  357. "showTime": 5000,
  358. "fill": true,
  359. "color": "#2deaf7",
  360. "opacity": 0.6,
  361. "outline": true,
  362. "outlineWidth": 3,
  363. "outlineColor": "#e000d9",
  364. "outlineOpacity": 1.0,
  365. "clampToGround": true
  366. },
  367. "center": {
  368. "lat": 31.79513,
  369. "lng": 117.236172,
  370. "alt": 3784.6,
  371. "heading": 0.7,
  372. "pitch": -42.2
  373. },
  374. "popup": "all",
  375. "show": false,
  376. "flyTo": true
  377. },
  378. {
  379. "pid": 4020,
  380. "name": "规划面",
  381. "type": "wms",
  382. "url": "//server.mars3d.cn/geoserver/mars/wms",
  383. "layers": "mars:hfgh",
  384. "crs": "EPSG:4326",
  385. "parameters": { "transparent": "true", "format": "image/png" },
  386. "center": {
  387. "lat": 31.743214,
  388. "lng": 117.277097,
  389. "alt": 47197.7,
  390. "heading": 0.3,
  391. "pitch": -78.8
  392. },
  393. "popup": "all",
  394. "show": false,
  395. "flyTo": true
  396. },
  397. { "id": 4030, "pid": 40, "name": "ArcGIS 瓦片", "type": "group" },
  398. {
  399. "pid": 4030,
  400. "name": "合肥规划图",
  401. "type": "arcgis_cache",
  402. "url": "{dataServer}/arcgis_cache/hfgh/_alllayers/{z}/{y}/{x}.png",
  403. "minimumLevel": 1,
  404. "maximumLevel": 17,
  405. "minimumTerrainLevel": 1,
  406. "maximumTerrainLevel": 17,
  407. "rectangle": {
  408. "xmin": 116.846,
  409. "xmax": 117.642,
  410. "ymin": 31.533,
  411. "ymax": 32.185
  412. }
  413. },
  414. { "id": 4010, "pid": 40, "name": "ArcGIS Dynamic", "type": "group" },
  415. {
  416. "id": 401085,
  417. "pid": 4010,
  418. "type": "arcgis",
  419. "name": "主要道路",
  420. "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer",
  421. "layers": "24",
  422. "highlight": {
  423. "type": "polyline",
  424. "color": "#2deaf7",
  425. "width": 4,
  426. "clampToGround": true
  427. },
  428. "center": {
  429. "lat": 31.814176,
  430. "lng": 117.225362,
  431. "alt": 5105.3,
  432. "heading": 359.2,
  433. "pitch": -83.1
  434. },
  435. "popup": "all",
  436. "onWidget": "layer-picture-heatmap",
  437. "mapSplit": false
  438. },
  439. {
  440. "id": 401086,
  441. "pid": 4010,
  442. "type": "arcgis",
  443. "name": "建筑物",
  444. "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer",
  445. "layers": "35,36,37,39",
  446. "highlight": {
  447. "fill": true,
  448. "color": "#2deaf7",
  449. "opacity": 0.6,
  450. "outline": true,
  451. "outlineWidth": 3,
  452. "outlineColor": "#e000d9",
  453. "outlineOpacity": 1.0,
  454. "clampToGround": true
  455. },
  456. "center": {
  457. "lat": 31.816951,
  458. "lng": 117.22898,
  459. "alt": 2916.7,
  460. "heading": 0.3,
  461. "pitch": -78.8
  462. },
  463. "popup": "名称:{NAME}<br />层数:{floor}",
  464. "onWidget": "layer-picture-heatmap"
  465. },
  466. {
  467. "id": 401087,
  468. "pid": 4010,
  469. "type": "arcgis",
  470. "name": "规划",
  471. "url": "//server.mars3d.cn/arcgis/rest/services/mars/guihua/MapServer",
  472. "highlight": {
  473. "showTime": 5000,
  474. "fill": true,
  475. "color": "#2deaf7",
  476. "opacity": 0.6,
  477. "outline": true,
  478. "outlineWidth": 3,
  479. "outlineColor": "#e000d9",
  480. "outlineOpacity": 1.0,
  481. "clampToGround": true
  482. },
  483. "center": {
  484. "lat": 31.816951,
  485. "lng": 117.22898,
  486. "alt": 2916.7,
  487. "heading": 0.3,
  488. "pitch": -78.8
  489. },
  490. "popup": [
  491. { "field": "用地名称", "name": "名称" },
  492. { "field": "用地编号", "name": "编号" },
  493. { "field": "规划用地", "name": "规划" },
  494. {
  495. "type": "html",
  496. "html": "<div style='text-align: right;color: #ff0000;padding-right: 10px;'>数据仅供参考</div>"
  497. }
  498. ],
  499. "popupNoTitle": true,
  500. "onWidget": "layer-picture-guihua"
  501. },
  502. { "id": 30, "name": "矢量数据", "type": "group" },
  503. { "id": 3030, "pid": 30, "name": "GeoJSON数据", "type": "group" },
  504. {
  505. "id": 303011,
  506. "pid": 3030,
  507. "type": "geojson",
  508. "name": "平台标绘",
  509. "url": "{dataServer}/file/geojson/mars3d-draw.json",
  510. "popup": "{type}{name}",
  511. "show": false,
  512. "flyTo": true
  513. },
  514. {
  515. "pid": 3030,
  516. "type": "geojson",
  517. "name": "用地规划",
  518. "url": "{dataServer}/file/geojson/guihua.json",
  519. "symbol": {
  520. "styleOptions": {
  521. "opacity": 0.6,
  522. "color": "#0000FF",
  523. "width": 3,
  524. "clampToGround": true
  525. },
  526. "styleField": "类型",
  527. "styleFieldOptions": {
  528. "一类居住用地": { "color": "#FFDF7F" },
  529. "二类居住用地": { "color": "#FFFF00" },
  530. "社区服务用地": { "color": "#FF6A38" },
  531. "幼托用地": { "color": "#FF6A38" },
  532. "商住混合用地": { "color": "#FF850A" },
  533. "行政办公用地": { "color": "#FF00FF" },
  534. "文化设施用地": { "color": "#FF00FF" },
  535. "小学用地": { "color": "#FF7FFF" },
  536. "初中用地": { "color": "#FF7FFF" },
  537. "体育场用地": { "color": "#00A57C" },
  538. "医院用地": { "color": "#A5527C" },
  539. "社会福利用地": { "color": "#FF7F9F" },
  540. "商业用地": { "color": "#FF0000" },
  541. "商务用地": { "color": "#7F0000" },
  542. "营业网点用地": { "color": "#FF7F7F" },
  543. "一类工业用地": { "color": "#A57C52" },
  544. "社会停车场用地": { "color": "#C0C0C0" },
  545. "通信用地": { "color": "#007CA5" },
  546. "排水用地": { "color": "#00BFFF" },
  547. "公园绿地": { "color": "#00FF00" },
  548. "防护绿地": { "color": "#007F00" },
  549. "河流水域": { "color": "#7FFFFF" },
  550. "配建停车场": { "color": "#ffffff" },
  551. "道路用地": { "color": "#ffffff" }
  552. }
  553. },
  554. "popup": "{类型}",
  555. "show": false,
  556. "flyTo": true
  557. },
  558. {
  559. "pid": 3030,
  560. "type": "geojson",
  561. "name": "建筑物面",
  562. "url": "{dataServer}/file/geojson/buildings-demo.json",
  563. "symbol": {
  564. "styleOptions": {
  565. "color": "#0d3685",
  566. "outlineColor": "#0d3685",
  567. "opacity": 0.8
  568. }
  569. },
  570. "buildings": { "cloumn": "floors", "height": "flo_height" },
  571. "popup": "all",
  572. "flyTo": true
  573. },
  574. {
  575. "pid": 3030,
  576. "type": "geojson",
  577. "name": "安徽各市",
  578. "url": "{dataServer}/file/geojson/areas/340000_full.json",
  579. "symbol": {
  580. "type": "polygon",
  581. "styleOptions": {
  582. "materialType": "PolyGradient",
  583. "materialOptions": {
  584. "color": "rgb(15,176,255)",
  585. "opacity": 0.7,
  586. "alphaPower": 1.3
  587. },
  588. "label": {
  589. "text": "{name}",
  590. "opacity": 1,
  591. "font_size": 25,
  592. "color": "#ffffff",
  593. "outline": true,
  594. "outlineColor": "#000000",
  595. "outlineWidth": 3,
  596. "scaleByDistance": true,
  597. "scaleByDistance_far": 2743804,
  598. "scaleByDistance_farValue": 0.3,
  599. "scaleByDistance_near": 10000,
  600. "scaleByDistance_nearValue": 1,
  601. "distanceDisplayCondition": true,
  602. "distanceDisplayCondition_far": 2743804,
  603. "distanceDisplayCondition_near": 0
  604. }
  605. }
  606. },
  607. "popup": "{name}",
  608. "show": false,
  609. "flyTo": true
  610. },
  611. {
  612. "pid": 3030,
  613. "type": "geojson",
  614. "name": "中国省界",
  615. "url": "{dataServer}/file/geojson/areas/100000_full.json",
  616. "symbol": {
  617. "type": "polylineP",
  618. "styleOptions": {
  619. "color": "#ffffff",
  620. "width": 2,
  621. "opacity": 0.8,
  622. "label": {
  623. "text": "{name}",
  624. "position": "center",
  625. "font_size": 30,
  626. "color": "#ffffff",
  627. "outline": true,
  628. "outlineColor": "#000000",
  629. "scaleByDistance": true,
  630. "scaleByDistance_far": 60000000,
  631. "scaleByDistance_farValue": 0.2,
  632. "scaleByDistance_near": 1000000,
  633. "scaleByDistance_nearValue": 1,
  634. "distanceDisplayCondition": true,
  635. "distanceDisplayCondition_far": 12000000,
  636. "distanceDisplayCondition_near": 0
  637. }
  638. }
  639. },
  640. "show": false,
  641. "flyTo": true
  642. },
  643. {
  644. "pid": 3030,
  645. "type": "geojson",
  646. "name": "西藏垭口",
  647. "url": "{dataServer}/file/geojson/xizangyakou.json",
  648. "symbol": {
  649. "styleOptions": {
  650. "image": "img/marker/mark-red.png",
  651. "scaleByDistance": true,
  652. "scaleByDistance_far": 5000000,
  653. "scaleByDistance_farValue": 0.5,
  654. "scaleByDistance_near": 1000,
  655. "scaleByDistance_nearValue": 1,
  656. "verticalOrigin": 1,
  657. "horizontalOrigin": 0,
  658. "clampToGround": true,
  659. "label": {
  660. "text": "{NAME}",
  661. "font_size": 25,
  662. "color": "#ffff00",
  663. "font_family": "微软雅黑",
  664. "outline": true,
  665. "outlineColor": "#000000",
  666. "pixelOffsetY": -40,
  667. "scaleByDistance": true,
  668. "scaleByDistance_far": 1000000,
  669. "scaleByDistance_farValue": 0.5,
  670. "scaleByDistance_near": 1000,
  671. "scaleByDistance_nearValue": 1,
  672. "distanceDisplayCondition": true,
  673. "distanceDisplayCondition_far": 1000000,
  674. "distanceDisplayCondition_near": 0,
  675. "visibleDepth": true
  676. }
  677. }
  678. },
  679. "popup": [
  680. { "field": "NAME", "name": "名称" },
  681. {
  682. "type": "details",
  683. "callback": "showPopupDetails",
  684. "field": "图片",
  685. "className": "mars3d-popup-btn-custom"
  686. }
  687. ],
  688. "show": false,
  689. "flyTo": true
  690. },
  691. {
  692. "pid": 3030,
  693. "type": "geojson",
  694. "name": "体育设施点",
  695. "url": "{dataServer}/file/geojson/hfty-point.json",
  696. "symbol": {
  697. "styleOptions": {
  698. "image": "img/marker/mark-red.png",
  699. "scale": 1,
  700. "scaleByDistance": true,
  701. "scaleByDistance_far": 20000,
  702. "scaleByDistance_farValue": 0.5,
  703. "scaleByDistance_near": 1000,
  704. "scaleByDistance_nearValue": 1,
  705. "verticalOrigin": 1,
  706. "horizontalOrigin": 0,
  707. "clampToGround": true,
  708. "label": {
  709. "text": "{项目名称}",
  710. "font_size": 25,
  711. "color": "#ffffff",
  712. "outline": true,
  713. "outlineColor": "#000000",
  714. "pixelOffsetY": -25,
  715. "scaleByDistance": true,
  716. "scaleByDistance_far": 80000,
  717. "scaleByDistance_farValue": 0.5,
  718. "scaleByDistance_near": 1000,
  719. "scaleByDistance_nearValue": 1,
  720. "distanceDisplayCondition": true,
  721. "distanceDisplayCondition_far": 80000,
  722. "distanceDisplayCondition_near": 0
  723. }
  724. }
  725. },
  726. "popup": [
  727. { "field": "项目名称", "name": "项目名称" },
  728. { "field": "建设性质", "name": "建设性质" },
  729. { "field": "设施级别", "name": "设施级别" },
  730. { "field": "所属区县", "name": "所属区县" },
  731. { "field": "建筑内容及", "name": "建筑内容" },
  732. { "field": "新增用地(", "name": "新增用地" },
  733. { "field": "开工", "name": "开工" },
  734. { "field": "总投资(万", "name": "总投资" },
  735. { "field": "资金来源", "name": "资金来源" },
  736. { "field": "初步选址", "name": "初步选址" },
  737. { "field": "设施类型", "name": "设施类型" },
  738. { "field": "设施等级", "name": "设施等级" },
  739. { "field": "所在区县", "name": "所在区县" },
  740. { "field": "具体位置", "name": "具体位置" },
  741. { "field": "建设内容(", "name": "建设内容" },
  742. {
  743. "field": "用地面积(",
  744. "name": "用地面积",
  745. "format": "mars3d.MeasureUtil.formatArea"
  746. },
  747. { "field": "设施规模(", "name": "设施规模" },
  748. { "field": "举办者类型", "name": "举办者类型" },
  749. { "field": "开工时间", "name": "开工时间" },
  750. { "field": "总投资额(", "name": "总投资额", "unit": "亿元" },
  751. { "field": "项目推进主", "name": "项目推进主体" },
  752. { "field": "项目进度", "name": "项目进度" },
  753. { "field": "项目来源", "name": "项目来源" },
  754. { "field": "备注", "name": "备注" }
  755. ],
  756. "show": false,
  757. "flyTo": true
  758. },
  759. { "id": 3070, "pid": 30, "name": "GeoServer WFS", "type": "group" },
  760. {
  761. "pid": 3070,
  762. "type": "wfs",
  763. "name": "建筑物面",
  764. "url": "//server.mars3d.cn/geoserver/mars/ows",
  765. "layer": "mars:hfjzw",
  766. "parameters": { "maxFeatures": 500 },
  767. "minimumLevel": 15,
  768. "symbol": {
  769. "type": "polygonP",
  770. "styleOptions": { "color": "#00469c", "outline": false, "opacity": 1 }
  771. },
  772. "buildings": { "cloumn": "floor" },
  773. "center": {
  774. "lat": 31.818396,
  775. "lng": 117.229083,
  776. "alt": 2554.4,
  777. "heading": 359.2,
  778. "pitch": -83.1
  779. },
  780. "popup": "名称:{NAME}<br />层数:{floor}"
  781. },
  782. {
  783. "pid": 3070,
  784. "name": "教育设施点",
  785. "type": "wfs",
  786. "url": "//server.mars3d.cn/geoserver/mars/ows",
  787. "layer": "mars:hfjy",
  788. "parameters": { "maxFeatures": 500 },
  789. "minimumLevel": 13,
  790. "symbol": {
  791. "type": "billboardP",
  792. "styleOptions": {
  793. "image": "img/marker/mark-red.png",
  794. "scaleByDistance": true,
  795. "scaleByDistance_far": 20000,
  796. "scaleByDistance_farValue": 0.6,
  797. "scaleByDistance_near": 1000,
  798. "scaleByDistance_nearValue": 1,
  799. "clampToGround": true,
  800. "label": {
  801. "text": "{项目名称}",
  802. "font_size": 15,
  803. "color": "#ffffff",
  804. "outline": true,
  805. "outlineColor": "#000000",
  806. "pixelOffsetY": -30,
  807. "distanceDisplayCondition": true,
  808. "distanceDisplayCondition_far": 2000,
  809. "distanceDisplayCondition_near": 0
  810. }
  811. }
  812. },
  813. "center": {
  814. "lat": 31.812256,
  815. "lng": 117.229873,
  816. "alt": 4683.91,
  817. "heading": 357.4,
  818. "pitch": -65.4
  819. },
  820. "popup": "all"
  821. },
  822. { "id": 3010, "pid": 30, "name": "ArcGIS WFS", "type": "group" },
  823. {
  824. "pid": 3010,
  825. "type": "arcgis_wfs",
  826. "name": "兴趣点",
  827. "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer/1",
  828. "where": " 1=1 ",
  829. "minimumLevel": 15,
  830. "center": {
  831. "lat": 31.818396,
  832. "lng": 117.229083,
  833. "alt": 2554.4,
  834. "heading": 359.2,
  835. "pitch": -83.1
  836. },
  837. "symbol": {
  838. "type": "billboardP",
  839. "styleOptions": {
  840. "image": "img/marker/mark-blue.png",
  841. "scaleByDistance": true,
  842. "scaleByDistance_far": 20000,
  843. "scaleByDistance_farValue": 0.6,
  844. "scaleByDistance_near": 1000,
  845. "scaleByDistance_nearValue": 1,
  846. "clampToGround": true,
  847. "label": {
  848. "text": "{NAME}",
  849. "font_size": 15,
  850. "color": "#ffffff",
  851. "outline": true,
  852. "outlineColor": "#000000",
  853. "pixelOffsetY": -30,
  854. "distanceDisplayCondition": true,
  855. "distanceDisplayCondition_far": 3000,
  856. "distanceDisplayCondition_near": 0
  857. }
  858. },
  859. "styleField": "address",
  860. "styleFieldOptions": {
  861. "AB03": { "image": "img/marker/mark-red.png" },
  862. "A980": { "image": "img/marker/mark-blue.png" },
  863. "A900": { "image": "img/marker/mark-green.png" }
  864. }
  865. },
  866. "popup": "名称:{NAME}<br />地址:{address}",
  867. "show": false
  868. },
  869. {
  870. "pid": 3010,
  871. "type": "arcgis_wfs",
  872. "name": "道路",
  873. "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer/28",
  874. "minimumLevel": 14,
  875. "symbol": {
  876. "type": "polylineP",
  877. "styleOptions": {
  878. "color": "#3388ff",
  879. "width": 3,
  880. "clampToGround": true
  881. },
  882. "styleField": "NAME",
  883. "styleFieldOptions": {
  884. "祁门路": { "color": "#8744c0", "width": 3 },
  885. "东流路": { "color": "#f7ba2a", "width": 3 },
  886. "翡翠路": { "color": "#20a0ff", "width": 3 },
  887. "岳西路": { "color": "#50bfff", "width": 3 }
  888. }
  889. },
  890. "popup": "名称:{NAME}",
  891. "center": {
  892. "lat": 31.814176,
  893. "lng": 117.225362,
  894. "alt": 5105.3,
  895. "heading": 359.2,
  896. "pitch": -83.1
  897. }
  898. },
  899. {
  900. "pid": 3010,
  901. "type": "arcgis_wfs",
  902. "name": "建筑物面",
  903. "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer/37",
  904. "minimumLevel": 15,
  905. "symbol": {
  906. "styleOptions": {
  907. "color": "#0d3685",
  908. "outlineColor": "#0d3685",
  909. "opacity": 0.8
  910. }
  911. },
  912. "buildings": { "cloumn": "floor" },
  913. "debuggerTileInfo": false,
  914. "center": {
  915. "lat": 31.816951,
  916. "lng": 117.22898,
  917. "alt": 1916.7,
  918. "heading": 0.3,
  919. "pitch": -78.8
  920. },
  921. "popup": "名称:{NAME}<br />层数:{floor}"
  922. },
  923. { "id": 3060, "pid": 30, "name": "CZML数据", "type": "group" },
  924. {
  925. "id": 306010,
  926. "pid": 3060,
  927. "type": "czml",
  928. "name": "汽车",
  929. "url": "{dataServer}/file/czml/car.czml",
  930. "center": {
  931. "lat": 40.894745,
  932. "lng": 121.920252,
  933. "alt": 904,
  934. "heading": 64,
  935. "pitch": -67
  936. },
  937. "onWidget": "control-clock",
  938. "radio": true,
  939. "flyTo": true
  940. },
  941. {
  942. "id": 306011,
  943. "pid": 3060,
  944. "type": "czml",
  945. "name": "飞行编队",
  946. "url": "{dataServer}/file/czml/flight.czml",
  947. "popup": "all",
  948. "onWidget": "control-clock",
  949. "radio": true,
  950. "flyTo": true
  951. },
  952. {
  953. "id": 306012,
  954. "pid": 3060,
  955. "type": "czml",
  956. "name": "船舶编队",
  957. "url": "{dataServer}/file/czml/ship.czml",
  958. "popup": "all",
  959. "onWidget": "control-clock",
  960. "radio": true,
  961. "flyTo": true
  962. },
  963. { "id": 3050, "pid": 30, "name": "KML数据", "type": "group" },
  964. {
  965. "pid": 3050,
  966. "type": "kml",
  967. "name": "海上安全警告",
  968. "url": "{dataServer}/file/kml/NAVWARN.kmz",
  969. "popup": "all"
  970. },
  971. {
  972. "pid": 3050,
  973. "type": "kml",
  974. "name": "国境线",
  975. "url": "{dataServer}/file/kml/countryboundary.kml",
  976. "symbol": { "styleOptions": { "color": "#FED976", "width": 2 } }
  977. },
  978. {
  979. "pid": 3050,
  980. "type": "kml",
  981. "name": "省界线",
  982. "url": "{dataServer}/file/kml/province.kml",
  983. "symbol": { "styleOptions": { "color": "#00FF00", "width": 2 } }
  984. },
  985. { "id": 20, "name": "三维模型", "type": "group" },
  986. { "id": 2010, "pid": 20, "name": "gltf模型", "type": "group" },
  987. {
  988. "pid": 2010,
  989. "type": "graphic",
  990. "name": "风力发电机",
  991. "data": [
  992. {
  993. "type": "modelP",
  994. "position": [117.219071, 31.828783, 39.87],
  995. "style": {
  996. "url": "//data.mars3d.cn/gltf/mars/fengche.gltf",
  997. "scale": 50,
  998. "heading": -93
  999. }
  1000. }
  1001. ],
  1002. "popup": "示例信息,这是一个风力发电机",
  1003. "center": {
  1004. "lat": 31.821083,
  1005. "lng": 117.21832,
  1006. "alt": 832.64,
  1007. "heading": 2.3,
  1008. "pitch": -39.2
  1009. }
  1010. },
  1011. {
  1012. "pid": 2010,
  1013. "type": "graphic",
  1014. "name": "起重车",
  1015. "data": [
  1016. {
  1017. "type": "modelP",
  1018. "position": [117.217458, 31.815349, 35.03],
  1019. "style": {
  1020. "url": "//data.mars3d.cn/gltf/mars/qzcar/GKZY_anim.gltf",
  1021. "scale": 2,
  1022. "heading": -95,
  1023. "clampToGround": true
  1024. }
  1025. }
  1026. ],
  1027. "center": {
  1028. "lat": 31.815363,
  1029. "lng": 117.215958,
  1030. "alt": 107.35,
  1031. "heading": 90.7,
  1032. "pitch": -26.1
  1033. }
  1034. },
  1035. { "id": 2040, "pid": 20, "name": "城市白模", "type": "group" },
  1036. {
  1037. "id": 204011,
  1038. "pid": 2040,
  1039. "type": "3dtiles",
  1040. "name": "合肥市区",
  1041. "url": "{dataServer}/3dtiles/jzw-hefei/tileset.json",
  1042. "maximumScreenSpaceError": 1,
  1043. "maximumMemoryUsage": 1024,
  1044. "marsJzwStyle": true,
  1045. "highlight": { "type": "click", "color": "#FFFF00" },
  1046. "popup": [
  1047. { "field": "objectid", "name": "编号" },
  1048. { "field": "name", "name": "名称" },
  1049. { "field": "height", "name": "楼高", "unit": "米" }
  1050. ],
  1051. "center": {
  1052. "lat": 31.786281,
  1053. "lng": 117.223716,
  1054. "alt": 3718,
  1055. "heading": 2,
  1056. "pitch": -45
  1057. }
  1058. },
  1059. {
  1060. "id": 204012,
  1061. "pid": 2040,
  1062. "type": "3dtiles",
  1063. "name": "上海市区",
  1064. "url": "{dataServer}/3dtiles/jzw-shanghai/tileset.json",
  1065. "maximumScreenSpaceError": 4,
  1066. "maximumMemoryUsage": 1024,
  1067. "style": {
  1068. "color": {
  1069. "conditions": [
  1070. ["${floor} >= 200", "rgba(45, 0, 75, 0.5)"],
  1071. ["${floor} >= 100", "rgb(170, 162, 204)"],
  1072. ["${floor} >= 50", "rgb(224, 226, 238)"],
  1073. ["${floor} >= 25", "rgb(252, 230, 200)"],
  1074. ["${floor} >= 10", "rgb(248, 176, 87)"],
  1075. ["${floor} >= 5", "rgb(198, 106, 11)"],
  1076. ["true", "rgb(127, 59, 8)"]
  1077. ]
  1078. }
  1079. },
  1080. "highlight": { "type": "click", "color": "#FFFF00" },
  1081. "popup": [
  1082. { "field": "name", "name": "名称" },
  1083. { "field": "floor", "name": "楼层" }
  1084. ],
  1085. "center": {
  1086. "lat": 31.257341,
  1087. "lng": 121.466139,
  1088. "alt": 2170.8,
  1089. "heading": 122.2,
  1090. "pitch": -31.8
  1091. }
  1092. },
  1093. { "id": 2050, "pid": 20, "name": "点云", "type": "group" },
  1094. {
  1095. "id": 202016,
  1096. "pid": 2050,
  1097. "type": "3dtiles",
  1098. "name": "高压线塔杆",
  1099. "url": "//data.mars3d.cn/3dtiles/pnts-ganta/tileset.json",
  1100. "maximumScreenSpaceError": 1,
  1101. "position": { "alt": 31 },
  1102. "style": {
  1103. "color": {
  1104. "conditions": [
  1105. [
  1106. "(${Classification} >= 4) && (${Classification} < 5) ",
  1107. "color('#DC143C')"
  1108. ],
  1109. [
  1110. "(${Classification} >= 7) && (${Classification} < 8) ",
  1111. "color('#7B68EE')"
  1112. ],
  1113. [
  1114. "(${Classification} >= 16) && (${Classification} < 17) ",
  1115. "color('#00CED1')"
  1116. ],
  1117. [
  1118. "(${Classification} >= 17) && (${Classification} < 18) ",
  1119. "color('#3CB371')"
  1120. ],
  1121. [
  1122. "(${Classification} >= 18) && (${Classification} < 19) ",
  1123. "color('#FFFF00')"
  1124. ],
  1125. [
  1126. "(${Classification} >= 19) && (${Classification} < 20) ",
  1127. "color('#FFA500')"
  1128. ],
  1129. [
  1130. "(${Classification} >= 20) && (${Classification} < 21) ",
  1131. "color('#FF6347')"
  1132. ]
  1133. ]
  1134. }
  1135. },
  1136. "hasOpacity": false,
  1137. "center": {
  1138. "lat": 31.504746,
  1139. "lng": 118.264278,
  1140. "alt": 580,
  1141. "heading": 29,
  1142. "pitch": -49
  1143. }
  1144. },
  1145. { "id": 2060, "pid": 20, "name": "BIM模型", "type": "group" },
  1146. {
  1147. "id": 20601121,
  1148. "pid": 2060,
  1149. "type": "3dtiles",
  1150. "name": "大学教学楼",
  1151. "url": "{dataServer}/3dtiles/bim-daxue/tileset.json",
  1152. "position": { "lng": 117.251229, "lat": 31.844015, "alt": 31.2 },
  1153. "highlight": { "type": "click", "color": "#FFFF00" },
  1154. "popup": "all",
  1155. "scenetree": "scenetree.json",
  1156. "center": {
  1157. "lat": 31.842516,
  1158. "lng": 117.25107,
  1159. "alt": 145,
  1160. "heading": 8,
  1161. "pitch": -39
  1162. }
  1163. },
  1164. {
  1165. "pid": 2060,
  1166. "type": "3dtiles",
  1167. "name": "轻轨地铁站",
  1168. "url": "{dataServer}/3dtiles/bim-ditiezhan/tileset.json",
  1169. "position": { "lng": 117.203994, "lat": 31.857999, "alt": 28.9 },
  1170. "rotation": { "z": 168.1 },
  1171. "highlight": { "type": "click", "color": "#00FF00" },
  1172. "popup": "all",
  1173. "scenetree": "scenetree.json",
  1174. "center": {
  1175. "lat": 31.856125,
  1176. "lng": 117.204513,
  1177. "alt": 155,
  1178. "heading": 350,
  1179. "pitch": -31
  1180. }
  1181. },
  1182. {
  1183. "id": 206012,
  1184. "pid": 2060,
  1185. "type": "3dtiles",
  1186. "name": "桥梁",
  1187. "url": "{dataServer}/3dtiles/bim-qiaoliang/tileset.json",
  1188. "position": { "lng": 117.096906, "lat": 31.851564, "alt": 45 },
  1189. "rotation": { "z": 17.5 },
  1190. "maximumScreenSpaceError": 16,
  1191. "maximumMemoryUsage": 1024,
  1192. "skipLevelOfDetail": true,
  1193. "loadSiblings": true,
  1194. "cullRequestsWhileMoving": true,
  1195. "cullRequestsWhileMovingMultiplier": 10,
  1196. "preferLeaves": true,
  1197. "progressiveResolutionHeightFraction": 0.5,
  1198. "dynamicScreenSpaceError": true,
  1199. "preloadWhenHidden": true,
  1200. "center": {
  1201. "lat": 31.849357,
  1202. "lng": 117.099194,
  1203. "alt": 306.2,
  1204. "heading": 327.1,
  1205. "pitch": -30.9
  1206. },
  1207. "scenetree": "scenetree.json",
  1208. "highlight": { "type": "click", "color": "#00FF00" },
  1209. "popup": "all"
  1210. },
  1211. { "id": 2020, "pid": 20, "name": "人工建模", "type": "group" },
  1212. {
  1213. "id": 202013,
  1214. "pid": 2020,
  1215. "type": "3dtiles",
  1216. "name": "地下管网",
  1217. "url": "{dataServer}/3dtiles/max-piping/tileset.json",
  1218. "position": { "lng": 117.215457, "lat": 31.843363, "alt": -3.6 },
  1219. "rotation": { "z": 336.7 },
  1220. "maximumScreenSpaceError": 2,
  1221. "maximumMemoryUsage": 1024,
  1222. "highlight": { "type": "click", "color": "#00FF00" },
  1223. "popup": "all",
  1224. "center": {
  1225. "lat": 31.838821,
  1226. "lng": 117.216402,
  1227. "alt": 461,
  1228. "heading": 0,
  1229. "pitch": -46
  1230. },
  1231. "msg": "演示数据,地下数据拖动时会在地面漂移"
  1232. },
  1233. {
  1234. "id": 202012,
  1235. "pid": 2020,
  1236. "type": "3dtiles",
  1237. "name": "石化工厂",
  1238. "url": "{dataServer}/3dtiles/max-shihua/tileset.json",
  1239. "position": { "lng": 117.077158, "lat": 31.659116, "alt": 24.6 },
  1240. "maximumScreenSpaceError": 1,
  1241. "maximumMemoryUsage": 1024,
  1242. "highlight": { "type": "click", "color": "#00FF00" },
  1243. "popup": "all",
  1244. "scenetree": "scenetree.json",
  1245. "center": {
  1246. "lat": 31.654916,
  1247. "lng": 117.08278,
  1248. "alt": 279,
  1249. "heading": 316,
  1250. "pitch": -29
  1251. }
  1252. },
  1253. {
  1254. "id": 202030,
  1255. "pid": 2020,
  1256. "name": "水利闸门",
  1257. "type": "group",
  1258. "center": {
  1259. "lat": 29.794301,
  1260. "lng": 121.47998,
  1261. "alt": 262,
  1262. "heading": 191,
  1263. "pitch": -35
  1264. }
  1265. },
  1266. {
  1267. "pid": 202030,
  1268. "name": "闸门",
  1269. "type": "graphic",
  1270. "data": [
  1271. {
  1272. "type": "modelP",
  1273. "position": [121.479813, 29.791278, 16],
  1274. "style": {
  1275. "url": "//data.mars3d.cn/gltf/mars/zhamen.glb",
  1276. "heading": 105
  1277. }
  1278. }
  1279. ],
  1280. "center": {
  1281. "lat": 29.791607,
  1282. "lng": 121.479925,
  1283. "alt": 27,
  1284. "heading": 198,
  1285. "pitch": -18
  1286. }
  1287. },
  1288. {
  1289. "id": 202011,
  1290. "pid": 202030,
  1291. "type": "3dtiles",
  1292. "name": "整体",
  1293. "url": "{dataServer}/3dtiles/max-fsdzm/tileset.json",
  1294. "position": { "alt": 15.2 },
  1295. "maximumScreenSpaceError": 1,
  1296. "maximumMemoryUsage": 1024,
  1297. "center": {
  1298. "lat": 29.792675,
  1299. "lng": 121.480207,
  1300. "alt": 190.8,
  1301. "heading": 196.1,
  1302. "pitch": -49
  1303. }
  1304. },
  1305. { "id": 2030, "pid": 20, "name": "倾斜摄影", "type": "group" },
  1306. {
  1307. "id": 203014,
  1308. "pid": 2030,
  1309. "type": "3dtiles",
  1310. "name": "县城社区",
  1311. "url": "{dataServer}/3dtiles/qx-shequ/tileset.json",
  1312. "position": { "alt": 11.5 },
  1313. "maximumScreenSpaceError": 2,
  1314. "maximumMemoryUsage": 2048,
  1315. "dynamicScreenSpaceError": true,
  1316. "cullWithChildrenBounds": false,
  1317. "center": {
  1318. "lat": 28.440864,
  1319. "lng": 119.486477,
  1320. "alt": 588.23,
  1321. "heading": 268.6,
  1322. "pitch": -37.8
  1323. },
  1324. "show": false,
  1325. "flyTo": false
  1326. },
  1327. {
  1328. "id": 203015,
  1329. "pid": 2030,
  1330. "name": "合肥天鹅湖",
  1331. "type": "3dtiles",
  1332. "url": "{dataServer}/3dtiles/qx-teh/tileset.json",
  1333. "position": { "lng": 117.218434, "lat": 31.81807, "alt": 163 },
  1334. "maximumScreenSpaceError": 16,
  1335. "maximumMemoryUsage": 1024,
  1336. "dynamicScreenSpaceError": true,
  1337. "cullWithChildrenBounds": false,
  1338. "skipLevelOfDetail": true,
  1339. "preferLeaves": true,
  1340. "center": {
  1341. "lat": 31.795308,
  1342. "lng": 117.21948,
  1343. "alt": 1820,
  1344. "heading": 0,
  1345. "pitch": -39
  1346. }
  1347. },
  1348. {
  1349. "pid": 2030,
  1350. "type": "3dtiles",
  1351. "name": "大雁塔",
  1352. "url": "{dataServer}/3dtiles/qx-dyt/tileset.json",
  1353. "position": { "alt": -27 },
  1354. "maximumScreenSpaceError": 1,
  1355. "maximumMemoryUsage": 1024,
  1356. "center": {
  1357. "lat": 34.215516,
  1358. "lng": 108.960251,
  1359. "alt": 834,
  1360. "heading": 4,
  1361. "pitch": -48
  1362. },
  1363. "flat": {},
  1364. "flyTo": false,
  1365. "show": false
  1366. },
  1367. {
  1368. "id": 203013,
  1369. "pid": 2030,
  1370. "type": "geojson",
  1371. "name": "文庙-单体化",
  1372. "url": " {dataServer}/file/geojson/dth-wm.json",
  1373. "symbol": {
  1374. "type": "polygonP",
  1375. "styleOptions": {
  1376. "color": "rgba(255, 255, 255, 0.01)",
  1377. "clampToGround": true,
  1378. "classification": true,
  1379. "buffer": 1,
  1380. "highlight": {
  1381. "color": "rgba(255,255,0,0.5)"
  1382. }
  1383. }
  1384. },
  1385. "popup": [
  1386. { "field": "name", "name": "房屋名称" },
  1387. { "field": "jznf", "name": "建造年份" },
  1388. { "field": "ssdw", "name": "所属单位" },
  1389. { "field": "remark", "name": "备注信息" }
  1390. ]
  1391. },
  1392. {
  1393. "id": 203012,
  1394. "pid": 2030,
  1395. "type": "3dtiles",
  1396. "name": "文庙",
  1397. "url": "{dataServer}/3dtiles/qx-simiao/tileset.json",
  1398. "position": { "alt": 80.6 },
  1399. "maximumScreenSpaceError": 2,
  1400. "maximumMemoryUsage": 2048,
  1401. "dynamicScreenSpaceError": true,
  1402. "cullWithChildrenBounds": false,
  1403. "skipLevelOfDetail": true,
  1404. "preferLeaves": true,
  1405. "center": {
  1406. "lat": 33.589536,
  1407. "lng": 119.032216,
  1408. "alt": 145.08,
  1409. "heading": 3.1,
  1410. "pitch": -22.9
  1411. }
  1412. },
  1413. { "id": 99, "name": "数据图层", "type": "group" }
  1414. ]
  1415. }
  1416. }