Newer
Older
urbanLifeline_YanAn / public / static / libs / mapbox / style / syntheticDataMain.json
@zhangqy zhangqy on 3 Oct 3 KB first commit
  1. {
  2. "params": {
  3. "basemap": "https://supermap2.wh-nf.cn:8090/bm",
  4. "mvt": "https://supermap0.wh-nf.cn:8090/vt",
  5. "sprites": [
  6. "/static/libs/mapbox/style/sprite/sprite4"
  7. ],
  8. "init": {
  9. "center": [
  10. 114.312,
  11. 34.802
  12. ],
  13. "zoom": 13.6,
  14. "pitch": 55,
  15. "style": "/static/libs/mapbox/style/customs/night-style.json"
  16. },
  17. "l7": {
  18. "images": [
  19. {
  20. "name": "02",
  21. "url": "https://gw.alipayobjects.com/zos/bmw-prod/ce83fc30-701f-415b-9750-4b146f4b3dd6.svg"
  22. },
  23. {
  24. "name": "map_selected",
  25. "url": "/static/libs/mapbox/style/sprite/map_selected.png"
  26. }
  27. ]
  28. }
  29. },
  30. "l7": [
  31. {
  32. "id": "",
  33. "key": "highlight_point",
  34. "type": "PointLayer",
  35. "show": true,
  36. "params": {
  37. "zIndex": 0,
  38. "blend": "additive"
  39. },
  40. "methods": [
  41. {
  42. "name": "shape",
  43. "params": [
  44. "map_selected"
  45. ]
  46. },
  47. {
  48. "name": "size",
  49. "params": [
  50. 20
  51. ]
  52. },
  53. {
  54. "name": "style",
  55. "params": [
  56. {
  57. "offsets": [
  58. 0,
  59. 0
  60. ]
  61. }
  62. ]
  63. }
  64. ]
  65. }
  66. ],
  67. "mapbox": [
  68. {
  69. "id": "point",
  70. "key": "point",
  71. "type": "symbol",
  72. "minzoom": 0,
  73. "maxzoom": 24,
  74. "filter": [
  75. "in",
  76. "type",
  77. ""
  78. ],
  79. "paint": {
  80. "text-color": "#ffffff"
  81. },
  82. "layout": {
  83. "icon-image": [
  84. "match",
  85. [
  86. "get",
  87. "type"
  88. ],
  89. "warning_monitor",
  90. "warning_monitor",
  91. "success_monitor",
  92. "success_monitor",
  93. "error_monitor",
  94. "error_monitor",
  95. "paiKou",
  96. "paiKou",
  97. "YSBZ",
  98. "paiLaoBeng",
  99. "drainOutlet",
  100. "DFHZ2",
  101. "WSBZ",
  102. "wsBeng",
  103. "WSCLC",
  104. "WSC",
  105. "orinign",
  106. "orinign",
  107. "rainStation",
  108. "rain",
  109. "pipeSupervise",
  110. "rainSupervise",
  111. "PKsupervise",
  112. "YQGXMX",
  113. "waterlog",
  114. "yiLao",
  115. "riverLake",
  116. "KDJZWMX",
  117. "waterSectionInfo",
  118. "yuanTous",
  119. "paiKou_1",
  120. "paiKou",
  121. "YSBZ_1",
  122. "paiLaoBeng",
  123. "drainOutlet_1",
  124. "DFHZ2",
  125. "WSBZ_1",
  126. "wsBeng",
  127. "WSCLC_1",
  128. "WSC",
  129. "orinign_1",
  130. "orinign",
  131. "rainStation_1",
  132. "rain",
  133. "pipeSupervise_1",
  134. "rainSupervise",
  135. "PKsupervise_1",
  136. "YQGXMX",
  137. "waterlog_1",
  138. "yiLao",
  139. "riverLake_1",
  140. "KDJZWMX",
  141. "waterSectionInfo_1",
  142. "yuanTou",
  143. "ysbz"
  144. ],
  145. "icon-allow-overlap": true,
  146. "icon-anchor": "center",
  147. "icon-size": 0.8,
  148. "text-allow-overlap": true,
  149. "text-field": "{name}",
  150. "text-font": [
  151. "KlokanTech Noto Sans Regular"
  152. ],
  153. "text-size": 16,
  154. "text-line-height": 3,
  155. "text-anchor": "bottom",
  156. "text-max-width": 50,
  157. "text-offset": [
  158. 0,
  159. -1
  160. ]
  161. },
  162. "mType": "geojson"
  163. }
  164. ],
  165. "orders": [
  166. [
  167. "place_label_city"
  168. ],
  169. [
  170. "road_major_label"
  171. ],
  172. [
  173. "place_label_other"
  174. ],
  175. [
  176. "poi_label"
  177. ],
  178. [
  179. "point"
  180. ]
  181. ]
  182. }