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 {
19
19
20
20
this . CLASS_NAME = "SuperMap.LevelRenderer.Tool.Log" ;
21
21
return function ( ) {
22
- if ( Config . debugMode === 0 ) {
22
+ if ( + Config . debugMode === 0 ) {
23
23
return ;
24
- } else if ( Config . debugMode === 1 ) {
24
+ } else if ( + Config . debugMode === 1 ) {
25
25
for ( let k in arguments ) {
26
26
throw new Error ( arguments [ k ] ) ;
27
27
}
28
- } else if ( Config . debugMode > 1 ) {
28
+ } else if ( + Config . debugMode > 1 ) {
29
29
for ( let k in arguments ) {
30
30
console . log ( arguments [ k ] ) ;
31
31
}
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ export class Transformable {
183
183
}
184
184
}
185
185
} else {
186
- if ( this . rotation !== 0 ) {
186
+ if ( + this . rotation !== 0 ) {
187
187
SUtil . Util_matrix . rotate ( m , m , this . rotation ) ;
188
188
}
189
189
}
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export class ImageTileSuperMapRest extends XYZ {
66
66
return layerUrl ;
67
67
}
68
68
69
- function _getAllRequestParams ( ) {
69
+ function _getAllRequestParams ( options ) {
70
70
var params = { } ;
71
71
params [ 'transparent' ] = options . transparent ;
72
72
params [ 'cacheEnabled' ] = ! ( options . cacheEnabled === false ) ;
You can’t perform that action at this time.
0 commit comments