[OpenLayers-Trac] [OpenLayers] #3011: Support tileOrigin for all Grid layers.

OpenLayers trac-20090302 at openlayers.org
Thu Jan 13 13:55:37 EST 2011


#3011: Support tileOrigin for all Grid layers.
------------------------+---------------------------------------------------
 Reporter:  tschaub     |       Owner:  elemoine    
     Type:  feature     |      Status:  new         
 Priority:  minor       |   Milestone:  2.11 Release
Component:  Layer.Grid  |     Version:  2.10        
 Keywords:              |       State:              
------------------------+---------------------------------------------------
 In r11002, support was added for a {{{tileExtent}}} property.  This was a
 quick fix to make gridded layers work with cached tile sets with a lattice
 that doesn't align with the layer's {{{maxExtent}}} property.  However,
 the "bottom left" assumption is still baked in (the lattice is aligned
 with the bottom left of the tileExtent or maxExtent).  This still doesn't
 work for all tile caches.

 The proper way to support tile caches with our gridded layers is to
 support a {{{tileOrigin}}} property.  It also makes sense to pull out the
 "bottom left" assumption into a property that other layers can override.

 To avoid overlapping property proliferation, and because the behavior with
 {{{tileExtent}}} is not really adequate (we also still request tiles
 outside the {{{tileExtent}}}), I'd like to remove that property and only
 add {{{tileOrigin}}} to the API.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3011>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list