[OpenLayers-Trac] [OpenLayers] #616: untiled layers should set this.tileSize

OpenLayers trac at openlayers.org
Mon Apr 2 06:50:38 EDT 2007


#616: untiled layers should set this.tileSize
----------------------+-----------------------------------------------------
  Reporter:  tschaub  |       Owner:  tschaub    
      Type:  feature  |      Status:  new        
  Priority:  minor    |   Milestone:  2.4 Release
 Component:  Layer    |     Version:             
Resolution:           |    Keywords:             
----------------------+-----------------------------------------------------
Changes (by crschmidt):

  * keywords:  review =>

Comment:

 What happens with this is the map is resized to be much larger? I think
 the answer is "it breaks" -- that was the reason for having the tileSize
 calculated in moveTo, because if we calculated it every time the map
 center moved, we'd definitely catch a resize.

 Since map now calls 'onMapResize' on the layer every time the map size
 changes, this can probably be calculated there, but this means that the
 current patch isn't quite good enough.

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


More information about the Trac mailing list