[OpenLayers-Trac] [OpenLayers] #3628: Web Mercator overlays broken with "maxResolution: 156543.0339"

OpenLayers trac-20090302 at openlayers.org
Tue Feb 28 13:12:47 EST 2012


#3628: Web Mercator overlays broken with "maxResolution: 156543.0339"
-----------------------+----------------------------------------------------
 Reporter:  nrenner    |       Owner:              
     Type:  bug        |      Status:  new         
 Priority:  major      |   Milestone:  2.12 Release
Component:  Layer.XYZ  |     Version:  SVN         
 Keywords:             |       State:              
-----------------------+----------------------------------------------------
 Maps with option "maxResolution: 156543.0339" calculate wrong tile URLs
 for overlays, at least when using Google as base layer and OSM as overlay,
 see:

 http://jsfiddle.net/nrenner/N3DSB/

 This probably has been introduced by
 [https://github.com/openlayers/openlayers/pull/219 #219].

 Simply not setting maxResolution or setting "maxResolution:
 156543.03390625" does work, but many existing maps probably still use
 "maxResolution: 156543.0339" and might get broken.

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


More information about the Trac mailing list