|
@@ -1300,21 +1300,13 @@ export default {
|
|
|
if (res.data.length > 50) {
|
|
|
markersMap.isAggregation = true
|
|
|
}
|
|
|
- if (type == 'qsk') {
|
|
|
- markersMap.icon = 'sj-icon-waterintake'
|
|
|
- } else if (type == 'sh') {
|
|
|
- markersMap.icon = 'sj-icon-watercrane'
|
|
|
- } else if (type == 'xfs') {
|
|
|
- markersMap.icon = 'sj-icon-firehydrant'
|
|
|
- } else if (type == 'qjd') {
|
|
|
- markersMap.icon = 'sj-icon-landing'
|
|
|
- } else if (type == 'jcz') {
|
|
|
- markersMap.icon = 'sj-icon-checkpoint'
|
|
|
- } else if (type == 'fhd') {
|
|
|
- markersMap.icon = 'sj-icon-fireteam'
|
|
|
- } else if (type == 'zdqy') {
|
|
|
- markersMap.icon = 'sj-icon-tcqh'
|
|
|
- } else if (type == 'sxt') {
|
|
|
+ if (type == 'zdqy') {
|
|
|
+ markersMap.icon = 'sj-icon-map-centerdata-t-environment-key-enterprise'
|
|
|
+ } else if (type == 'jsq') {
|
|
|
+ markersMap.icon = 'sj-icon-map-centerdata-t-environment-prohibition-area'
|
|
|
+ } else if (type == 'wry') {
|
|
|
+ markersMap.icon = 'sj-icon-map-centerdata-t-environment-source-pollution'
|
|
|
+ }else if (type == 'sxt') {
|
|
|
markersMap.icon = 'camera'
|
|
|
if (res.data[i].cameraCode != null) {
|
|
|
markersMap.click = 'preview'
|