File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export class LeafletLayer extends L.GridLayer {
112
112
coords : Coords ,
113
113
element : KeyedHtmlCanvasElement ,
114
114
key : string ,
115
- done = ( ) => { } ,
115
+ done = ( ) => { } ,
116
116
) {
117
117
this . lastRequestedZ = coords . z ;
118
118
@@ -261,9 +261,7 @@ export class LeafletLayer extends L.GridLayer {
261
261
262
262
public rerenderTile ( key : string ) {
263
263
for ( const unwrappedK in this . _tiles ) {
264
- const wrappedCoord = this . _wrapCoords (
265
- this . _keyToTileCoords ( unwrappedK ) ,
266
- ) ;
264
+ const wrappedCoord = this . _wrapCoords ( this . _keyToTileCoords ( unwrappedK ) ) ;
267
265
if ( key === this . _tileCoordsToKey ( wrappedCoord ) ) {
268
266
this . renderTile ( wrappedCoord , this . _tiles [ unwrappedK ] . el , key ) ;
269
267
}
@@ -301,9 +299,7 @@ export class LeafletLayer extends L.GridLayer {
301
299
302
300
public rerenderTiles ( ) {
303
301
for ( const unwrappedK in this . _tiles ) {
304
- const wrappedCoord = this . _wrapCoords (
305
- this . _keyToTileCoords ( unwrappedK ) ,
306
- ) ;
302
+ const wrappedCoord = this . _wrapCoords ( this . _keyToTileCoords ( unwrappedK ) ) ;
307
303
const key = this . _tileCoordsToKey ( wrappedCoord ) ;
308
304
this . renderTile ( wrappedCoord , this . _tiles [ unwrappedK ] . el , key ) ;
309
305
}
You can’t perform that action at this time.
0 commit comments