| | |
| | | // 区分不同类型 使用不同img |
| | | // const ImgBlue = '/assets/images/map/exhaust/fq_blue.png' |
| | | // const ImgGray = '/assets/images/map/exhaust/fq_gray.png' |
| | | const ImagGreen = '/assets/images/map/exhaust/fq_green_new.png' |
| | | const ImagGreen = '/assets/images/map/exhaust/fq_green2.png' |
| | | // const ImagBright = '/assets/images/map/exhaust/fq_bright_green.png' |
| | | |
| | | const mapApi = require('../../../api/mapApi').default |
| | |
| | | test: data[i], |
| | | icon: L.icon({ |
| | | iconUrl: iconUrl, |
| | | iconSize: [30, 38], |
| | | iconAnchor: [15, 19] |
| | | iconSize: [30, 30], |
| | | iconAnchor: [15, 15] |
| | | }) |
| | | }) |
| | | layer.addLayer(marker) |