Skip to content

Commit d681721

Browse files
committed
fix 测试
1 parent 6bca981 commit d681721

File tree

8 files changed

+2088
-2089
lines changed

8 files changed

+2088
-2089
lines changed

dist/iclient9-leaflet.js

Lines changed: 2079 additions & 2077 deletions
Large diffs are not rendered by default.

dist/iclient9-leaflet.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/leaflet/mapping/WebMap.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,10 @@ var WebMap = L.LayerGroup.extend({
242242
if (type == "ter")type = "cta"
243243
}
244244
wmtsURL = wmtsURL.replace("{type}", type).replace("{proj}", proj);
245-
var layer = L.tileLayer.wmts(wmtsURL,
245+
var layer = L.supermap.tiandituTileLayer(wmtsURL,
246246
{
247247
layer: type,
248-
style: "default",
249248
tilematrixSet: proj,
250-
format: "tiles",
251-
subdomains: [0, 1, 2, 3, 4, 5, 6, 7]
252249
}
253250
);
254251
return layer;

test/common/iServer/GenerateSpatialDataServiceSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ describe('testGenerateSpatialDataService_processAsync',function(){
206206
generateSpatialDataParameters.destroy();
207207
done();
208208
}
209-
},1000)
209+
},2000)
210210
});
211211
});
212212

test/common/iServer/MathExpressionAnalysisServiceSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe('testMathExpressionAnalysisService_processAsync',function(){
6262
mathExpressionAnalysisParameters.destroy();
6363
done();
6464
}
65-
},2000);
65+
},6000);
6666
});
6767

6868
it('fail',function(done){
@@ -93,7 +93,7 @@ describe('testMathExpressionAnalysisService_processAsync',function(){
9393
mathExpressionAnalysisParameters.destroy();
9494
done();
9595
}
96-
},2000);
96+
},6000);
9797
})
9898
});
9999

test/common/iServer/SurfaceAnalystServiceSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ describe('testSurfaceAnalystService_processAsync', function () {
114114
expect(false).toBeTruthy();
115115
done();
116116
}
117-
}, 4000);
117+
}, 6000);
118118
});
119119

120120
//对象提取等值线

test/common/iServer/TerrainCurvatureCalculationServiceSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe('testTerrainCurvatureCalculationService_processAsync',function(){
6060
terrainCurvatureCalculationParameters.destroy();
6161
done();
6262
}
63-
},2000);
63+
},6000);
6464
});
6565

6666
//测试失败事件
@@ -94,7 +94,7 @@ describe('testTerrainCurvatureCalculationService_processAsync',function(){
9494
terrainCurvatureCalculationParameters.destroy();
9595
done();
9696
}
97-
},2000);
97+
},6000);
9898
});
9999
});
100100

test/common/iServer/ThemeServiceSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ describe('testThemeService_processAsync', function () {
103103
themeParameters.destroy();
104104
done();
105105
}
106-
}, 2000);
106+
}, 4000);
107107
});
108108

109109
it('Range_1',function(done){

0 commit comments

Comments
 (0)