Pārlūkot izejas kodu

feat:添加提防背河坡脚线几何数据

yangqishu 3 mēneši atpakaļ
vecāks
revīzija
5cfa83711e

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 9 - 0
public/geojson/difangbeihe.geojson


+ 2 - 0
src/views/components/layerList/index.vue

@@ -190,6 +190,8 @@ export default {
     getStyleByName(name) {
       if (name === '生态区界限') {
         return { type: 'polyline', styleOptions: { color: '#0c5b0f', width: 4 } }
+      } else if (name === '提防背河坡脚线') {
+        return { type: 'polyline', styleOptions: { color: '#ee8a11', width: 4 } }
       } else if (name === '河道管理范围线') {
         return {
           type: 'polyline',