16.8 MB
/srv/reproducible-results/rbuild-debian/r-b-build.M0x78qiM/b1/openlayers_2.13.1+ds2-10_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.M0x78qiM/b2/openlayers_2.13.1+ds2-10_armhf.changes
230 B
Files
    
Offset 1, 2 lines modifiedOffset 1, 2 lines modified
  
1 ·12bdc705a66de484ba6d90de49a3fdf3·764084·javascript·optional·libjs-openlayers_2.13.1+ds2-10_all.deb1 ·c5b7e5c200b9cd4991cea7757a73d3c3·715764·javascript·optional·libjs-openlayers_2.13.1+ds2-10_all.deb
16.8 MB
libjs-openlayers_2.13.1+ds2-10_all.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2023-01-14·13:27:41.000000·debian-binary1 -rw-r--r--···0········0········0········4·2023-01-14·13:27:41.000000·debian-binary
2 -rw-r--r--···0········0········0·····3680·2023-01-14·13:27:41.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3680·2023-01-14·13:27:41.000000·control.tar.xz
3 -rw-r--r--···0········0········0···760212·2023-01-14·13:27:41.000000·data.tar.xz3 -rw-r--r--···0········0········0···711892·2023-01-14·13:27:41.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
16.8 MB
data.tar.xz
16.8 MB
data.tar
4.89 MB
./usr/share/javascript/openlayers/OpenLayers.js
4.89 MB
js-beautify {}
    
Offset 52, 37 lines modifiedOffset 52, 14 lines modified
52 ·*·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS52 ·*·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS
53 ·*·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN53 ·*·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN
54 ·*·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE)54 ·*·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE)
55 ·*·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE·55 ·*·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE·
56 ·*·POSSIBILITY·OF·SUCH·DAMAGE.56 ·*·POSSIBILITY·OF·SUCH·DAMAGE.
57 ·*/57 ·*/
58 /*·======================================================================58 /*·======================================================================
59 ····Rico/license.js 
60 ···======================================================================·*/ 
  
61 /** 
62 ·*·@license·Apache·2· 
63 ·*·· 
64 ·*·Contains·portions·of·Rico·<http://openrico.org/> 
65 ·*· 
66 ·*·Copyright·2005·Sabre·Airline·Solutions·· 
67 ·* 
68 ·*·Licensed·under·the·Apache·License,·Version·2.0·(the·"License");·you 
69 ·*·may·not·use·this·file·except·in·compliance·with·the·License.·You 
70 ·*·may·obtain·a·copy·of·the·License·at 
71 ·* 
72 ·*·····http://www.apache.org/licenses/LICENSE-2.0·· 
73 ·* 
74 ·*·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software 
75 ·*·distributed·under·the·License·is·distributed·on·an·"AS·IS"·BASIS, 
76 ·*·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY·KIND,·either·express·or 
77 ·*·implied.·See·the·License·for·the·specific·language·governing 
78 ·*·permissions·and·limitations·under·the·License.· 
79 ·*/ 
80 /*·====================================================================== 
81 ····OpenLayers/SingleFile.js59 ····OpenLayers/SingleFile.js
82 ···======================================================================·*/60 ···======================================================================·*/
  
83 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for61 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
84 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.62 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
85 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the63 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
86 ·*·full·text·of·the·license.·*/64 ·*·full·text·of·the·license.·*/
Offset 159, 395 lines modifiedOffset 136, 14 lines modified
159 ·····*·(code)136 ·····*·(code)
160 ·····*···<link·rel="stylesheet"·href="/path/to/default/style.css"··type="text/css">137 ·····*···<link·rel="stylesheet"·href="/path/to/default/style.css"··type="text/css">
161 ·····*·(end·code)138 ·····*·(end·code)
162 ·····*/139 ·····*/
163 ····ImgPath:·''140 ····ImgPath:·''
164 };141 };
165 /*·======================================================================142 /*·======================================================================
166 ····OpenLayers/BaseTypes/Class.js 
167 ···======================================================================·*/ 
  
168 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for 
169 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license. 
170 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the 
171 ·*·full·text·of·the·license.·*/ 
  
172 /** 
173 ·*·@requires·OpenLayers/SingleFile.js 
174 ·*/ 
  
175 /** 
176 ·*·Constructor:·OpenLayers.Class 
177 ·*·Base·class·used·to·construct·all·other·classes.·Includes·support·for· 
178 ·*·····multiple·inheritance.· 
179 ·*····· 
180 ·*·This·constructor·is·new·in·OpenLayers·2.5.··At·OpenLayers·3.0,·the·old· 
181 ·*·····syntax·for·creating·classes·and·dealing·with·inheritance· 
182 ·*·····will·be·removed. 
183 ·*· 
184 ·*·To·create·a·new·OpenLayers-style·class,·use·the·following·syntax: 
185 ·*·(code) 
186 ·*·····var·MyClass·=·OpenLayers.Class(prototype); 
187 ·*·(end) 
188 ·* 
189 ·*·To·create·a·new·OpenLayers-style·class·with·multiple·inheritance,·use·the 
190 ·*·····following·syntax: 
191 ·*·(code) 
192 ·*·····var·MyClass·=·OpenLayers.Class(Class1,·Class2,·prototype); 
193 ·*·(end) 
194 ·*· 
195 ·*·Note·that·instanceof·reflection·will·only·reveal·Class1·as·superclass. 
196 ·* 
197 ·*/ 
198 OpenLayers.Class·=·function()·{ 
199 ····var·len·=·arguments.length; 
200 ····var·P·=·arguments[0]; 
201 ····var·F·=·arguments[len·-·1]; 
  
202 ····var·C·=·typeof·F.initialize·==·"function"·? 
203 ········F.initialize·: 
204 ········function()·{ 
205 ············P.prototype.initialize.apply(this,·arguments); 
206 ········}; 
  
207 ····if·(len·>·1)·{ 
208 ········var·newArgs·=·[C,·P].concat( 
209 ············Array.prototype.slice.call(arguments).slice(1,·len·-·1),·F); 
210 ········OpenLayers.inherit.apply(null,·newArgs); 
211 ····}·else·{ 
212 ········C.prototype·=·F; 
213 ····} 
214 ····return·C; 
215 }; 
  
216 /** 
217 ·*·Function:·OpenLayers.inherit 
218 ·* 
219 ·*·Parameters: 
220 ·*·C·-·{Object}·the·class·that·inherits 
221 ·*·P·-·{Object}·the·superclass·to·inherit·from 
222 ·* 
223 ·*·In·addition·to·the·mandatory·C·and·P·parameters,·an·arbitrary·number·of 
224 ·*·objects·can·be·passed,·which·will·extend·C. 
225 ·*/ 
226 OpenLayers.inherit·=·function(C,·P)·{ 
227 ····var·F·=·function()·{}; 
228 ····F.prototype·=·P.prototype; 
229 ····C.prototype·=·new·F; 
230 ····var·i,·l,·o; 
231 ····for·(i·=·2,·l·=·arguments.length;·i·<·l;·i++)·{ 
232 ········o·=·arguments[i]; 
233 ········if·(typeof·o·===·"function")·{ 
234 ············o·=·o.prototype; 
235 ········} 
236 ········OpenLayers.Util.extend(C.prototype,·o); 
237 ····} 
238 }; 
  
239 /** 
240 ·*·APIFunction:·extend 
Max diff block lines reached; 5113882/5128248 bytes (99.72%) of diff not shown.
1.61 MB
./usr/share/javascript/openlayers/OpenLayers.light.js
1.61 MB
js-beautify {}
    
Offset 263, 14 lines modifiedOffset 263, 449 lines modified
263 ············source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{263 ············source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
264 ············destination.toString·=·source.toString;264 ············destination.toString·=·source.toString;
265 ········}265 ········}
266 ····}266 ····}
267 ····return·destination;267 ····return·destination;
268 };268 };
269 /*·======================================================================269 /*·======================================================================
 270 ····OpenLayers/Util/vendorPrefix.js
 271 ···======================================================================·*/
  
 272 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
 273 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
 274 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
 275 ·*·full·text·of·the·license.·*/
  
 276 /**
 277 ·*·@requires·OpenLayers/SingleFile.js
 278 ·*/
  
 279 OpenLayers.Util·=·OpenLayers.Util·||·{};
 280 /**
 281 ·*·Namespace:·OpenLayers.Util.vendorPrefix
 282 ·*·A·collection·of·utility·functions·to·detect·vendor·prefixed·features
 283 ·*/
 284 OpenLayers.Util.vendorPrefix·=·(function()·{
 285 ····"use·strict";
  
 286 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"],
 287 ········divStyle·=·document.createElement("div").style,
 288 ········cssCache·=·{},
 289 ········jsCache·=·{};
  
  
 290 ····/**
 291 ·····*·Function:·domToCss
 292 ·····*·Converts·a·upper·camel·case·DOM·style·property·name·to·a·CSS·property
 293 ·····*······i.e.·transformOrigin·->·transform-origin
 294 ·····*······or···WebkitTransformOrigin·->·-webkit-transform-origin
 295 ·····*
 296 ·····*·Parameters:
 297 ·····*·prefixedDom·-·{String}·The·property·to·convert
 298 ·····*
 299 ·····*·Returns:
 300 ·····*·{String}·The·CSS·property
 301 ·····*/
 302 ····function·domToCss(prefixedDom)·{
 303 ········if·(!prefixedDom)·{
 304 ············return·null;
 305 ········}
 306 ········return·prefixedDom.
 307 ········replace(/([A-Z])/g,·function(c)·{
 308 ············return·"-"·+·c.toLowerCase();
 309 ········}).
 310 ········replace(/^ms-/,·"-ms-");
 311 ····}
  
 312 ····/**
 313 ·····*·APIMethod:·css
 314 ·····*·Detect·which·property·is·used·for·a·CSS·property
 315 ·····*
 316 ·····*·Parameters:
 317 ·····*·property·-·{String}·The·standard·(unprefixed)·CSS·property·name
 318 ·····*
 319 ·····*·Returns:
 320 ·····*·{String}·The·standard·CSS·property,·prefixed·property·or·null·if·not
 321 ·····*··········supported
 322 ·····*/
 323 ····function·css(property)·{
 324 ········if·(cssCache[property]·===·undefined)·{
 325 ············var·domProperty·=·property.
 326 ············replace(/(-[\s\S])/g,·function(c)·{
 327 ················return·c.charAt(1).toUpperCase();
 328 ············});
 329 ············var·prefixedDom·=·style(domProperty);
 330 ············cssCache[property]·=·domToCss(prefixedDom);
 331 ········}
 332 ········return·cssCache[property];
 333 ····}
  
 334 ····/**
 335 ·····*·APIMethod:·js
 336 ·····*·Detect·which·property·is·used·for·a·JS·property/method
 337 ·····*
 338 ·····*·Parameters:
 339 ·····*·obj·-·{Object}·The·object·to·test·on
 340 ·····*·property·-·{String}·The·standard·(unprefixed)·JS·property·name
 341 ·····*
 342 ·····*·Returns:
 343 ·····*·{String}·The·standard·JS·property,·prefixed·property·or·null·if·not
 344 ·····*··········supported
 345 ·····*/
 346 ····function·js(obj,·property)·{
 347 ········if·(jsCache[property]·===·undefined)·{
 348 ············var·tmpProp,
 349 ················i·=·0,
 350 ················l·=·VENDOR_PREFIXES.length,
 351 ················prefix,
 352 ················isStyleObj·=·(typeof·obj.cssText·!==·"undefined");
  
 353 ············jsCache[property]·=·null;
 354 ············for·(;·i·<·l;·i++)·{
 355 ················prefix·=·VENDOR_PREFIXES[i];
 356 ················if·(prefix)·{
 357 ····················if·(!isStyleObj)·{
 358 ························//·js·prefix·should·be·lower-case,·while·style
 359 ························//·properties·have·upper·case·on·first·character
 360 ························prefix·=·prefix.toLowerCase();
 361 ····················}
 362 ····················tmpProp·=·prefix·+·property.charAt(0).toUpperCase()·+·property.slice(1);
 363 ················}·else·{
 364 ····················tmpProp·=·property;
 365 ················}
  
 366 ················if·(obj[tmpProp]·!==·undefined)·{
 367 ····················jsCache[property]·=·tmpProp;
 368 ····················break;
 369 ················}
 370 ············}
 371 ········}
 372 ········return·jsCache[property];
 373 ····}
  
 374 ····/**
 375 ·····*·APIMethod:·style
 376 ·····*·Detect·which·property·is·used·for·a·DOM·style·property
 377 ·····*
 378 ·····*·Parameters:
Max diff block lines reached; 1674802/1688238 bytes (99.20%) of diff not shown.
732 KB
./usr/share/javascript/openlayers/OpenLayers.light.min.js
731 KB
js-beautify {}
    
Offset 62, 14 lines modifiedOffset 62, 204 lines modified
62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;
63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
64 ············destination.toString·=·source.toString64 ············destination.toString·=·source.toString
65 ········}65 ········}
66 ····}66 ····}
67 ····return·destination67 ····return·destination
68 };68 };
 69 OpenLayers.Util·=·OpenLayers.Util·||·{};
 70 OpenLayers.Util.vendorPrefix·=·function()·{
 71 ····"use·strict";
 72 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"],
 73 ········divStyle·=·document.createElement("div").style,
 74 ········cssCache·=·{},
 75 ········jsCache·=·{};
  
 76 ····function·domToCss(prefixedDom)·{
 77 ········if·(!prefixedDom)·{
 78 ············return·null
 79 ········}
 80 ········return·prefixedDom.replace(/([A-Z])/g,·function(c)·{
 81 ············return·"-"·+·c.toLowerCase()
 82 ········}).replace(/^ms-/,·"-ms-")
 83 ····}
  
 84 ····function·css(property)·{
 85 ········if·(cssCache[property]·===·undefined)·{
 86 ············var·domProperty·=·property.replace(/(-[\s\S])/g,·function(c)·{
 87 ················return·c.charAt(1).toUpperCase()
 88 ············});
 89 ············var·prefixedDom·=·style(domProperty);
 90 ············cssCache[property]·=·domToCss(prefixedDom)
 91 ········}
 92 ········return·cssCache[property]
 93 ····}
  
 94 ····function·js(obj,·property)·{
 95 ········if·(jsCache[property]·===·undefined)·{
 96 ············var·tmpProp,·i·=·0,
 97 ················l·=·VENDOR_PREFIXES.length,
 98 ················prefix,·isStyleObj·=·typeof·obj.cssText·!==·"undefined";
 99 ············jsCache[property]·=·null;
 100 ············for·(;·i·<·l;·i++)·{
 101 ················prefix·=·VENDOR_PREFIXES[i];
 102 ················if·(prefix)·{
 103 ····················if·(!isStyleObj)·{
 104 ························prefix·=·prefix.toLowerCase()
 105 ····················}
 106 ····················tmpProp·=·prefix·+·property.charAt(0).toUpperCase()·+·property.slice(1)
 107 ················}·else·{
 108 ····················tmpProp·=·property
 109 ················}
 110 ················if·(obj[tmpProp]·!==·undefined)·{
 111 ····················jsCache[property]·=·tmpProp;
 112 ····················break
 113 ················}
 114 ············}
 115 ········}
 116 ········return·jsCache[property]
 117 ····}
  
 118 ····function·style(property)·{
 119 ········return·js(divStyle,·property)
 120 ····}
 121 ····return·{
 122 ········css:·css,
 123 ········js:·js,
 124 ········style:·style,
 125 ········cssCache:·cssCache,
 126 ········jsCache:·jsCache
 127 ····}
 128 }();
 129 OpenLayers.Animation·=·function(window)·{
 130 ····var·requestAnimationFrame·=·OpenLayers.Util.vendorPrefix.js(window,·"requestAnimationFrame");
 131 ····var·isNative·=·!!requestAnimationFrame;
 132 ····var·requestFrame·=·function()·{
 133 ········var·request·=·window[requestAnimationFrame]·||·function(callback,·element)·{
 134 ············window.setTimeout(callback,·16)
 135 ········};
 136 ········return·function(callback,·element)·{
 137 ············request.apply(window,·[callback,·element])
 138 ········}
 139 ····}();
 140 ····var·counter·=·0;
 141 ····var·loops·=·{};
  
 142 ····function·start(callback,·duration,·element)·{
 143 ········duration·=·duration·>·0·?·duration·:·Number.POSITIVE_INFINITY;
 144 ········var·id·=·++counter;
 145 ········var·start·=·+new·Date;
 146 ········loops[id]·=·function()·{
 147 ············if·(loops[id]·&&·+new·Date·-·start·<=·duration)·{
 148 ················callback();
 149 ················if·(loops[id])·{
 150 ····················requestFrame(loops[id],·element)
 151 ················}
 152 ············}·else·{
 153 ················delete·loops[id]
 154 ············}
 155 ········};
 156 ········requestFrame(loops[id],·element);
 157 ········return·id
 158 ····}
  
 159 ····function·stop(id)·{
 160 ········delete·loops[id]
 161 ····}
 162 ····return·{
 163 ········isNative:·isNative,
 164 ········requestFrame:·requestFrame,
 165 ········start:·start,
 166 ········stop:·stop
 167 ····}
 168 }(window);
 169 OpenLayers.Kinetic·=·OpenLayers.Class({
 170 ····threshold:·0,
 171 ····deceleration:·.0035,
 172 ····nbPoints:·100,
 173 ····delay:·200,
 174 ····points:·undefined,
 175 ····timerId:·undefined,
 176 ····initialize:·function(options)·{
 177 ········OpenLayers.Util.extend(this,·options)
 178 ····},
 179 ····begin:·function()·{
 180 ········OpenLayers.Animation.stop(this.timerId);
 181 ········this.timerId·=·undefined;
 182 ········this.points·=·[]
Max diff block lines reached; 742672/748984 bytes (99.16%) of diff not shown.
1.97 MB
./usr/share/javascript/openlayers/OpenLayers.min.js
1.97 MB
js-beautify {}
    
Offset 17, 92 lines modifiedOffset 17, 14 lines modified
17 ········}17 ········}
18 ········return·function()·{18 ········return·function()·{
19 ············return·l19 ············return·l
20 ········}20 ········}
21 ····}(),21 ····}(),
22 ····ImgPath:·""22 ····ImgPath:·""
23 };23 };
24 OpenLayers.Class·=·function()·{ 
25 ····var·len·=·arguments.length; 
26 ····var·P·=·arguments[0]; 
27 ····var·F·=·arguments[len·-·1]; 
28 ····var·C·=·typeof·F.initialize·==·"function"·?·F.initialize·:·function()·{ 
29 ········P.prototype.initialize.apply(this,·arguments) 
30 ····}; 
31 ····if·(len·>·1)·{ 
32 ········var·newArgs·=·[C,·P].concat(Array.prototype.slice.call(arguments).slice(1,·len·-·1),·F); 
33 ········OpenLayers.inherit.apply(null,·newArgs) 
34 ····}·else·{ 
35 ········C.prototype·=·F 
36 ····} 
37 ····return·C 
38 }; 
39 OpenLayers.inherit·=·function(C,·P)·{ 
40 ····var·F·=·function()·{}; 
41 ····F.prototype·=·P.prototype; 
42 ····C.prototype·=·new·F; 
43 ····var·i,·l,·o; 
44 ····for·(i·=·2,·l·=·arguments.length;·i·<·l;·i++)·{ 
45 ········o·=·arguments[i]; 
46 ········if·(typeof·o·===·"function")·{ 
47 ············o·=·o.prototype 
48 ········} 
49 ········OpenLayers.Util.extend(C.prototype,·o) 
50 ····} 
51 }; 
52 OpenLayers.Util·=·OpenLayers.Util·||·{}; 
53 OpenLayers.Util.extend·=·function(destination,·source)·{ 
54 ····destination·=·destination·||·{}; 
55 ····if·(source)·{ 
56 ········for·(var·property·in·source)·{ 
57 ············var·value·=·source[property]; 
58 ············if·(value·!==·undefined)·{ 
59 ················destination[property]·=·value 
60 ············} 
61 ········} 
62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event; 
63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{ 
64 ············destination.toString·=·source.toString 
65 ········} 
66 ····} 
67 ····return·destination 
68 }; 
69 OpenLayers.Console·=·{ 
70 ····log:·function()·{}, 
71 ····debug:·function()·{}, 
72 ····info:·function()·{}, 
73 ····warn:·function()·{}, 
74 ····error:·function()·{}, 
75 ····userError:·function(error)·{ 
76 ········alert(error) 
77 ····}, 
78 ····assert:·function()·{}, 
79 ····dir:·function()·{}, 
80 ····dirxml:·function()·{}, 
81 ····trace:·function()·{}, 
82 ····group:·function()·{}, 
83 ····groupEnd:·function()·{}, 
84 ····time:·function()·{}, 
85 ····timeEnd:·function()·{}, 
86 ····profile:·function()·{}, 
87 ····profileEnd:·function()·{}, 
88 ····count:·function()·{}, 
89 ····CLASS_NAME:·"OpenLayers.Console" 
90 }; 
91 (function()·{ 
92 ····var·scripts·=·document.getElementsByTagName("script"); 
93 ····for·(var·i·=·0,·len·=·scripts.length;·i·<·len;·++i)·{ 
94 ········if·(scripts[i].src.indexOf("firebug.js")·!=·-1)·{ 
95 ············if·(console)·{ 
96 ················OpenLayers.Util.extend(OpenLayers.Console,·console); 
97 ················break 
98 ············} 
99 ········} 
100 ····} 
101 })(); 
102 OpenLayers.String·=·{24 OpenLayers.String·=·{
103 ····startsWith:·function(str,·sub)·{25 ····startsWith:·function(str,·sub)·{
104 ········return·str.indexOf(sub)·==·026 ········return·str.indexOf(sub)·==·0
105 ····},27 ····},
106 ····contains:·function(str,·sub)·{28 ····contains:·function(str,·sub)·{
107 ········return·str.indexOf(sub)·!=·-129 ········return·str.indexOf(sub)·!=·-1
108 ····},30 ····},
Offset 245, 14 lines modifiedOffset 167, 59 lines modified
245 ····················}167 ····················}
246 ················}168 ················}
247 ············}169 ············}
248 ········}170 ········}
249 ········return·selected171 ········return·selected
250 ····}172 ····}
251 };173 };
 174 OpenLayers.Class·=·function()·{
 175 ····var·len·=·arguments.length;
 176 ····var·P·=·arguments[0];
 177 ····var·F·=·arguments[len·-·1];
 178 ····var·C·=·typeof·F.initialize·==·"function"·?·F.initialize·:·function()·{
 179 ········P.prototype.initialize.apply(this,·arguments)
 180 ····};
 181 ····if·(len·>·1)·{
 182 ········var·newArgs·=·[C,·P].concat(Array.prototype.slice.call(arguments).slice(1,·len·-·1),·F);
 183 ········OpenLayers.inherit.apply(null,·newArgs)
 184 ····}·else·{
 185 ········C.prototype·=·F
 186 ····}
 187 ····return·C
 188 };
 189 OpenLayers.inherit·=·function(C,·P)·{
 190 ····var·F·=·function()·{};
 191 ····F.prototype·=·P.prototype;
 192 ····C.prototype·=·new·F;
 193 ····var·i,·l,·o;
 194 ····for·(i·=·2,·l·=·arguments.length;·i·<·l;·i++)·{
 195 ········o·=·arguments[i];
 196 ········if·(typeof·o·===·"function")·{
 197 ············o·=·o.prototype
 198 ········}
 199 ········OpenLayers.Util.extend(C.prototype,·o)
 200 ····}
Max diff block lines reached; 2064689/2069086 bytes (99.79%) of diff not shown.
1.84 MB
./usr/share/javascript/openlayers/OpenLayers.mobile.js
1.84 MB
js-beautify {}
    
Offset 136, 14 lines modifiedOffset 136, 576 lines modified
136 ·····*·(code)136 ·····*·(code)
137 ·····*···<link·rel="stylesheet"·href="/path/to/default/style.css"··type="text/css">137 ·····*···<link·rel="stylesheet"·href="/path/to/default/style.css"··type="text/css">
138 ·····*·(end·code)138 ·····*·(end·code)
139 ·····*/139 ·····*/
140 ····ImgPath:·''140 ····ImgPath:·''
141 };141 };
142 /*·======================================================================142 /*·======================================================================
 143 ····OpenLayers/BaseTypes/Class.js
 144 ···======================================================================·*/
  
 145 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
 146 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
 147 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
 148 ·*·full·text·of·the·license.·*/
  
 149 /**
 150 ·*·@requires·OpenLayers/SingleFile.js
 151 ·*/
  
 152 /**
 153 ·*·Constructor:·OpenLayers.Class
 154 ·*·Base·class·used·to·construct·all·other·classes.·Includes·support·for·
 155 ·*·····multiple·inheritance.·
 156 ·*·····
 157 ·*·This·constructor·is·new·in·OpenLayers·2.5.··At·OpenLayers·3.0,·the·old·
 158 ·*·····syntax·for·creating·classes·and·dealing·with·inheritance·
 159 ·*·····will·be·removed.
 160 ·*·
 161 ·*·To·create·a·new·OpenLayers-style·class,·use·the·following·syntax:
 162 ·*·(code)
 163 ·*·····var·MyClass·=·OpenLayers.Class(prototype);
 164 ·*·(end)
 165 ·*
 166 ·*·To·create·a·new·OpenLayers-style·class·with·multiple·inheritance,·use·the
 167 ·*·····following·syntax:
 168 ·*·(code)
 169 ·*·····var·MyClass·=·OpenLayers.Class(Class1,·Class2,·prototype);
 170 ·*·(end)
 171 ·*·
 172 ·*·Note·that·instanceof·reflection·will·only·reveal·Class1·as·superclass.
 173 ·*
 174 ·*/
 175 OpenLayers.Class·=·function()·{
 176 ····var·len·=·arguments.length;
 177 ····var·P·=·arguments[0];
 178 ····var·F·=·arguments[len·-·1];
  
 179 ····var·C·=·typeof·F.initialize·==·"function"·?
 180 ········F.initialize·:
 181 ········function()·{
 182 ············P.prototype.initialize.apply(this,·arguments);
 183 ········};
  
 184 ····if·(len·>·1)·{
 185 ········var·newArgs·=·[C,·P].concat(
 186 ············Array.prototype.slice.call(arguments).slice(1,·len·-·1),·F);
 187 ········OpenLayers.inherit.apply(null,·newArgs);
 188 ····}·else·{
 189 ········C.prototype·=·F;
 190 ····}
 191 ····return·C;
 192 };
  
 193 /**
 194 ·*·Function:·OpenLayers.inherit
 195 ·*
 196 ·*·Parameters:
 197 ·*·C·-·{Object}·the·class·that·inherits
 198 ·*·P·-·{Object}·the·superclass·to·inherit·from
 199 ·*
 200 ·*·In·addition·to·the·mandatory·C·and·P·parameters,·an·arbitrary·number·of
 201 ·*·objects·can·be·passed,·which·will·extend·C.
 202 ·*/
 203 OpenLayers.inherit·=·function(C,·P)·{
 204 ····var·F·=·function()·{};
 205 ····F.prototype·=·P.prototype;
 206 ····C.prototype·=·new·F;
 207 ····var·i,·l,·o;
 208 ····for·(i·=·2,·l·=·arguments.length;·i·<·l;·i++)·{
 209 ········o·=·arguments[i];
 210 ········if·(typeof·o·===·"function")·{
 211 ············o·=·o.prototype;
 212 ········}
 213 ········OpenLayers.Util.extend(C.prototype,·o);
 214 ····}
 215 };
  
 216 /**
 217 ·*·APIFunction:·extend
 218 ·*·Copy·all·properties·of·a·source·object·to·a·destination·object.··Modifies
 219 ·*·····the·passed·in·destination·object.··Any·properties·on·the·source·object
 220 ·*·····that·are·set·to·undefined·will·not·be·(re)set·on·the·destination·object.
 221 ·*
 222 ·*·Parameters:
 223 ·*·destination·-·{Object}·The·object·that·will·be·modified
 224 ·*·source·-·{Object}·The·object·with·properties·to·be·set·on·the·destination
 225 ·*
 226 ·*·Returns:
 227 ·*·{Object}·The·destination·object.
 228 ·*/
 229 OpenLayers.Util·=·OpenLayers.Util·||·{};
 230 OpenLayers.Util.extend·=·function(destination,·source)·{
 231 ····destination·=·destination·||·{};
 232 ····if·(source)·{
 233 ········for·(var·property·in·source)·{
 234 ············var·value·=·source[property];
 235 ············if·(value·!==·undefined)·{
 236 ················destination[property]·=·value;
 237 ············}
 238 ········}
  
 239 ········/**
 240 ·········*·IE·doesn't·include·the·toString·property·when·iterating·over·an·object's
 241 ·········*·properties·with·the·for(property·in·object)·syntax.··Explicitly·check·if
 242 ·········*·the·source·has·its·own·toString·property.
 243 ·········*/
  
 244 ········/*
 245 ·········*·FF/Windows·<·2.0.0.13·reports·"Illegal·operation·on·WrappedNative
 246 ·········*·prototype·object"·when·calling·hawOwnProperty·if·the·source·object
 247 ·········*·is·an·instance·of·window.Event.
 248 ·········*/
  
 249 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&
 250 ············source·instanceof·window.Event;
  
 251 ········if·(!sourceIsEvt·&&
Max diff block lines reached; 1915060/1932549 bytes (99.10%) of diff not shown.
523 KB
./usr/share/javascript/openlayers/OpenLayers.mobile.min.js
522 KB
js-beautify {}
    
Offset 17, 14 lines modifiedOffset 17, 249 lines modified
17 ········}17 ········}
18 ········return·function()·{18 ········return·function()·{
19 ············return·l19 ············return·l
20 ········}20 ········}
21 ····}(),21 ····}(),
22 ····ImgPath:·""22 ····ImgPath:·""
23 };23 };
 24 OpenLayers.Class·=·function()·{
 25 ····var·len·=·arguments.length;
 26 ····var·P·=·arguments[0];
 27 ····var·F·=·arguments[len·-·1];
 28 ····var·C·=·typeof·F.initialize·==·"function"·?·F.initialize·:·function()·{
 29 ········P.prototype.initialize.apply(this,·arguments)
 30 ····};
 31 ····if·(len·>·1)·{
 32 ········var·newArgs·=·[C,·P].concat(Array.prototype.slice.call(arguments).slice(1,·len·-·1),·F);
 33 ········OpenLayers.inherit.apply(null,·newArgs)
 34 ····}·else·{
 35 ········C.prototype·=·F
 36 ····}
 37 ····return·C
 38 };
 39 OpenLayers.inherit·=·function(C,·P)·{
 40 ····var·F·=·function()·{};
 41 ····F.prototype·=·P.prototype;
 42 ····C.prototype·=·new·F;
 43 ····var·i,·l,·o;
 44 ····for·(i·=·2,·l·=·arguments.length;·i·<·l;·i++)·{
 45 ········o·=·arguments[i];
 46 ········if·(typeof·o·===·"function")·{
 47 ············o·=·o.prototype
 48 ········}
 49 ········OpenLayers.Util.extend(C.prototype,·o)
 50 ····}
 51 };
 52 OpenLayers.Util·=·OpenLayers.Util·||·{};
 53 OpenLayers.Util.extend·=·function(destination,·source)·{
 54 ····destination·=·destination·||·{};
 55 ····if·(source)·{
 56 ········for·(var·property·in·source)·{
 57 ············var·value·=·source[property];
 58 ············if·(value·!==·undefined)·{
 59 ················destination[property]·=·value
 60 ············}
 61 ········}
 62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;
 63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
 64 ············destination.toString·=·source.toString
 65 ········}
 66 ····}
 67 ····return·destination
 68 };
 69 OpenLayers.Util·=·OpenLayers.Util·||·{};
 70 OpenLayers.Util.vendorPrefix·=·function()·{
 71 ····"use·strict";
 72 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"],
 73 ········divStyle·=·document.createElement("div").style,
 74 ········cssCache·=·{},
 75 ········jsCache·=·{};
  
 76 ····function·domToCss(prefixedDom)·{
 77 ········if·(!prefixedDom)·{
 78 ············return·null
 79 ········}
 80 ········return·prefixedDom.replace(/([A-Z])/g,·function(c)·{
 81 ············return·"-"·+·c.toLowerCase()
 82 ········}).replace(/^ms-/,·"-ms-")
 83 ····}
  
 84 ····function·css(property)·{
 85 ········if·(cssCache[property]·===·undefined)·{
 86 ············var·domProperty·=·property.replace(/(-[\s\S])/g,·function(c)·{
 87 ················return·c.charAt(1).toUpperCase()
 88 ············});
 89 ············var·prefixedDom·=·style(domProperty);
 90 ············cssCache[property]·=·domToCss(prefixedDom)
 91 ········}
 92 ········return·cssCache[property]
 93 ····}
  
 94 ····function·js(obj,·property)·{
 95 ········if·(jsCache[property]·===·undefined)·{
 96 ············var·tmpProp,·i·=·0,
 97 ················l·=·VENDOR_PREFIXES.length,
 98 ················prefix,·isStyleObj·=·typeof·obj.cssText·!==·"undefined";
 99 ············jsCache[property]·=·null;
 100 ············for·(;·i·<·l;·i++)·{
 101 ················prefix·=·VENDOR_PREFIXES[i];
 102 ················if·(prefix)·{
 103 ····················if·(!isStyleObj)·{
 104 ························prefix·=·prefix.toLowerCase()
 105 ····················}
 106 ····················tmpProp·=·prefix·+·property.charAt(0).toUpperCase()·+·property.slice(1)
 107 ················}·else·{
 108 ····················tmpProp·=·property
 109 ················}
 110 ················if·(obj[tmpProp]·!==·undefined)·{
 111 ····················jsCache[property]·=·tmpProp;
 112 ····················break
 113 ················}
 114 ············}
 115 ········}
 116 ········return·jsCache[property]
 117 ····}
  
 118 ····function·style(property)·{
 119 ········return·js(divStyle,·property)
 120 ····}
 121 ····return·{
 122 ········css:·css,
 123 ········js:·js,
 124 ········style:·style,
 125 ········cssCache:·cssCache,
 126 ········jsCache:·jsCache
 127 ····}
 128 }();
 129 OpenLayers.Animation·=·function(window)·{
 130 ····var·requestAnimationFrame·=·OpenLayers.Util.vendorPrefix.js(window,·"requestAnimationFrame");
 131 ····var·isNative·=·!!requestAnimationFrame;
 132 ····var·requestFrame·=·function()·{
 133 ········var·request·=·window[requestAnimationFrame]·||·function(callback,·element)·{
 134 ············window.setTimeout(callback,·16)
 135 ········};
 136 ········return·function(callback,·element)·{
 137 ············request.apply(window,·[callback,·element])
 138 ········}
 139 ····}();
Max diff block lines reached; 527368/534996 bytes (98.57%) of diff not shown.
3.51 MB
./usr/share/javascript/openlayers/OpenLayers.tests.js
3.51 MB
js-beautify {}
    
Offset 33176, 1257 lines modifiedOffset 33176, 200 lines modified
  
33176 /**33176 /**
33177 ·*·Constant:·CORNER_SIZE33177 ·*·Constant:·CORNER_SIZE
33178 ·*·{Integer}·5.·Border·space·for·the·RICO·corners.33178 ·*·{Integer}·5.·Border·space·for·the·RICO·corners.
33179 ·*/33179 ·*/
33180 OpenLayers.Popup.AnchoredBubble.CORNER_SIZE·=·5;33180 OpenLayers.Popup.AnchoredBubble.CORNER_SIZE·=·5;
33181 /*·======================================================================33181 /*·======================================================================
33182 ····OpenLayers/TileManager.js33182 ····OpenLayers/Kinetic.js
33183 ···======================================================================·*/33183 ···======================================================================·*/
  
33184 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for33184 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
33185 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.33185 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
33186 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the33186 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
33187 ·*·full·text·of·the·license.·*/33187 ·*·full·text·of·the·license.·*/
  
  
33188 /** 
33189 ·*·@requires·OpenLayers/Util.js 
33190 ·*·@requires·OpenLayers/BaseTypes.js 
33191 ·*·@requires·OpenLayers/BaseTypes/Element.js 
33192 ·*·@requires·OpenLayers/Layer/Grid.js 
33193 ·*·@requires·OpenLayers/Tile/Image.js 
33194 ·*/ 
  
33195 /**33188 /**
 33189 ·*·@requires·OpenLayers/BaseTypes/Class.js
 33190 ·*·@requires·OpenLayers/Animation.js
33196 ·*·Class:·OpenLayers.TileManager 
33197 ·*·Provides·queueing·of·image·requests·and·caching·of·image·elements. 
33198 ·* 
33199 ·*·Queueing·avoids·unnecessary·image·requests·while·changing·zoom·levels 
33200 ·*·quickly,·and·helps·improve·dragging·performance·on·mobile·devices·that·show 
33201 ·*·a·lag·in·dragging·when·loading·of·new·images·starts.·<zoomDelay>·and 
33202 ·*·<moveDelay>·are·the·configuration·options·to·control·this·behavior. 
33203 ·* 
33204 ·*·Caching·avoids·setting·the·src·on·image·elements·for·images·that·have·already 
33205 ·*·been·used.·Several·maps·can·share·a·TileManager·instance,·in·which·case·each 
33206 ·*·map·gets·its·own·tile·queue,·but·all·maps·share·the·same·tile·cache. 
33207 ·*/33191 ·*/
33208 OpenLayers.TileManager·=·OpenLayers.Class({ 
  
33209 ····/** 
33210 ·····*·APIProperty:·cacheSize 
33211 ·····*·{Number}·Number·of·image·elements·to·keep·referenced·in·this·instance's 
33212 ·····*·cache·for·fast·reuse.·Default·is·256. 
33213 ·····*/ 
33214 ····cacheSize:·256, 
  
 33192 OpenLayers.Kinetic·=·OpenLayers.Class({
33215 ····/** 
33216 ·····*·APIProperty:·tilesPerFrame 
33217 ·····*·{Number}·Number·of·queued·tiles·to·load·per·frame·(see·<frameDelay>). 
33218 ·····*·····Default·is·2. 
33219 ·····*/ 
33220 ····tilesPerFrame:·2, 
  
33221 ····/** 
33222 ·····*·APIProperty:·frameDelay 
33223 ·····*·{Number}·Delay·between·tile·loading·frames·(see·<tilesPerFrame>)·in 
33224 ·····*·····milliseconds.·Default·is·16. 
33225 ·····*/ 
33226 ····frameDelay:·16, 
  
33227 ····/**33193 ····/**
33228 ·····*·APIProperty:·moveDelay 
33229 ·····*·{Number}·Delay·in·milliseconds·after·a·map's·move·event·before·loading 
33230 ·····*·tiles.·Default·is·100.33194 ·····*·Property:·threshold
 33195 ·····*·In·most·cases·changing·the·threshold·isn't·needed.
 33196 ·····*·In·px/ms,·default·to·0.
33231 ·····*/33197 ·····*/
33232 ····moveDelay:·100,33198 ····threshold:·0,
  
33233 ····/**33199 ····/**
 33200 ·····*·Property:·deceleration
 33201 ·····*·{Float}·the·deseleration·in·px/ms²,·default·to·0.0035.
33234 ·····*·APIProperty:·zoomDelay 
33235 ·····*·{Number}·Delay·in·milliseconds·after·a·map's·zoomend·event·before·loading 
33236 ·····*·tiles.·Default·is·200. 
33237 ·····*/33202 ·····*/
33238 ····zoomDelay:·200,33203 ····deceleration:·0.0035,
  
33239 ····/**33204 ····/**
33240 ·····*·Property:·maps33205 ·····*·Property:·nbPoints
33241 ·····*·{Array(<OpenLayers.Map>)}·The·maps·to·manage·tiles·on.33206 ·····*·{Integer}·the·number·of·points·we·use·to·calculate·the·kinetic
 33207 ·····*·initial·values.
33242 ·····*/33208 ·····*/
33243 ····maps:·null,33209 ····nbPoints:·100,
  
33244 ····/**33210 ····/**
33245 ·····*·Property:·tileQueueId 
33246 ·····*·{Object}·The·ids·of·the·<drawTilesFromQueue>·loop,·keyed·by·map·id.33211 ·····*·Property:·delay
 33212 ·····*·{Float}·time·to·consider·to·calculate·the·kinetic·initial·values.
 33213 ·····*·In·ms,·default·to·200.
33247 ·····*/33214 ·····*/
33248 ····tileQueueId:·null,33215 ····delay:·200,
  
33249 ····/**33216 ····/**
 33217 ·····*·Property:·points
 33218 ·····*·List·of·points·use·to·calculate·the·kinetic·initial·values.
33250 ·····*·Property:·tileQueue 
33251 ·····*·{Object(Array(<OpenLayers.Tile>))}·Tiles·queued·for·drawing,·keyed·by 
33252 ·····*·map·id. 
33253 ·····*/33219 ·····*/
33254 ····tileQueue:·null,33220 ····points:·undefined,
  
33255 ····/**33221 ····/**
33256 ·····*·Property:·tileCache33222 ·····*·Property:·timerId
33257 ·····*·{Object}·Cached·image·elements,·keyed·by·URL.33223 ·····*·ID·of·the·timer.
33258 ·····*/33224 ·····*/
33259 ····tileCache:·null,33225 ····timerId:·undefined,
  
33260 ····/**33226 ····/**
 33227 ·····*·Constructor:·OpenLayers.Kinetic
33261 ·····*·Property:·tileCacheIndex 
33262 ·····*·{Array(String)}·URLs·of·cached·tiles.·First·entry·is·the·least·recently 
33263 ·····*····used. 
33264 ·····*/33228 ·····*
33265 ····tileCacheIndex:·null, 
  
33266 ····/**· 
33267 ·····*·Constructor:·OpenLayers.TileManager 
33268 ·····*·Constructor·for·a·new·<OpenLayers.TileManager>·instance. 
33269 ·····*· 
33270 ·····*·Parameters:33229 ·····*·Parameters:
33271 ·····*·options·-·{Object}·Configuration·for·this·instance.33230 ·····*·options·-·{Object}
33272 ·····*/33231 ·····*/
33273 ····initialize:·function(options)·{33232 ····initialize:·function(options)·{
Max diff block lines reached; 3675508/3679977 bytes (99.88%) of diff not shown.
1.77 MB
./usr/share/javascript/openlayers/OpenLayers.tests.min.js
1.77 MB
js-beautify {}
    
Offset 13318, 485 lines modifiedOffset 13318, 97 lines modified
13318 ········var·corner·=·OpenLayers.Bounds.oppositeQuadrant(this.relativePosition);13318 ········var·corner·=·OpenLayers.Bounds.oppositeQuadrant(this.relativePosition);
13319 ········OpenLayers.Util.removeItem(corners,·corner);13319 ········OpenLayers.Util.removeItem(corners,·corner);
13320 ········return·corners.join("·")13320 ········return·corners.join("·")
13321 ····},13321 ····},
13322 ····CLASS_NAME:·"OpenLayers.Popup.AnchoredBubble"13322 ····CLASS_NAME:·"OpenLayers.Popup.AnchoredBubble"
13323 });13323 });
13324 OpenLayers.Popup.AnchoredBubble.CORNER_SIZE·=·5;13324 OpenLayers.Popup.AnchoredBubble.CORNER_SIZE·=·5;
13325 OpenLayers.TileManager·=·OpenLayers.Class({13325 OpenLayers.Kinetic·=·OpenLayers.Class({
 13326 ····threshold:·0,
 13327 ····deceleration:·.0035,
 13328 ····nbPoints:·100,
13326 ····cacheSize:·256, 
13327 ····tilesPerFrame:·2, 
13328 ····frameDelay:·16, 
13329 ····moveDelay:·100, 
13330 ····zoomDelay:·200,13329 ····delay:·200,
 13330 ····points:·undefined,
 13331 ····timerId:·undefined,
13331 ····maps:·null, 
13332 ····tileQueueId:·null, 
13333 ····tileQueue:·null, 
13334 ····tileCache:·null, 
13335 ····tileCacheIndex:·null, 
13336 ····initialize:·function(options)·{13332 ····initialize:·function(options)·{
13337 ········OpenLayers.Util.extend(this,·options);13333 ········OpenLayers.Util.extend(this,·options)
13338 ········this.maps·=·[]; 
13339 ········this.tileQueueId·=·{}; 
13340 ········this.tileQueue·=·{}; 
13341 ········this.tileCache·=·{}; 
13342 ········this.tileCacheIndex·=·[] 
13343 ····}, 
13344 ····addMap:·function(map)·{ 
13345 ········if·(this._destroyed·||·!OpenLayers.Layer.Grid)·{ 
13346 ············return 
13347 ········} 
13348 ········this.maps.push(map); 
13349 ········this.tileQueue[map.id]·=·[]; 
13350 ········for·(var·i·=·0,·ii·=·map.layers.length;·i·<·ii;·++i)·{ 
13351 ············this.addLayer({ 
13352 ················layer:·map.layers[i] 
13353 ············}) 
13354 ········} 
13355 ········map.events.on({ 
13356 ············move:·this.move, 
13357 ············zoomend:·this.zoomEnd, 
13358 ············changelayer:·this.changeLayer, 
13359 ············addlayer:·this.addLayer, 
13360 ············preremovelayer:·this.removeLayer, 
13361 ············scope:·this 
13362 ········}) 
13363 ····}, 
13364 ····removeMap:·function(map)·{ 
13365 ········if·(this._destroyed·||·!OpenLayers.Layer.Grid)·{ 
13366 ············return 
13367 ········} 
13368 ········window.clearTimeout(this.tileQueueId[map.id]); 
13369 ········if·(map.layers)·{ 
13370 ············for·(var·i·=·0,·ii·=·map.layers.length;·i·<·ii;·++i)·{ 
13371 ················this.removeLayer({ 
13372 ····················layer:·map.layers[i] 
13373 ················}) 
13374 ············} 
13375 ········} 
13376 ········if·(map.events)·{ 
13377 ············map.events.un({ 
13378 ················move:·this.move, 
13379 ················zoomend:·this.zoomEnd, 
13380 ················changelayer:·this.changeLayer, 
13381 ················addlayer:·this.addLayer, 
13382 ················preremovelayer:·this.removeLayer, 
13383 ················scope:·this 
13384 ············}) 
13385 ········} 
13386 ········delete·this.tileQueue[map.id]; 
13387 ········delete·this.tileQueueId[map.id]; 
13388 ········OpenLayers.Util.removeItem(this.maps,·map) 
13389 ····}, 
13390 ····move:·function(evt)·{ 
13391 ········this.updateTimeout(evt.object,·this.moveDelay,·true) 
13392 ····}, 
13393 ····zoomEnd:·function(evt)·{ 
13394 ········this.updateTimeout(evt.object,·this.zoomDelay) 
13395 ····}, 
13396 ····changeLayer:·function(evt)·{ 
13397 ········if·(evt.property·===·"visibility"·||·evt.property·===·"params")·{ 
13398 ············this.updateTimeout(evt.object,·0) 
13399 ········} 
13400 ····}, 
13401 ····addLayer:·function(evt)·{ 
13402 ········var·layer·=·evt.layer; 
13403 ········if·(layer·instanceof·OpenLayers.Layer.Grid)·{ 
13404 ············layer.events.on({ 
13405 ················addtile:·this.addTile, 
13406 ················retile:·this.clearTileQueue, 
13407 ················scope:·this 
13408 ············}); 
13409 ············var·i,·j,·tile; 
13410 ············for·(i·=·layer.grid.length·-·1;·i·>=·0;·--i)·{ 
13411 ················for·(j·=·layer.grid[i].length·-·1;·j·>=·0;·--j)·{ 
13412 ····················tile·=·layer.grid[i][j]; 
13413 ····················this.addTile({ 
13414 ························tile:·tile 
13415 ····················}); 
13416 ····················if·(tile.url·&&·!tile.imgDiv)·{ 
13417 ························this.manageTileCache({ 
13418 ····························object:·tile 
13419 ························}) 
13420 ····················} 
13421 ················} 
13422 ············} 
13423 ········} 
13424 ····}, 
13425 ····removeLayer:·function(evt)·{ 
13426 ········var·layer·=·evt.layer; 
13427 ········if·(layer·instanceof·OpenLayers.Layer.Grid)·{ 
13428 ············this.clearTileQueue({ 
13429 ················object:·layer 
13430 ············}); 
13431 ············if·(layer.events)·{ 
13432 ················layer.events.un({ 
13433 ····················addtile:·this.addTile, 
13434 ····················retile:·this.clearTileQueue, 
13435 ····················scope:·this 
13436 ················}) 
13437 ············} 
13438 ············if·(layer.grid)·{ 
13439 ················var·i,·j,·tile; 
Max diff block lines reached; 1846621/1851707 bytes (99.73%) of diff not shown.