{
"name": "天地图影像",
"layerName": "tdtyx",
"title": "tdtyx",
"layerUrl": ''
"layerType": "XYZ",
"layerIcon":"",
"visible": true,
"router": 'public',
'className': "baseLayerClass111",
},
case 'XYZ':
layer = new Tile({
className: mapLayer.className,
zIndex: mapLayer.zIndex,
name: mapLayer.name,
title: mapLayer.title,
visible: mapLayer.visible,
source: new XYZ({
url: mapLayer.layerUrl,
params: mapLayer.params,
projection: mapLayer.projection
})
});
break;
filter:grayscale(100%) sepia(51%) invert(100%) saturate(350%) ;