[OpenLayers-Trac] [OpenLayers] #529: allow tiles to have gutters

OpenLayers trac at openlayers.org
Mon Apr 2 11:52:56 EDT 2007


#529: allow tiles to have gutters
----------------------+-----------------------------------------------------
  Reporter:  tschaub  |       Owner:  tschaub    
      Type:  feature  |      Status:  new        
  Priority:  minor    |   Milestone:  2.4 Release
 Component:  general  |     Version:             
Resolution:           |    Keywords:             
----------------------+-----------------------------------------------------
Changes (by tschaub):

  * keywords:  commit =>

Comment:

 Ok, final patch (fingers crossed).  There were issues with the above patch
 and untiled layers.  This patch creates a setTileSize on all layers.  This
 method not only sets layer.tileSize, it also sets layer.imageSize and
 layer.imageOffset.  These are used by Tile.Image.  The untiled layers need
 to setTileSize in a different way - and more frequently.  They define
 their own setTileSize which bases the calculation on the map viewport
 size.  I think things will be easier to maintain this way.

 In addition to the aforementioned gutter.html example, see:

 1)
 [http://dev.openlayers.org/sandbox/tschaub/gutter/examples/mapserver.html
 mapserver.html] with gutters

 2)
 [http://dev.openlayers.org/sandbox/tschaub/gutter/examples/mapserver_untiled.html
 mapserver_untiled.html] without gutters

 3) [http://dev.openlayers.org/sandbox/tschaub/gutter/examples/wms-
 untiled.html wms-untiled.html] without gutters

 Please review gutter.3.patch.  Will commit if it looks good.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/529#comment:9>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list