mapConfig.js 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. window.mapConfig = {
  2. // center: {
  3. // x: 94.98257421055244,
  4. // y: 29.612744429598017,
  5. // z: 227165.17294726646,
  6. // },
  7. // animation: true,
  8. // demUrl:
  9. // 'http://221.182.8.141:8090/iserver/services/3D-gk/rest/realspace/datas/%E6%9E%97%E8%8A%9D%E9%AB%98%E7%A8%8B_1%402',
  10. // isSct: true,
  11. demUrl: true,
  12. layers2D: [
  13. {
  14. id: 'tdtjb',
  15. title: '高德影像图',
  16. epsg: 4326,
  17. type: 'SUPER',
  18. show: true,
  19. minimumLevel: 0,
  20. maximumLevel: 18,
  21. url: [
  22. 'http://221.182.8.141:8090/iserver/services/map-linzhi/rest/maps/chinamap/',
  23. // 'http://221.182.8.141:8090/iserver/services/map-smtiles-L15/rest/maps/L15/'
  24. ],
  25. },
  26. {
  27. id: 'kjyj',
  28. title: '高德影像图',
  29. show: false,
  30. url: ['./static/img/kjyj.png'],
  31. },
  32. {
  33. id: 'dzdmhx',
  34. title: '地质地貌红线',
  35. epsg: 4326,
  36. type: 'SUPER',
  37. show: false,
  38. url: ['http://221.182.8.141:8090/iserver/services/map-dzdmhx/rest/maps/dzdmhx/'],
  39. },
  40. {
  41. id: 'bmbxtqy',
  42. title: '白马变形体区域',
  43. epsg: 4326,
  44. type: 'SUPER',
  45. show: true,
  46. url: ['http://221.182.8.141:8090/iserver/services/map-bmbxtqy/rest/maps/bmbxtqy/'],
  47. },
  48. // {
  49. // id: "xzqh",
  50. // title: "行政区划",
  51. // epsg: 4326,
  52. // type: "SUPER",
  53. // show: true,
  54. // url: [
  55. // "http://221.182.8.141:8090/iserver/services/map-linzhi/rest/maps/QH/",
  56. // ],
  57. // },
  58. {
  59. id: 'hl',
  60. title: '河流',
  61. epsg: 4326,
  62. type: 'SUPER',
  63. show: true,
  64. url: ['http://221.182.8.141:8090/iserver/services/map-linzhi/rest/maps/HL/'],
  65. },
  66. {
  67. id: 'tl',
  68. title: '铁路',
  69. epsg: 4326,
  70. type: 'SUPER',
  71. show: true,
  72. url: ['http://221.182.8.141:8090/iserver/services/map-linzhi/rest/maps/TL/'],
  73. },
  74. {
  75. id: 'zdzm',
  76. title: '地质地貌',
  77. epsg: 4326,
  78. type: 'SUPER',
  79. show: false,
  80. url: ['http://221.182.8.141:8090/iserver/services/map-dzdm/rest/maps/dzdm/'],
  81. },
  82. {
  83. id: 'gdlw',
  84. title: '高德路网',
  85. epsg: 4326,
  86. show: false,
  87. url: [
  88. 'http://webst02.is.autonavi.com/appmaptile?x={TileCol}&y={TileRow}&z={TileMatrix}&lang=zh_cn&size=1&scale=1&style=8',
  89. ],
  90. },
  91. {
  92. id: 'gdyx',
  93. title: '高德影像图',
  94. epsg: 4326,
  95. show: false,
  96. url: 'https://webst02.is.autonavi.com/appmaptile?style=6&x={TileCol}&y={TileRow}&z={TileMatrix}',
  97. },
  98. {
  99. id: 'gdsl',
  100. title: '高德矢量图',
  101. show: false,
  102. epsg: 4326,
  103. url: [
  104. 'http://webrd02.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={TileCol}&y={TileRow}&z={TileMatrix}',
  105. ],
  106. },
  107. {
  108. id: 'bdyx',
  109. title: '百度影像',
  110. show: false,
  111. type: 'BD',
  112. url: 'http://shangetu{s}.map.bdimg.com/it/u=x={x};y={y};z={z};v=009;type=sate&fm=46',
  113. },
  114. {
  115. id: 'bdsl',
  116. title: '百度矢量',
  117. show: false,
  118. type: 'BD',
  119. url: 'http://online{s}.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles=pl&scaler=1&p=1',
  120. },
  121. {
  122. id: 'dzdt',
  123. title: '地图',
  124. show: false,
  125. epsg: 4326,
  126. url: [
  127. 'http://webrd02.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={TileCol}&y={TileRow}&z={TileMatrix}',
  128. ],
  129. img: '/src/assets/images/dzdt.png',
  130. },
  131. // {
  132. // id: 'dzdtbz',
  133. // title: '地图标注',
  134. // show: false,
  135. // epsg: 4326,
  136. // url: [
  137. // 'http://webst02.is.autonavi.com/appmaptile?x={TileCol}&y={TileRow}&z={TileMatrix}&lang=zh_cn&size=1&scale=1&style=8',
  138. // ],
  139. // },
  140. {
  141. id: 'yxdt',
  142. title: '影像',
  143. show: false,
  144. epsg: 4326,
  145. img: '/src/assets/images/yxdt.png',
  146. type: 'SUPER',
  147. minimumLevel: 0,
  148. maximumLevel: 18,
  149. url: ['http://221.182.8.141:8090/iserver/services/map-smtiles-L15/rest/maps/L15/'],
  150. },
  151. {
  152. id: 'dtbz',
  153. title: '注记',
  154. show: true,
  155. epsg: 4326,
  156. url: [
  157. 'http://webst02.is.autonavi.com/appmaptile?x={TileCol}&y={TileRow}&z={TileMatrix}&lang=zh_cn&size=1&scale=1&style=8',
  158. ],
  159. },
  160. {
  161. id: 'zdzm',
  162. title: '地质',
  163. epsg: 4326,
  164. type: 'SUPER',
  165. show: false,
  166. url: ['http://221.182.8.141:8090/iserver/services/map-dzdm/rest/maps/dzdm/'],
  167. img: '/src/assets/images/qydzt.jpg',
  168. },
  169. ],
  170. layers3D: [],
  171. };