|
@@ -1022,7 +1022,7 @@ const arcMap = (function() {
|
|
|
layer: record.sde,//'dwd_res_gov_hbdk@gtkjzl_db',
|
|
|
style: 'default',
|
|
|
version: '1.0.0',
|
|
|
- matrixSet: record.icon + record.sde, //'CUSTOM_dwd_res_gov_hbdk@gtkjzl_db',
|
|
|
+ matrixSet: record.icon || ('CUSTOM_' + record.sde),
|
|
|
format: 'image/png',
|
|
|
projection,
|
|
|
tileGrid: new WMTSTileGrid({
|
|
@@ -1034,7 +1034,11 @@ const arcMap = (function() {
|
|
|
// attributions: 'zhx © 版权信息'
|
|
|
});
|
|
|
const untiled = new TileLayer({
|
|
|
- source: wmtsSource,
|
|
|
+ url: record.url,
|
|
|
+ name: record.url,
|
|
|
+ id: record.bsm || record.id,
|
|
|
+ source: wmtsSource,
|
|
|
+ zIndex: (record.sort || 1) * -1,
|
|
|
});
|
|
|
if (call) {
|
|
|
return untiled;
|