Ticket #1925 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

resetBackBuffer never hides the backbuffer tile

Reported by: ksgeograf Owned by: euzuro
Priority: trivial Milestone:
Component: Tile.Image Version:
Keywords: Cc:
State:

Description

In Tile/Image.js the comments for "resetBackBuffer" are:

    /** 
     * Method: resetBackBuffer
... omitted lines ....
     *  - If layer is still loading, show foreground tile but don't hide
     *    the backBufferTile yet
     *  - If layer is done loading, reset backBuffer tile and show 
     *    foreground tile
     */

But the code never hides the backbuffer tile. Even when no more tiles are supposed to load (ea this.layer.numLoadingTiles == 0).

I have a map were the overlays are semi-transparent, and this means that the color gets applied twice, making it appear darker.

The attached patch fixes the problem by hiding the backBufferTile.

Change History

Changed 4 years ago by ksgeograf

  • status changed from new to closed
  • type changed from feature to bug
  • priority changed from minor to trivial
  • version 2.7 deleted
  • keywords resetBackBuffer tiles duplicate removed
  • resolution set to invalid

File attached to 1926, this was a mispost.

Note: See TracTickets for help on using tickets.