printStaticProperty.js 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. let printProperty = {
  2. selectMapContent: [
  3. {
  4. type: 'map',
  5. mapType: '面状图层',
  6. symbolType: '面',
  7. serverName: '浙江省水系地图服务',
  8. visible: false,
  9. layerId: '0',
  10. serviceAliasName: '水系',
  11. serviceUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/Rivers/MapServer',
  12. imgSrc: '/static/images/print/水系.png',
  13. layerAdded: false,
  14. layerType: 'dynamic',
  15. opacity: 100,
  16. fillColor: 'rgba(125,230,255,1)',
  17. borderColor: 'rgba(125,230,255,1)',
  18. borderWidth: '0px'
  19. },
  20. {
  21. type: 'map',
  22. mapType: '线性图层',
  23. serverName: '杭州市城市快速路地图服务',
  24. serviceAliasName: '城市快速路',
  25. layerType: 'dynamic',
  26. layerId: '0',
  27. visible: false,
  28. symbolType: '线',
  29. serviceUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/Roads/MapServer',
  30. layerAdded: false,
  31. imgSrc: '/static/images/print/道路.png',
  32. opacity: 100,
  33. fillColor: 'rgba(125,230,255,1)',
  34. borderColor: 'rgba(125,230,255,1)',
  35. borderWidth: '3px'
  36. },
  37. {
  38. type: 'map',
  39. mapType: '线性图层',
  40. serverName: '浙江省高速公路地图服务',
  41. serviceAliasName: '浙江省高速公路',
  42. layerType: 'dynamic',
  43. layerId: '1',
  44. visible: false,
  45. symbolType: '线',
  46. serviceUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/Roads/MapServer',
  47. layerAdded: false,
  48. imgSrc: '/static/images/print/道路.png',
  49. opacity: 100,
  50. fillColor: 'rgba(125,230,255,1)',
  51. borderColor: 'rgba(125,230,255,1)'
  52. },
  53. {
  54. type: 'map',
  55. mapType: '线性图层',
  56. serverName: '浙江省国道地图服务',
  57. serviceAliasName: '浙江省国道',
  58. layerType: 'dynamic',
  59. layerId: '3',
  60. visible: false,
  61. symbolType: '线',
  62. serviceUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/Roads/MapServer',
  63. layerAdded: false,
  64. imgSrc: '/static/images/print/道路.png',
  65. opacity: 100,
  66. fillColor: 'rgba(125,230,255,1)',
  67. borderWidth: '3px',
  68. borderColor: 'rgba(125,230,255,1)'
  69. },
  70. {
  71. type: 'map',
  72. mapType: '线性图层',
  73. serverName: '浙江省省道地图服务',
  74. serviceAliasName: '浙江省省道',
  75. layerType: 'dynamic',
  76. layerId: '4',
  77. visible: false,
  78. symbolType: '线',
  79. serviceUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/Roads/MapServer',
  80. layerAdded: false,
  81. imgSrc: '/static/images/print/道路.png',
  82. opacity: 100,
  83. fillColor: 'rgba(125,230,255,1)',
  84. borderWidth: '3px',
  85. borderColor: 'rgba(125,230,255,1)'
  86. },
  87. // {
  88. // type: 'map',
  89. // mapType: '点状图层',
  90. // serverName: '浙江省大厦地图服务',
  91. // serviceAliasName: '大厦',
  92. // layerType: 'dynamic',
  93. // visible: false,
  94. // symbolType: '点',
  95. // layerId: '14',
  96. // borderWidth: '3px',
  97. // serviceUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/POI/MapServer',
  98. // imgSrc: '/static/images/print/市政府.png',
  99. // opacity: 100,
  100. // layerAdded: false,
  101. // fillColor: 'rgba(125,230,255,1)',
  102. // borderColor: 'rgba(125,230,255,1)'
  103. // },
  104. {
  105. type: 'map',
  106. mapType: '线性图层',
  107. serverName: '浙江省县道地图服务',
  108. serviceAliasName: '浙江省县道',
  109. layerType: 'dynamic',
  110. borderWidth: '3px',
  111. layerId: '5',
  112. visible: false,
  113. symbolType: '线',
  114. serviceUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/Roads/MapServer',
  115. layerAdded: false,
  116. imgSrc: '/static/images/print/道路.png',
  117. opacity: 100,
  118. fillColor: 'rgba(125,230,255,1)',
  119. borderColor: 'rgba(125,230,255,1)'
  120. },
  121. {
  122. type: 'map',
  123. mapType: '线性图层',
  124. serverName: '浙江省乡镇街道地图服务',
  125. serviceAliasName: '浙江省乡镇街道',
  126. layerType: 'dynamic',
  127. layerId: '6',
  128. visible: false,
  129. symbolType: '线',
  130. borderWidth: '3px',
  131. serviceUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/Roads/MapServer',
  132. layerAdded: false,
  133. imgSrc: '/static/images/print/道路.png',
  134. opacity: 100,
  135. fillColor: 'rgba(125,230,255,1)',
  136. borderColor: 'rgba(125,230,255,1)'
  137. },
  138. {
  139. type: 'map',
  140. mapType: '线性图层',
  141. serverName: '浙江省其他道路地图服务',
  142. serviceAliasName: '浙江省其他道路',
  143. layerType: 'dynamic',
  144. layerId: '2',
  145. visible: false,
  146. symbolType: '线',
  147. borderWidth: '3px',
  148. serviceUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/Roads/MapServer',
  149. layerAdded: false,
  150. imgSrc: '/static/images/print/道路.png',
  151. opacity: 100,
  152. fillColor: 'rgba(125,230,255,1)',
  153. borderColor: 'rgba(125,230,255,1)'
  154. },
  155. ],
  156. selectChartContent: [
  157. {
  158. type: 'chart',
  159. mapType: 'chart',
  160. serverName: '区域生产总值',
  161. visible: false,
  162. serviceAliasName: '区域生产总值',
  163. layerAdded: false,
  164. classifyType: 'city',
  165. selectChartsType: '分段设色图',
  166. selectZhiBiaoLaiYuan: '宏观经济',
  167. imgSrc: '/static/images/print/区域生产总值.png',
  168. chartBaseUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/quXianQuHua/MapServer',
  169. classifyLevel: 4,
  170. opacity: 100,
  171. dataYear: '2020',
  172. zoneType: '市级',
  173. fillColor: "rgba(125,230,255,1)",
  174. borderColor: "rgba(125,230,255,1)",
  175. borderWidth: '1px',
  176. targetZone: '杭州市',
  177. lineStyle: '流入'
  178. },
  179. ],
  180. listContent: [
  181. // {
  182. // index: '0',
  183. // type: 'map',
  184. // mapType: '点状图层',
  185. // serverName: '浙江省大厦地图服务',
  186. // serviceAliasName: '大厦',
  187. // layerType: 'dynamic',
  188. // visible: false,
  189. // symbolType: '点',
  190. // layerId: '14',
  191. // borderWidth: '3px',
  192. // serviceUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/POI/MapServer',
  193. // imgSrc: '/static/images/print/市政府.png',
  194. // opacity: 100,
  195. // layerAdded: false,
  196. // fillColor: 'rgba(125,230,255,1)',
  197. // borderColor: 'rgba(125,230,255,1)'
  198. // },
  199. {
  200. type: 'chart',
  201. index: '3',
  202. mapType: 'chart',
  203. serverName: '区域生产总值',
  204. visible: false,
  205. serviceAliasName: '区域生产总值',
  206. layerAdded: false,
  207. classifyType: 'city',
  208. selectChartsType: '分段设色图',
  209. selectZhiBiaoLaiYuan: '宏观经济',
  210. imgSrc: '/static/images/print/区域生产总值.png',
  211. chartBaseUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/quXianQuHua/MapServer',
  212. classifyLevel: 4,
  213. opacity: 100,
  214. dataYear: '2020',
  215. fillColor: "rgba(125,230,255,1)",
  216. borderColor: "rgba(125,230,255,1)",
  217. borderWidth: '1px',
  218. zoneType: '市级',
  219. targetZone: '杭州市',
  220. lineStyle: '流入'
  221. },
  222. {
  223. type: 'map',
  224. index: '1',
  225. mapType: '线性图层',
  226. serverName: '浙江省国道地图服务',
  227. serviceAliasName: '浙江省国道',
  228. layerType: 'dynamic',
  229. layerId: '3',
  230. visible: false,
  231. symbolType: '线',
  232. serviceUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/Roads/MapServer',
  233. layerAdded: false,
  234. imgSrc: '/static/images/print/道路.png',
  235. opacity: 100,
  236. fillColor: 'rgba(255 ,185 ,15,1)',
  237. borderWidth: '3px',
  238. borderColor: 'rgba(255 ,185, 15,1)'
  239. },
  240. {
  241. type: 'map',
  242. index: '2',
  243. mapType: '面状图层',
  244. symbolType: '面',
  245. serverName: '浙江省水系地图服务',
  246. visible: false,
  247. layerId: '0',
  248. serviceAliasName: '水系',
  249. serviceUrl: 'http://60.191.110.206:46080/arcgis/rest/services/zheJiangSheng/Rivers/MapServer',
  250. imgSrc: '/static/images/print/水系.png',
  251. layerAdded: false,
  252. layerType: 'dynamic',
  253. opacity: 100,
  254. fillColor: 'rgba(0, 0, 205,1)',
  255. borderColor: 'rgba(0, 0, 205,1)',
  256. borderWidth: '0px'
  257. },
  258. ],
  259. mapSelectProperty: {
  260. borderWidth: ['0px', '1px', '2px', '3px'],
  261. // symbolType: ['点', '线', '面'],
  262. symbolType: [ '线', '面'],
  263. },
  264. chartSelectProperty: {
  265. chartsType: ['分段设色图', '区域流动图'],
  266. selectZhiBiaoLaiYuan: ['宏观经济', '区域发展', '城镇发展', '基础设施', '产业发展'],
  267. dataYear: ['2018', '2019', '2020'],
  268. classifyLevel: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
  269. borderWidth: ['0px', '1px', '2px', '3px'],
  270. targetZone: ['杭州市', '宁波市', '温州市', '绍兴市', '湖州市', '嘉兴市', '金华市', '衢州市', '台州市', '丽水市', '舟山市'],
  271. }
  272. }
  273. export {printProperty}