[OpenLayers-Trac] [OpenLayers] #1207: map.updateSize causes all WMS Untiled baselayers to load images from WMS

OpenLayers trac at openlayers.org
Sun Feb 3 15:43:26 EST 2008


#1207: map.updateSize causes all WMS Untiled baselayers to load images from WMS
------------------------------+---------------------------------------------
  Reporter:  bartvde          |       Owner:             
      Type:  bug              |      Status:  new        
  Priority:  major            |   Milestone:  2.6 Release
 Component:  general          |     Version:  SVN        
Resolution:                   |    Keywords:             
     State:  Needs More Work  |  
------------------------------+---------------------------------------------
Comment (by elemoine):

 Replying to [comment:14 bartvde]:
 > Replying to [comment:12 elemoine]:
 > > Bart, Chris,
 > >
 > > How about not drawing anything in onMapResize() as the drawing part
 will be done as part of the setCenter() call in updateSize() if the map
 has a base layer?
 > >
 > > See the attached (untested) patch.
 > This approach makes sense to me.
 That approach works well with Grid layers but is probably not applicable
 to the commercial layers. This makes me think that the right approach is
 Chris'.

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


More information about the Trac mailing list