[OpenLayers-Trac] [OpenLayers] #2971: KaMapCache: undefined varibles

OpenLayers trac-20090302 at openlayers.org
Wed Dec 8 14:37:04 EST 2010


#2971: KaMapCache: undefined varibles
-------------------------+--------------------------------------------------
 Reporter:  jorix        |       Owner:  crschmidt   
     Type:  bug          |      Status:  new         
 Priority:  minor        |   Milestone:  2.11 Release
Component:  Layer.KaMap  |     Version:  2.10        
 Keywords:               |       State:              
-------------------------+--------------------------------------------------
 The Closure Compiler has found an undefined varibles in:

 {{{
 ..\lib\OpenLayers\Layer\KaMapCache.js:91: ERROR - variable DEFAULT_FORMAT
 is undefined
         this.extension = this.IMAGE_EXTENSIONS[this.params.i.toLowerCase()
 || DEFAULT_FORMAT];
 ^

 ..\lib\OpenLayers\Layer\KaMapCache.js:121: ERROR - variable paramsString
 is undefined
             url = this.selectUrl(paramsString, url);
                                  ^
 }}}
 Regarding the first variable seems to be missing the "this." (
 this.DEFAULT_FORMAT?)

 I think the second requires a similar work done in "TileCache.js"

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


More information about the Trac mailing list