File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -1473,7 +1473,6 @@ export class WebMap extends Observable {
1473
1473
let capabilities = format . read ( capabilitiesText ) ;
1474
1474
if ( that . isValidResponse ( capabilities ) ) {
1475
1475
let content = capabilities . Contents ;
1476
- console . log ( '+++++++' , content ) ;
1477
1476
let tileMatrixSet = content . TileMatrixSet ,
1478
1477
layers = content . Layer ,
1479
1478
layer , idx , layerFormat , style = 'default' ;
@@ -1497,7 +1496,6 @@ export class WebMap extends Observable {
1497
1496
for ( let i = 0 ; i < tileMatrixSet . length ; i ++ ) {
1498
1497
if ( tileMatrixSet [ i ] . Identifier === layerInfo . tileMatrixSet ) {
1499
1498
let wmtsLayerEpsg = `EPSG:${ tileMatrixSet [ i ] . SupportedCRS . split ( '::' ) [ 1 ] } ` ;
1500
- console . log ( 'tileMatrixSet[i].TileMatrix' , tileMatrixSet [ i ] . TileMatrix ) ;
1501
1499
for ( let h = 0 ; h < tileMatrixSet [ i ] . TileMatrix . length ; h ++ ) {
1502
1500
scales . push ( tileMatrixSet [ i ] . TileMatrix [ h ] . ScaleDenominator ) ;
1503
1501
matrixIds . push ( tileMatrixSet [ i ] . TileMatrix [ h ] . Identifier ) ;
Original file line number Diff line number Diff line change @@ -1044,7 +1044,6 @@ describe('openlayers_WebMap', () => {
1044
1044
it ( 'getScales EPSG:1' , ( done ) => {
1045
1045
//第二次请求wmts参数值太大
1046
1046
spyOn ( FetchRequest , 'get' ) . and . callFake ( ( url ) => {
1047
- console . log ( '=====url' , url )
1048
1047
if ( url . indexOf ( 'map.json' ) > - 1 ) {
1049
1048
var mapJson = datavizWebMap_WMTS ;
1050
1049
return Promise . resolve ( new Response ( mapJson ) ) ;
You can’t perform that action at this time.
0 commit comments