| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2024-10-31 10:47:29 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2024-11-13 19:20:17 |
| | | * @LastEditTime: 2024-11-14 18:32:01 |
| | | * @FilePath: \bigScreen\src\pages\layout\components\scomponents\layersControl.vue |
| | | * @Description: |
| | | * |
| | |
| | | size: 1000 |
| | | }, |
| | | backgroundIcon: VITE_APP_BASE + 'img/mapicon/qy.png', |
| | | className: 'qyfb-box', |
| | | showPanel: false, |
| | | layerName: 'qyfb' |
| | | }, |
| | |
| | | size: 1000 |
| | | }, |
| | | showParams: 'category', |
| | | className: 'fxy-box', |
| | | backgroundIcon: VITE_APP_BASE + 'img/mapicon/fxy.png', |
| | | showPanel: false, |
| | | layerName: 'fxy' |
| | |
| | | |
| | | let divIcon = new DC.DivIcon( |
| | | new DC.Position(i.lng, i.lat, 0), |
| | | `<div class="public-map-popup"> |
| | | `<div class="public-map-popup ${item.className || ''}"> |
| | | ${iconEl} |
| | | </div>` |
| | | ) |
| | |
| | | |
| | | function computeCircle (radius) { |
| | | var positions = [] |
| | | for (var i = 0; i < 1080; i++) { |
| | | for (var i = 0; i < 360; i++) { |
| | | var radians = DC.Math.toRadians(i) |
| | | positions.push({ |
| | | x: radius * Math.cos(radians), |
| | |
| | | box-shadow: 0px 0px 10px rgb(255, 179, 0, 1); |
| | | |
| | | img { |
| | | width: 24px; |
| | | height: 24px; |
| | | width: 20px; |
| | | height: 20px; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .fxy-box { |
| | | &::after { |
| | | background: linear-gradient(to bottom, rgba(255, 0, 0, 0.8), rgba(255, 0, 0, 0.2)); |
| | | } |
| | | |
| | | .map-name { |
| | | color: #ff3b3b; |
| | | } |
| | | |
| | | .map-icon { |
| | | background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 20%, rgba(255, 0, 0, 0.9) 100%); |
| | | box-shadow: 0px 0px 10px rgb(255, 0, 0); |
| | | } |
| | | } |
| | | |
| | | .qyfb-box { |
| | | &::after { |
| | | background: linear-gradient(to bottom, rgba(0, 136, 255, 0.8), rgba(0, 136, 255, 0.2)); |
| | | } |
| | | |
| | | .map-name { |
| | | color: rgb(66, 165, 252); |
| | | } |
| | | |
| | | .map-icon { |
| | | background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 20%, rgba(0, 136, 255, 0.9) 100%); |
| | | box-shadow: 0px 0px 10px rgba(0, 136, 255, 1); |
| | | } |
| | | } |
| | | |
| | | @keyframes pulse-glow { |
| | | 0% { |
| | | box-shadow: 0 0 4px red, inset 0 0 4px red; |