src/components/LayerController/modules/LcServiceLayerFilter.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/helpers/ServiceLayerHelper.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/LayerController/modules/LcServiceLayerFilter.vue
@@ -80,9 +80,10 @@ font-size: 13px; position: absolute; left: 300px; left: 260px; z-index: 1000; height: 220px; top: 0; .filter-group { display: flex; src/components/helpers/ServiceLayerHelper.js
@@ -39,6 +39,10 @@ return null } /** * 控制显示的级别 * @param layerConfig */ initDisplayZoom (layerConfig) { var that = this that.map.on('zoomend ', function (e) { @@ -232,7 +236,6 @@ * @param layerGroup 图层组 */ setZIndex (layerGroup) { console.log(layerGroup) var layers = layerGroup.getLayers() if (layers.length > 0) { var layer = layers[0]