File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
common/overlay/levelRenderer Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ export class Log {
1919
2020 this . CLASS_NAME = "SuperMap.LevelRenderer.Tool.Log" ;
2121 return function ( ) {
22- if ( Config . debugMode === 0 ) {
22+ if ( + Config . debugMode === 0 ) {
2323 return ;
24- } else if ( Config . debugMode === 1 ) {
24+ } else if ( + Config . debugMode === 1 ) {
2525 for ( let k in arguments ) {
2626 throw new Error ( arguments [ k ] ) ;
2727 }
28- } else if ( Config . debugMode > 1 ) {
28+ } else if ( + Config . debugMode > 1 ) {
2929 for ( let k in arguments ) {
3030 console . log ( arguments [ k ] ) ;
3131 }
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ export class Transformable {
183183 }
184184 }
185185 } else {
186- if ( this . rotation !== 0 ) {
186+ if ( + this . rotation !== 0 ) {
187187 SUtil . Util_matrix . rotate ( m , m , this . rotation ) ;
188188 }
189189 }
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export class ImageTileSuperMapRest extends XYZ {
6666 return layerUrl ;
6767 }
6868
69- function _getAllRequestParams ( ) {
69+ function _getAllRequestParams ( options ) {
7070 var params = { } ;
7171 params [ 'transparent' ] = options . transparent ;
7272 params [ 'cacheEnabled' ] = ! ( options . cacheEnabled === false ) ;
You can’t perform that action at this time.
0 commit comments