OpenLayers OpenLayers

Ticket #449 (closed feature: fixed)

Opened 2 years ago

Last modified 1 year ago

support for smallest possible number of tiles in grid layer

Reported by: openlayers Assigned to:
Priority: minor Milestone: 2.3 Release
Component: general Version:
Keywords: Cc: art@ischium.net
State:

Description

The attached patch makes some changes to grid and tile behaviour.

  • Allow layer.buffer == 0 to create a grid with the minium neccessary tiles
  • Remove extra rows and columns from the grid in _initTiles when reusing an existing grid, refs #357 and #436
  • Fix the clearGrid method which was calling OpenLayers.Util.clearArray on a tile instead of the tile's destroy method

I hope this is helpful.

Attachments

grid.patch (9.8 kB) - added by openlayers on 12/14/06 20:08:57.

Change History

12/14/06 20:08:57 changed by openlayers

  • attachment grid.patch added.

12/22/06 11:58:42 changed by crschmidt

  • keywords set to review.
  • milestone set to 2.3 Release.

12/22/06 13:35:57 changed by crschmidt

  • status changed from new to closed.
  • resolution set to fixed.

Committed in r2091. Thx!

07/05/07 17:07:15 changed by euzuro

  • keywords deleted.