Browse Source

绘制内容结算0118

zhiyuan-007 1 day ago
parent
commit
f703a50ce6
2 changed files with 2 additions and 0 deletions
  1. 1 0
      src/components/mapJK.vue
  2. 1 0
      src/units/map/AddSingleLayer.js

+ 1 - 0
src/components/mapJK.vue

@@ -323,6 +323,7 @@ export default {
           visible:params.visible,
           opacity:params.opacity,
           url:params.url,
+          where:params.where,
           popupEnabled:params.popupEnabled,
           renderer:params.renderer,
           elevationInfo:params.elevationInfo

+ 1 - 0
src/units/map/AddSingleLayer.js

@@ -42,6 +42,7 @@ class AddSingleLayer{
                             elevationInfo: this.elevationInfo,
                             renderer: this.renderer,
                             outFields: ["*"],
+                            definitionExpression:this.where,
                             popupEnabled: this.popupEnabled
                         })
                         break;