[OpenLayers-Trac] [OpenLayers] #3637: Wrong folder structure?

OpenLayers trac-20090302 at openlayers.org
Wed Mar 14 05:19:59 EDT 2012


#3637: Wrong folder structure?
-------------------------------+--------------------------------------------
 Reporter:  krooole            |       Owner:              
     Type:  bug                |      Status:  new         
 Priority:  minor              |   Milestone:  2.13 Release
Component:  Layer.ArcGISCache  |     Version:  2.11        
 Keywords:                     |       State:              
-------------------------------+--------------------------------------------
 Method getURL() in class OpenLayers.Layer.ArcGISCache uses hex values to
 determine the full path for a given tile.

 However, ArcGis server seems to use deicmal values for the first folder
 level, and hex values for the rest.
 This is true at least for ArcGISServer 9.3 anod older (havent had a chance
 to lay my hands on v10 yet).

 So, the code after ln.445 should be:
 x = 'C' + this.zeroPad(x, 8, 16);
 y = 'R' + this.zeroPad(y, 8, 16);
 z = 'L' + this.zeroPad(z, 2, 10);

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


More information about the Trac mailing list