Browse Source

优化

shibei_master
ZhaoTongYao 3 years ago
parent
commit
37efca5bcf
  1. 5
      src/views/modules/visual/communityGovern/duoyuanfuwu/duoyuanfuwufenxi.vue

5
src/views/modules/visual/communityGovern/duoyuanfuwu/duoyuanfuwufenxi.vue

@ -62,8 +62,6 @@
@clickFeature="clickMap" @clickFeature="clickMap"
:showIconLayer="true" :showIconLayer="true"
:showPolygonLayer="true" :showPolygonLayer="true"
:showPolIconLayer="true"
:areaScale="0.1"
:clickType="'popup'" :clickType="'popup'"
:isAddOpenlay="true"></screen-map> :isAddOpenlay="true"></screen-map>
</div> </div>
@ -371,7 +369,8 @@ export default {
if (item.coordinates && item.coordinates.length > 0) { if (item.coordinates && item.coordinates.length > 0) {
if (!this.isRepeatItem(item.name)) { if (!this.isRepeatItem(item.name)) {
let colorIndex = index < polygonColorArray.length ? index : 0 let colorIndex = index < polygonColorArray.length ? index : 0
item.fillColor = 'rgba(0, 229, 237, 0.16)' // item.fillColor = 'rgba(0, 229, 237, 0.16)'
item.fillColor = transparent
item.color = '#00E5ED' item.color = '#00E5ED'
// item.color = polygonColorArray[colorIndex] // item.color = polygonColorArray[colorIndex]
subPolygonList.push(item) subPolygonList.push(item)

Loading…
Cancel
Save