Newer
Older
urbanLifeline_YanAn / public / static / libs / mapbox / style / preventionSFQ.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": 12.6,
  14. "style": "/static/libs/mapbox/style/customs/night-style.json"
  15. },
  16. "l7": {
  17. "images": [
  18. {
  19. "name": "02",
  20. "url": "https://gw.alipayobjects.com/zos/bmw-prod/ce83fc30-701f-415b-9750-4b146f4b3dd6.svg"
  21. }
  22. ]
  23. }
  24. },
  25. "orders": [
  26. [
  27. "poi_label"
  28. ],
  29. [
  30. "place_label_city"
  31. ],
  32. [
  33. "road_major_label"
  34. ],
  35. [
  36. "place_label_other"
  37. ],
  38. [
  39. "point"
  40. ]
  41. ],
  42. "filter": {
  43. "wsLine1": {
  44. "layerName": [
  45. "pipeline_info",
  46. "pipeline_point"
  47. ],
  48. "filter": [
  49. [
  50. "WS",
  51. "HS"
  52. ],
  53. [
  54. "污水点",
  55. "合流点"
  56. ]
  57. ]
  58. },
  59. "ysLine1": {
  60. "layerName": [
  61. "pipeline_info",
  62. "pipeline_point"
  63. ],
  64. "filter": [
  65. [
  66. "YS"
  67. ],
  68. [
  69. "雨水点"
  70. ]
  71. ]
  72. },
  73. "oldCity": {
  74. "layerName": [
  75. "city_boundary"
  76. ],
  77. "filter": [
  78. [
  79. "老城区"
  80. ]
  81. ],
  82. "easeTo": {
  83. "center": [
  84. 113.933,
  85. 30.926
  86. ],
  87. "zoom": 13.6,
  88. "pitch": 55
  89. }
  90. },
  91. "southCity": {
  92. "layerName": [
  93. "city_boundary"
  94. ],
  95. "filter": [
  96. [
  97. "南城新区"
  98. ]
  99. ],
  100. "easeTo": {
  101. "center": [
  102. 113.933,
  103. 30.886
  104. ],
  105. "zoom": 13.6,
  106. "pitch": 55
  107. }
  108. },
  109. "newCity": {
  110. "layerName": [
  111. "city_boundary"
  112. ],
  113. "filter": [
  114. [
  115. "东城新区"
  116. ]
  117. ],
  118. "easeTo": {
  119. "center": [
  120. 113.983,
  121. 30.896
  122. ],
  123. "zoom": 13.6,
  124. "pitch": 55
  125. }
  126. },
  127. "allCity": {
  128. "layerName": [
  129. "city_boundary"
  130. ],
  131. "filter": [
  132. [
  133. "东城新区",
  134. "南城新区",
  135. "老城区"
  136. ]
  137. ],
  138. "easeTo": {
  139. "center": [
  140. 113.953,
  141. 30.906
  142. ],
  143. "zoom": 13.6,
  144. "pitch": 55
  145. }
  146. }
  147. },
  148. "mapbox": [
  149. {
  150. "id": "point",
  151. "key": "point",
  152. "type": "symbol",
  153. "minzoom": 0,
  154. "maxzoom": 24,
  155. "filter": [
  156. "in",
  157. "type",
  158. ""
  159. ],
  160. "paint": {
  161. "text-color": "#ffffff"
  162. },
  163. "layout": {
  164. "icon-image": [
  165. "match",
  166. [
  167. "get",
  168. "type"
  169. ],
  170. "success_zishui",
  171. "ysj",
  172. "error_zishui",
  173. "wsj",
  174. "yuanTou"
  175. ],
  176. "text-allow-overlap": false,
  177. "icon-allow-overlap": false,
  178. "icon-anchor": "center",
  179. "icon-size": 0.8,
  180. "text-field": "{name}",
  181. "text-font": [
  182. "KlokanTech Noto Sans Regular"
  183. ],
  184. "text-size": 16,
  185. "text-line-height": 3,
  186. "text-anchor": "bottom",
  187. "text-max-width": 50,
  188. "text-offset": [
  189. 0,
  190. -1
  191. ]
  192. },
  193. "mType": "geojson"
  194. }
  195. ]
  196. }