File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -1473,7 +1473,6 @@ export class WebMap extends Observable {
14731473 let capabilities = format . read ( capabilitiesText ) ;
14741474 if ( that . isValidResponse ( capabilities ) ) {
14751475 let content = capabilities . Contents ;
1476- console . log ( '+++++++' , content ) ;
14771476 let tileMatrixSet = content . TileMatrixSet ,
14781477 layers = content . Layer ,
14791478 layer , idx , layerFormat , style = 'default' ;
@@ -1497,7 +1496,6 @@ export class WebMap extends Observable {
14971496 for ( let i = 0 ; i < tileMatrixSet . length ; i ++ ) {
14981497 if ( tileMatrixSet [ i ] . Identifier === layerInfo . tileMatrixSet ) {
14991498 let wmtsLayerEpsg = `EPSG:${ tileMatrixSet [ i ] . SupportedCRS . split ( '::' ) [ 1 ] } ` ;
1500- console . log ( 'tileMatrixSet[i].TileMatrix' , tileMatrixSet [ i ] . TileMatrix ) ;
15011499 for ( let h = 0 ; h < tileMatrixSet [ i ] . TileMatrix . length ; h ++ ) {
15021500 scales . push ( tileMatrixSet [ i ] . TileMatrix [ h ] . ScaleDenominator ) ;
15031501 matrixIds . push ( tileMatrixSet [ i ] . TileMatrix [ h ] . Identifier ) ;
Original file line number Diff line number Diff line change @@ -855,7 +855,6 @@ describe('openlayers_WebMap', () => {
855855 var mapJson = datavizWebMap_WMTS ;
856856 return Promise . resolve ( new Response ( mapJson ) ) ;
857857 } else if ( url . includes ( "http://localhost:9876/iserver/services/maps/wmts100?" ) > - 1 ) {
858- console . log ( '+++++' , 2 ) ;
859858 return Promise . resolve ( new Response ( wmtsInfo2 ) ) ;
860859 }
861860 return Promise . resolve ( ) ;
@@ -1045,7 +1044,6 @@ describe('openlayers_WebMap', () => {
10451044 it ( 'getScales EPSG:1' , ( done ) => {
10461045 //第二次请求wmts参数值太大
10471046 spyOn ( FetchRequest , 'get' ) . and . callFake ( ( url ) => {
1048- console . log ( '=====url' , url )
10491047 if ( url . indexOf ( 'map.json' ) > - 1 ) {
10501048 var mapJson = datavizWebMap_WMTS ;
10511049 return Promise . resolve ( new Response ( mapJson ) ) ;
You can’t perform that action at this time.
0 commit comments